53 lines
2.2 KiB
TOML
53 lines
2.2 KiB
TOML
[package]
|
|
name = "audio-logger"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
cpal= { version = "0.13.5", features = ["jack"] }
|
|
anyhow = "1.0.61"
|
|
clap = "3.2.17"
|
|
hound = "3.4.0"
|
|
|
|
|
|
[target.'cfg(target_os = "android")'.dev-dependencies]
|
|
ndk-glue = "0.7"
|
|
|
|
[target.'cfg(target_os = "windows")'.dependencies]
|
|
windows = { version = "0.37", features = ["Win32_Media_Audio", "Win32_Foundation", "Win32_System_Com", "Win32_Devices_Properties", "Win32_Media_KernelStreaming", "Win32_System_Com_StructuredStorage", "Win32_System_Ole", "Win32_System_Threading", "Win32_Security", "Win32_System_SystemServices", "Win32_System_WindowsProgramming", "Win32_Media_Multimedia", "Win32_UI_Shell_PropertiesSystem"]}
|
|
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"))'.dependencies]
|
|
alsa = "0.6"
|
|
nix = "0.23"
|
|
libc = "0.2.65"
|
|
parking_lot = "0.12"
|
|
jack = { version = "0.9", 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.
|
|
mach = "0.3" # For access to mach_timebase type.
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
coreaudio-rs = { version = "0.10", default-features = false, features = ["audio_unit", "core_audio"] }
|
|
|
|
[target.'cfg(target_os = "ios")'.dependencies]
|
|
coreaudio-rs = { version = "0.10", default-features = false, features = ["audio_unit", "core_audio", "audio_toolbox"] }
|
|
|
|
[target.'cfg(target_os = "emscripten")'.dependencies]
|
|
stdweb = { version = "0.1.3", default-features = false }
|
|
|
|
[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dependencies]
|
|
wasm-bindgen = { version = "0.2.58", optional = true }
|
|
js-sys = { version = "0.3.35" }
|
|
web-sys = { version = "0.3.35", features = [ "AudioContext", "AudioContextOptions", "AudioBuffer", "AudioBufferSourceNode", "AudioNode", "AudioDestinationNode", "Window", "AudioContextState"] }
|
|
|
|
[target.'cfg(target_os = "android")'.dependencies]
|
|
oboe = { version = "0.4", features = [ "java-interface" ] }
|
|
ndk = "0.7"
|
|
ndk-context = "0.1"
|
|
jni = "0.19" |