2014-12-11 13:22:55 +00:00
|
|
|
[package]
|
|
|
|
name = "cpal"
|
2019-07-05 17:29:47 +00:00
|
|
|
version = "0.10.0"
|
2016-08-12 15:51:15 +00:00
|
|
|
authors = ["The CPAL contributors", "Pierre Krieger <pierre.krieger1708@gmail.com>"]
|
2019-07-05 17:29:47 +00:00
|
|
|
description = "Low-level cross-platform audio I/O library in pure Rust."
|
2014-12-16 18:02:53 +00:00
|
|
|
repository = "https://github.com/tomaka/cpal"
|
2016-10-01 08:30:38 +00:00
|
|
|
documentation = "https://docs.rs/cpal"
|
2014-12-16 18:02:53 +00:00
|
|
|
license = "Apache-2.0"
|
2014-12-11 16:59:05 +00:00
|
|
|
keywords = ["audio", "sound"]
|
2014-12-11 13:22:55 +00:00
|
|
|
|
2019-06-28 20:08:35 +00:00
|
|
|
[features]
|
|
|
|
asio = ["asio-sys"] # Only available on Windows. See README for setup instructions.
|
|
|
|
|
2015-02-12 12:56:30 +00:00
|
|
|
[dependencies]
|
2019-06-07 19:04:08 +00:00
|
|
|
failure = "0.1.5"
|
2019-06-06 05:49:49 +00:00
|
|
|
lazy_static = "1.3"
|
2018-11-01 06:58:50 +00:00
|
|
|
num-traits = "0.2.6"
|
2017-02-07 13:41:42 +00:00
|
|
|
|
2018-02-12 13:10:24 +00:00
|
|
|
[dev-dependencies]
|
2019-06-06 05:49:49 +00:00
|
|
|
hound = "3.4"
|
2018-02-12 13:10:24 +00:00
|
|
|
|
2017-02-07 13:41:42 +00:00
|
|
|
[target.'cfg(target_os = "windows")'.dependencies]
|
2018-02-12 13:10:24 +00:00
|
|
|
winapi = { version = "0.3", features = ["audiosessiontypes", "audioclient", "coml2api", "combaseapi", "debug", "devpkey", "handleapi", "ksmedia", "mmdeviceapi", "objbase", "std", "synchapi", "winuser"] }
|
2019-06-28 20:08:35 +00:00
|
|
|
asio-sys = { version = "0.1", path = "asio-sys", optional = true }
|
2015-07-04 12:13:15 +00:00
|
|
|
|
2017-02-07 13:41:42 +00:00
|
|
|
[target.'cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "openbsd"))'.dependencies]
|
|
|
|
alsa-sys = { version = "0.1", path = "alsa-sys" }
|
2017-10-19 10:44:14 +00:00
|
|
|
libc = "0.2"
|
2017-01-19 13:51:50 +00:00
|
|
|
|
2017-10-10 16:24:53 +00:00
|
|
|
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies]
|
2019-06-04 17:47:50 +00:00
|
|
|
coreaudio-rs = { version = "0.9.1", default-features = false, features = ["audio_unit", "core_audio"] }
|
|
|
|
core-foundation-sys = "0.6.2" # For linking to CoreFoundation.framework and handling device name `CFString`s.
|
2017-10-22 12:17:25 +00:00
|
|
|
|
|
|
|
[target.'cfg(target_os = "emscripten")'.dependencies]
|
|
|
|
stdweb = { version = "0.1.3", default-features = false }
|