mirror of
https://codeberg.org/demostf/parser.git
synced 2026-06-03 10:14:06 +02:00
wip
This commit is contained in:
parent
4bd97e4afc
commit
1fed4d8826
6 changed files with 247 additions and 25 deletions
10
Cargo.toml
10
Cargo.toml
|
|
@ -44,6 +44,11 @@ path = "src/bin/strings.rs"
|
|||
name = "direct_hits"
|
||||
path = "src/bin/direct_hits.rs"
|
||||
|
||||
[[bin]]
|
||||
name = "voice"
|
||||
path = "src/bin/voice.rs"
|
||||
required-features = ["audio"]
|
||||
|
||||
[dependencies]
|
||||
bitbuffer = { version = "0.11.0", features = ["serde"] }
|
||||
num_enum = "0.7.2"
|
||||
|
|
@ -77,10 +82,15 @@ tempfile = { version = "3", optional = true }
|
|||
lazy_static = { version = "1", optional = true }
|
||||
prettyplease = { version = "0.2", optional = true }
|
||||
|
||||
# audio
|
||||
opus = { version = "0.3.0", optional = true }
|
||||
hound = { version = "3.5.1", optional = true }
|
||||
|
||||
[features]
|
||||
schema = ["schemars", "bitbuffer/schemars"]
|
||||
trace = ["tracing", "tracing-subscriber"]
|
||||
codegen = ["better-panic", "quote", "syn", "Inflector", "proc-macro2", "tempfile", "lazy_static", "prettyplease"]
|
||||
audio = ["dep:opus", "dep:hound"]
|
||||
|
||||
[dev-dependencies]
|
||||
pretty_assertions = "1.4.0"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue