1
0
Fork 0
mirror of https://github.com/alemidev/scope-tui.git synced 2024-11-10 00:49:20 +01:00

chore: fix features

This commit is contained in:
əlemi 2024-03-18 03:41:40 +01:00
parent 771987063d
commit 155a5df67d
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -16,16 +16,16 @@ clap = { version = "4.0.32", features = ["derive"] }
derive_more = "0.99.17"
thiserror = "1.0.48"
rustfft = "6.1.0"
cpal = "0.15.3"
# for TUI backend
ratatui = { version = "0.26", features = ["all-widgets"], optional = true }
crossterm = { version = "0.27", optional = true }
# for pulseaudio
libpulse-binding = { version = "2.0", optional = true }
libpulse-simple-binding = { version = "2.25", optional = true }
cpal = "0.15.3"
[features]
default = ["tui", "pulseaudio"]
default = ["tui"]
tui = ["dep:ratatui", "dep:crossterm"]
pulseaudio = ["dep:libpulse-binding", "dep:libpulse-simple-binding"]