denoize 0.16.0

Pure-Rust audio denoiser with classical DSP and optional RNNoise
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 = "2021"
rust-version = "1.85"
name = "denoize"
version = "0.16.0"
authors = ["KAORU <133386210+penguin425@users.noreply.github.com>"]
build = false
include = [
    "Cargo.toml",
    "Cargo.crates-io.toml",
    "Cargo.lock",
    "LICENSE",
    "README.md",
    "THIRD_PARTY.md",
    "src/**/*.rs",
    "examples/**/*.rs",
    "scripts/export-mpsenet.py",
    "scripts/validate-mpsenet.py",
    "scripts/export-bsrnn.py",
    "scripts/export-mossformer2.py",
    "scripts/validate-mossformer2.py",
    "scripts/validate-bsrnn.py",
    "scripts/export-sgmse.py",
    "scripts/validate-sgmse.py",
    "scripts/generate-cli-docs.sh",
    "docs/cli.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure-Rust audio denoiser with classical DSP and optional RNNoise"
homepage = "https://github.com/penguin425/denoize"
documentation = "https://docs.rs/denoize"
readme = "README.md"
keywords = [
    "audio",
    "denoise",
    "dsp",
    "stft",
    "noise-reduction",
]
categories = [
    "multimedia::audio",
    "science",
]
license = "MIT"
repository = "https://github.com/penguin425/denoize"

[package.metadata.docs.rs]
features = [
    "rnnoise",
    "mpsenet",
    "bsrnn",
    "mossformer2",
    "sgmse",
    "gtcrn",
]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
bsrnn = [
    "onnx",
    "dep:rustfft",
]
default = []
full = [
    "rnnoise",
    "onnx",
    "mpsenet",
    "bsrnn",
    "mossformer2",
    "sgmse",
    "gtcrn",
]
gtcrn = [
    "onnx",
    "dep:rustfft",
]
mossformer2 = [
    "onnx",
    "dep:rustfft",
    "dep:kaldi-native-fbank",
]
mpsenet = [
    "onnx",
    "dep:rustfft",
]
onnx = ["dep:tract-onnx"]
rnnoise = ["dep:nnnoiseless"]
sgmse = [
    "onnx",
    "dep:rustfft",
]

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

[[bin]]
name = "denoize"
path = "src/main.rs"

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

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

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

[dependencies.claxon]
version = "0.4.3"

[dependencies.ctrlc]
version = "3.4.5"

[dependencies.ebur128]
version = "0.1.10"

[dependencies.flacenc]
version = "0.5.1"

[dependencies.hound]
version = "3.5"

[dependencies.kaldi-native-fbank]
version = "0.1.0"
optional = true

[dependencies.lofty]
version = "0.24.0"

[dependencies.mp4]
version = "0.14.0"

[dependencies.nanomp3]
version = "0.1.1"

[dependencies.nnnoiseless]
version = "0.5.2"
optional = true
default-features = false

[dependencies.ogg]
version = "0.9.2"

[dependencies.opus]
version = "0.3.1"

[dependencies.oxideav-aac]
version = "0.1.6"

[dependencies.rayon]
version = "1.11.0"

[dependencies.rubato]
version = "0.16.2"

[dependencies.rustfft]
version = "6.4"
optional = true

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.sha2]
version = "0.10.9"

[dependencies.shine-rs]
version = "0.1.3"

[dependencies.symphonia]
version = "0.6.0"
features = [
    "aiff",
    "caf",
    "ogg",
    "vorbis",
    "alac",
    "isomp4",
    "pcm",
]
default-features = false

[dependencies.toml]
version = "0.8"

[dependencies.tract-onnx]
version = "0.22.3"
optional = true

[dependencies.ureq]
version = "2.12.1"
features = ["tls"]

[dev-dependencies.prost]
version = "0.11"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ['cfg(feature, values("deepfilter", "live", "m4a-encode", "fdk-aac-encoder", "onnx", "mpsenet", "bsrnn", "mossformer2", "sgmse", "gtcrn"))']

[profile.dev]
opt-level = 1

[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"
strip = true