Remove once_cell dependency (#800)

* Remove once_cell dependency.

* Add rust-version and set it to 1.70
This commit is contained in:
James Liu 2023-12-16 17:05:24 -08:00 • committed by GitHub
parent 76b04065cf
commit 310160fbbf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 23 additions and 19 deletions

View file

@ -7,6 +7,7 @@ documentation = "https://docs.rs/cpal"
license = "Apache-2.0"
keywords = ["audio", "sound"]
edition = "2021"
rust-version = "1.70"
[features]
asio = ["asio-sys", "num-traits"] # Only available on Windows. See README for setup instructions.
@ -41,7 +42,6 @@ windows = { version = "0.52.0", features = [
asio-sys = { version = "0.2", path = "asio-sys", optional = true }
num-traits = { version = "0.2.6", optional = true }
parking_lot = "0.12"
once_cell = "1.12"
[target.'cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "netbsd"))'.dependencies]
alsa = "0.8"