rlx-aec 0.2.11

Acoustic echo cancellation (FDAF-NLMS + RLX residual suppression) at 16 kHz
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.87"
name = "rlx-aec"
version = "0.2.11"
authors = [
    "Eugene Hauptmann",
    "Nataliya Kosmyna",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Acoustic echo cancellation (FDAF-NLMS + RLX residual suppression) at 16 kHz"
readme = "README.md"
keywords = [
    "ml",
    "tensor",
    "compiler",
    "neural-network",
]
categories = [
    "science",
    "algorithms",
]
license = "GPL-3.0-only"
repository = "https://github.com/MIT-RLX/rlx-models"
resolver = "2"

[features]
all-backends = [
    "metal",
    "mlx",
    "cuda",
    "rocm",
    "gpu",
    "vulkan",
]
amd-gpu = ["rocm"]
apple-silicon = [
    "metal",
    "mlx",
    "gpu",
]
cuda = ["rlx-runtime/cuda"]
default = ["residual"]
gpu = ["rlx-runtime/gpu"]
metal = ["rlx-runtime/metal"]
mlx = ["rlx-runtime/mlx"]
nvidia-gpu = ["cuda"]
portable-gpu = ["gpu"]
residual = []
rlx-compile = [
    "dep:rlx-core",
    "dep:rlx-ir",
    "dep:rlx-flow",
]
rocm = ["rlx-runtime/rocm"]
vulkan = ["rlx-runtime/vulkan"]

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

[[bin]]
name = "rlx-aec"
path = "src/bin/rlx_aec.rs"

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

[[test]]
name = "fdaf_parity"
path = "tests/fdaf_parity.rs"

[[test]]
name = "synthetic_echo"
path = "tests/synthetic_echo.rs"

[[test]]
name = "whisper_e2e"
path = "tests/whisper_e2e.rs"

[dependencies.anyhow]
version = "1"

[dependencies.rlx-cli]
version = "0.2.11"

[dependencies.rlx-core]
version = "0.2.11"
optional = true
package = "rlx-models-core"

[dependencies.rlx-fft]
version = "0.2.11"

[dependencies.rlx-flow]
version = "=0.2.11"
optional = true

[dependencies.rlx-ir]
version = "=0.2.11"
optional = true

[dependencies.rlx-runtime]
version = "=0.2.11"
features = ["cpu"]
default-features = false

[dependencies.safetensors]
version = "0.7"

[dependencies.serde]
version = "1"
features = [
    "derive",
    "derive",
]

[dependencies.serde_json]
version = "1"

[dev-dependencies.fdaf-aec]
version = "0.1.0"

[dev-dependencies.rlx-whisper]
version = "0.2.11"
features = ["tokenizer"]

[lints.clippy]
large_enum_variant = "allow"
manual_range_contains = "allow"
needless_range_loop = "allow"
too_many_arguments = "allow"
type_complexity = "allow"
upper_case_acronyms = "allow"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.rust.unused]
level = "warn"
priority = 0