Bump linux deps, simplify examples, remove nix dep (#712)

* bump linux dependencies, dev-dependencies, anyhow, hound, ringbuf

* update to clap v4 and simplify examples with clap_derive

* have libjack installed when running with --all-features

* don't force the patch version for libc

* allow room for version resolution with nix

* nix dependency not used anymore, remove it
This commit is contained in:
mbodmer 2022-10-23 20:59:45 +02:00 • committed by GitHub
parent 4b49fbd259
commit 97fc4edb8b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 55 additions and 191 deletions

View file

@ -13,14 +13,14 @@ edition = "2021"
asio = ["asio-sys", "num-traits"] # Only available on Windows. See README for setup instructions.
[dependencies]
thiserror = "1.0.2"
dasp_sample = "0.11.0"
thiserror = "1.0"
dasp_sample = "0.11"
[dev-dependencies]
anyhow = "1.0.12"
hound = "3.4"
ringbuf = "0.2"
clap = { version = "3.1", default-features = false, features = ["std"] }
anyhow = "1.0"
hound = "3.5"
ringbuf = "0.3"
clap = { version = "4.0", features = ["derive"] }
[target.'cfg(target_os = "android")'.dev-dependencies]
ndk-glue = "0.7"
@ -34,10 +34,9 @@ once_cell = "1.12"
[target.'cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "netbsd"))'.dependencies]
alsa = "0.6"
nix = "0.25"
libc = "0.2.65"
libc = "0.2"
parking_lot = "0.12"
jack = { version = "0.9", optional = true }
jack = { version = "0.10", optional = true }
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies]
core-foundation-sys = "0.8.2" # For linking to CoreFoundation.framework and handling device name `CFString`s.