inhouse pty

This commit is contained in:
stjet
2025-04-30 04:50:11 +00:00
parent 724ffbd494
commit c1afd3f33e
15 changed files with 82 additions and 15 deletions

View File

@@ -9,7 +9,7 @@ default-run = "ming"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[workspace]
members = [ "wm", "wm/linux" ]
members = [ "wm", "linux" ]
[build-dependencies]
bmp-rust = "0.5.0"
@@ -18,16 +18,16 @@ bitcoin_hashes = { version = "0.16.0", default-features = false }
[dependencies]
ming-wm-lib = { path = "ming-wm-lib" }
wm = { path = "wm", optional = true }
linux = { path = "linux", optional = true }
rodio = { version = "0.19.0", default-features = false, features = [ "flac", "mp3", "symphonia-vorbis", "wav" ], optional = true }
rand = { version = "0.9.0", default-features = false, features = [ "small_rng" ], optional = true }
id3 = { version = "1.10.0", optional = true }
mp4ameta = { version = "0.11.0", optional = true }
metaflac = { version = "0.2.5", optional = true }
pty-process = { version = "0.5.1", optional = true }
[features]
default = [ "wm", "terminal" ]
terminal = [ "pty-process" ]
terminal = [ "linux" ]
audio_player = [ "id3", "mp4ameta", "metaflac", "rand", "rodio" ]
[profile.release]