mirror of
https://github.com/alemidev/scope-tui.git
synced 2024-11-12 17:59:19 +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"
|
derive_more = "0.99.17"
|
||||||
thiserror = "1.0.48"
|
thiserror = "1.0.48"
|
||||||
rustfft = "6.1.0"
|
rustfft = "6.1.0"
|
||||||
|
cpal = "0.15.3"
|
||||||
# for TUI backend
|
# for TUI backend
|
||||||
ratatui = { version = "0.26", features = ["all-widgets"], optional = true }
|
ratatui = { version = "0.26", features = ["all-widgets"], optional = true }
|
||||||
crossterm = { version = "0.27", optional = true }
|
crossterm = { version = "0.27", optional = true }
|
||||||
# for pulseaudio
|
# for pulseaudio
|
||||||
libpulse-binding = { version = "2.0", optional = true }
|
libpulse-binding = { version = "2.0", optional = true }
|
||||||
libpulse-simple-binding = { version = "2.25", optional = true }
|
libpulse-simple-binding = { version = "2.25", optional = true }
|
||||||
cpal = "0.15.3"
|
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["tui", "pulseaudio"]
|
default = ["tui"]
|
||||||
tui = ["dep:ratatui", "dep:crossterm"]
|
tui = ["dep:ratatui", "dep:crossterm"]
|
||||||
pulseaudio = ["dep:libpulse-binding", "dep:libpulse-simple-binding"]
|
pulseaudio = ["dep:libpulse-binding", "dep:libpulse-simple-binding"]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue