[package]
edition = "2021"
rust-version = "1.85"
name = "audio-plugin-bsd"
version = "0.1.1"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Dynamic .so audio-plugin loader with ABI verification and FreeBSD Capsicum/pdfork per-process sandboxing for real-time audio in Rust"
readme = "README.md"
keywords = [
"audio",
"freebsd",
"real-time",
"plugin",
"dsp",
]
categories = ["multimedia::audio"]
license = "BSD-2-Clause"
repository = "https://github.com/IT-Whistle/audio-plugin-bsd"
[package.metadata.docs.rs]
all-features = true
targets = [
"x86_64-unknown-freebsd",
"x86_64-unknown-linux-gnu",
]
rustdoc-args = [
"--cfg",
"docsrs",
]
[lib]
name = "audio_plugin_bsd"
path = "src/lib.rs"
[[example]]
name = "test_plugin"
crate-type = ["cdylib"]
path = "examples/test_plugin.rs"
[[test]]
name = "load_lifecycle"
path = "tests/load_lifecycle.rs"
[[test]]
name = "registry_property"
path = "tests/registry_property.rs"
[[test]]
name = "sandbox_isolation_freebsd"
path = "tests/sandbox_isolation_freebsd.rs"
[[bench]]
name = "loader_latency"
path = "benches/loader_latency.rs"
harness = false
[dependencies.audio-core-bsd]
version = "0.1.0"
[dependencies.libc]
version = "0.2"
[dependencies.libloading]
version = "0.9"
[dependencies.thiserror]
version = "2.0"
[dev-dependencies.criterion]
version = "0.5"
[dev-dependencies.proptest]
version = "1.11.0"
[target.'cfg(target_os = "freebsd")'.dependencies.capsicum]
version = "0.4.5"
[target.'cfg(target_os = "freebsd")'.dependencies.pdfork]
version = "0.1.1"