mirror of
https://github.com/alemidev/scope-tui.git
synced 2024-11-13 02:09:20 +01:00
alemi
9378621a26
now requires feature pulseaudio to build libpulse and pulse source. file source is always included. the cli got reworked a little bit but I'm not sure I like it this way, we'll see
29 lines
962 B
TOML
29 lines
962 B
TOML
[package]
|
|
name = "scope-tui"
|
|
version = "0.3.0"
|
|
edition = "2021"
|
|
authors = [ "alemi <me@alemi.dev>" ]
|
|
description = "A simple oscilloscope/vectorscope/spectroscope for your terminal"
|
|
keywords = ["tui", "terminal", "audio", "visualization", "scope", "dashboard", "oscilloscope", "spectroscope"]
|
|
repository = "https://github.com/alemidev/scope-tui"
|
|
readme = "README.md"
|
|
# documentation =
|
|
# license =
|
|
|
|
|
|
[dependencies]
|
|
clap = { version = "4.0.32", features = ["derive"] }
|
|
derive_more = "0.99.17"
|
|
thiserror = "1.0.48"
|
|
rustfft = "6.1.0"
|
|
# for TUI backend
|
|
ratatui = { version = "0.23.0", features = ["all-widgets"], optional = true }
|
|
crossterm = { version = "0.25", optional = true }
|
|
# for pulseaudio
|
|
libpulse-binding = { version = "2.0", optional = true }
|
|
libpulse-simple-binding = { version = "2.25", optional = true }
|
|
|
|
[features]
|
|
default = ["tui"]
|
|
tui = ["dep:ratatui", "dep:crossterm"]
|
|
pulseaudio = ["dep:libpulse-binding", "dep:libpulse-simple-binding"]
|