There does not seem to be any major API breakage, however the emscripten and macos backends have been pretty heavily refactored so I thought it best to bump to 0.6 (rather than 0.5.2) just in case there is any subtle behavioural breakage. Happy to change this to 0.5.2 though if someone can confirm there will be no downstream breakage.
27 lines
884 B
TOML
27 lines
884 B
TOML
[package]
|
|
name = "cpal"
|
|
version = "0.6.0"
|
|
authors = ["The CPAL contributors", "Pierre Krieger <pierre.krieger1708@gmail.com>"]
|
|
description = "Low-level cross-platform audio playing library in pure Rust."
|
|
repository = "https://github.com/tomaka/cpal"
|
|
documentation = "https://docs.rs/cpal"
|
|
license = "Apache-2.0"
|
|
keywords = ["audio", "sound"]
|
|
|
|
[dependencies]
|
|
lazy_static = "0.2"
|
|
|
|
[target.'cfg(target_os = "windows")'.dependencies]
|
|
winapi = "0.2.8"
|
|
ole32-sys = "0.2"
|
|
kernel32-sys = "0.2"
|
|
|
|
[target.'cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "openbsd"))'.dependencies]
|
|
alsa-sys = { version = "0.1", path = "alsa-sys" }
|
|
libc = "0.2"
|
|
|
|
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies]
|
|
coreaudio-rs = "0.7.0"
|
|
|
|
[target.'cfg(target_os = "emscripten")'.dependencies]
|
|
stdweb = { version = "0.1.3", default-features = false }
|