mirror of
https://github.com/alemidev/scope-tui.git
synced 2024-11-23 14:14:48 +01:00
chore: fix features
This commit is contained in:
parent
771987063d
commit
155a5df67d
1 changed files with 2 additions and 2 deletions
|
@ -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"]
|
||||
|
||||
|
|
Loading…
Reference in a new issue