Feat: clean the codebase as much as possible
This commit is contained in:
17
Cargo.toml
17
Cargo.toml
@@ -34,12 +34,13 @@ path = "src/bin/desktop/main.rs"
|
||||
required-features = ["desktop"]
|
||||
|
||||
[features]
|
||||
default = []
|
||||
block-renderer = ["dep:soft_ratatui", "dep:rustc-hash"]
|
||||
default = ["cli"]
|
||||
cli = ["dep:cpal", "dep:midir", "dep:confy", "dep:clap", "dep:thread-priority"]
|
||||
block-renderer = ["dep:soft_ratatui", "dep:rustc-hash", "dep:egui"]
|
||||
desktop = [
|
||||
"cli",
|
||||
"block-renderer",
|
||||
"cagire-forth/desktop",
|
||||
"dep:egui",
|
||||
"dep:eframe",
|
||||
"dep:egui_ratatui",
|
||||
"dep:image",
|
||||
@@ -54,8 +55,8 @@ doux = { git = "https://github.com/Bubobubobubobubo/doux", features = ["native"]
|
||||
rusty_link = "0.4"
|
||||
ratatui = "0.30"
|
||||
crossterm = "0.29"
|
||||
cpal = { version = "0.17", features = ["jack"] }
|
||||
clap = { version = "4", features = ["derive"] }
|
||||
cpal = { version = "0.17", features = ["jack"], optional = true }
|
||||
clap = { version = "4", features = ["derive"], optional = true }
|
||||
rand = "0.8"
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
serde_json = "1"
|
||||
@@ -64,12 +65,12 @@ tui-big-text = "0.8"
|
||||
arboard = "3"
|
||||
minimad = "0.13"
|
||||
crossbeam-channel = "0.5"
|
||||
confy = "2"
|
||||
confy = { version = "2", optional = true }
|
||||
rustfft = "6"
|
||||
thread-priority = "1"
|
||||
thread-priority = { version = "1", optional = true }
|
||||
ringbuf = "0.4"
|
||||
arc-swap = "1"
|
||||
midir = "0.10"
|
||||
midir = { version = "0.10", optional = true }
|
||||
parking_lot = "0.12"
|
||||
libc = "0.2"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user