[package] name = "oml-audio" version = "0.8.8-alpha" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html license = "MIT" description = "Very basic, and thin abstraction of audio handling meant for games." readme = "README.md" homepage = "https://github.com/AndreasOM/oml-audio" repository = "https://github.com/AndreasOM/oml-audio" keywords = ["tools", "gamedev"] categories = ["multimedia","game-development"] default-run="oml-audio" [features] # default = [ "use_apple", "use_miniaudio", "use_stub" ] default = [ "use_stub" ] # default = [ "use_apple" ] # default = [ "use_miniaudio" ] # default = [] use_apple = [] use_miniaudio = [ "dep:om-fork-miniaudio", "dep:om-fork-ep-miniaudio-sys", "dep:lewton" ] use_stub = [] [[bin]] name="oml-audio" path="src/oml_audio_main.rs" ##[[bin]] # run with # `cargo +nightly bench --bin=benchmark -v --features=use_miniaudio` ##name="benchmark" ##path="src/benchmark.rs" [dependencies] #miniaudio = { version = "0.10.0", features = [ "ma-no-decoding", "ma-log-level-verbose", "ma-debug-output" ] } #miniaudio = { version = "0.10.0", features = [ "ma-no-decoding", "ma-log-level-verbose" ] } ringbuf = "0.2.6" [dependencies.lewton] version = "0.10.2" optional = true [dependencies.om-fork-miniaudio] version = "0.12.1" features = [ "ma-no-decoding", "ma-log-level-verbose" ] optional = true #path = "../miniaudio-rs/miniaudio" [dependencies.om-fork-ep-miniaudio-sys] version = "2.6.1" optional = true # features = [ "ma-no-decoding", "ma-log-level-verbose" ] # path = "../miniaudio-rs/miniaudio-sys" [build-dependencies] cfg_aliases = "0.1.1" [patch.crates-io] #ep-miniaudio-sys = { git = 'https://github.com/andreasOM/miniaudio-rs/' } #miniaudio = { git = 'https://github.com/andreasOM/miniaudio-rs/' } [target.'cfg(target_os = "macos")'.dependencies] objc = "0.2.7"