# 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 = "2018" name = "nnnoiseless" version = "0.5.1" authors = ["Joe Neeman "] exclude = ["test_data/*"] autobenches = false default-run = "nnnoiseless" description = "Audio denoising, derived from Xiph's RNNoise library" readme = "README.md" license = "BSD-3-Clause" repository = "https://github.com/jneem/nnnoiseless" [package.metadata.capi] header_name = "rnnoise" [lib] bench = false [[bin]] name = "nnnoiseless" path = "src/nnnoiseless.rs" bench = false required-features = ["bin"] [[bin]] name = "train" path = "src/training.rs" bench = false required-features = ["train"] [[bench]] name = "sin" harness = false [dependencies.anyhow] version = "1.0.55" optional = true [dependencies.clap] version = "3.1.1" features = ["cargo"] optional = true [dependencies.dasp] version = "0.11.0" features = ["signal"] optional = true [dependencies.dasp_interpolate] version = "0.11.0" features = ["sinc"] optional = true [dependencies.dasp_ring_buffer] version = "0.11.0" optional = true [dependencies.glob] version = "0.3.0" optional = true [dependencies.hdf5] version = "0.8.1" optional = true [dependencies.hound] version = "3.4.0" optional = true [dependencies.libc] version = "0.2.119" optional = true [dependencies.ndarray] version = "0.15.4" optional = true [dependencies.once_cell] version = "1.9.0" [dependencies.rand] version = "0.8.5" optional = true [dependencies.rustfft] version = "6.0.1" [dev-dependencies.assert_cmd] version = "2.0.4" [dev-dependencies.assert_fs] version = "1.0.7" [dev-dependencies.criterion] version = "0.3.5" [dev-dependencies.predicates] version = "2.1.1" [dev-dependencies.static_assertions] version = "1.1.0" [features] bin = [ "anyhow", "clap", "dasp_interpolate", "dasp_ring_buffer", "hound", ] capi = ["libc"] default = [ "bin", "dasp", ] train = [ "anyhow", "clap", "glob", "hdf5", "hound", "ndarray", "rand", ]