-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
67 lines (54 loc) · 1.84 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
[package]
name = "oml-audio"
version = "0.8.9-dev"
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"