[package]
edition = "2024"
rust-version = "1.99"
name = "unityrs-audio"
version = "1.0.0"
authors = ["Scott Benes <scobenes@gmail.com>"]
build = false
include = [
"/src/**",
"/LICENSE-*",
"/NOTICE-*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "AudioClip dispatch, FSB5 parsing and PCM/ADPCM/Vorbis WAV export."
readme = "README.md"
keywords = [
"unity",
"fsb5",
"audioclip",
"wav",
"audio",
]
categories = [
"multimedia::audio",
"game-development",
]
license = "(MIT OR Apache-2.0) AND MIT AND ISC"
repository = "https://github.com/scobenes/unityrs"
[features]
default = ["vorbis"]
vorbis = ["dep:lewton"]
[lib]
name = "unityrs_audio"
path = "src/lib.rs"
[dependencies.lewton]
version = "=0.10.2"
optional = true
default-features = false
[dependencies.thiserror]
version = "=2.0.21"
[dependencies.unityrs-core]
version = "1.0.0"
[dev-dependencies.serde_json]
version = "=1.0.154"
[lints.clippy]
missing_errors_doc = "allow"
module_name_repetitions = "allow"
todo = "forbid"
unimplemented = "forbid"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_op_in_unsafe_fn = "deny"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(unityrs_no_counters)"]