This commit is contained in:
Matthieu Jolimaitre 2025-06-17 14:07:59 +02:00
commit 41ee5c3be8
12 changed files with 841 additions and 0 deletions

29
Cargo.toml Normal file
View file

@ -0,0 +1,29 @@
[package]
name = "fsr"
version = "0.1.0"
edition = "2024"
[lib]
name = "common"
path = "src/common.rs"
[[bin]]
name = "fsr-rec"
path = "src/rec.rs"
required-features = ["notify"]
[[bin]]
name = "fsr-play"
path = "src/play.rs"
[features]
default = ["notify"]
notify = ["dep:inotify"]
[dependencies]
clap = { version = "4.5.40", features = ["derive"] }
ctrlc = "3.4.7"
ron = "0.10.1"
serde = { version = "1.0.219", features = ["derive"] }
tokio = { version = "1.45.1", features = ["full"] }
inotify = { version = "0.11.0", optional = true }