sonora 0.1.0

WebRTC Audio Processing — pure Rust port with echo cancellation, noise suppression, and AGC
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.91"
name = "sonora"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "WebRTC Audio Processing — pure Rust port with echo cancellation, noise suppression, and AGC"
readme = "README.md"
keywords = [
    "audio",
    "webrtc",
    "echo-cancellation",
    "noise-suppression",
    "agc",
]
categories = ["multimedia::audio"]
license = "BSD-3-Clause"
repository = "https://github.com/dignifiedquire/sonora"

[features]
examples = [
    "dep:anyhow",
    "dep:clap",
    "dep:cpal",
    "dep:ctrlc",
    "dep:hound",
    "dep:ringbuf",
]

[lib]
name = "sonora"
path = "src/lib.rs"

[[example]]
name = "karaoke"
path = "examples/karaoke.rs"
required-features = ["examples"]

[[example]]
name = "recording"
path = "examples/recording.rs"
required-features = ["examples"]

[[example]]
name = "simple"
path = "examples/simple.rs"

[[bench]]
name = "pipeline"
path = "benches/pipeline.rs"
harness = false

[dependencies.anyhow]
version = "1"
optional = true

[dependencies.clap]
version = "4"
features = ["derive"]
optional = true

[dependencies.cpal]
version = "0.15"
optional = true

[dependencies.ctrlc]
version = "3"
features = ["termination"]
optional = true

[dependencies.hound]
version = "3"
optional = true

[dependencies.ringbuf]
version = "0.4"
optional = true

[dependencies.sonora-aec3]
version = "0.1.0"

[dependencies.sonora-agc2]
version = "0.1.0"

[dependencies.sonora-common-audio]
version = "0.1.0"

[dependencies.sonora-ns]
version = "0.1.0"

[dependencies.sonora-simd]
version = "0.1.0"

[dependencies.tracing]
version = "0.1"

[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]

[dev-dependencies.sonora-fft]
version = "0.1.0"

[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[lints.clippy]
absolute_paths = "warn"
allow_attributes_without_reason = "warn"
approx_constant = "allow"
excessive_precision = "allow"
manual_let_else = "warn"
mod_module_files = "deny"
or_fun_call = "warn"
unused_async = "warn"
use_self = "warn"

[lints.rust]
elided_lifetimes_in_paths = "warn"
missing_debug_implementations = "warn"
unnameable_types = "warn"
unreachable_pub = "warn"

[lints.rust.unexpected_cfgs]
level = "deny"
priority = 0
check-cfg = ["cfg(docsrs)"]