-
Notifications
You must be signed in to change notification settings - Fork 18
/
Cargo.toml
64 lines (55 loc) · 1.72 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
[package]
name = "nnnoiseless"
version = "0.5.1"
authors = ["Joe Neeman <[email protected]>"]
edition = "2018"
license = "BSD-3-Clause"
readme = "README.md"
repository = "https://github.com/jneem/nnnoiseless"
description = "Audio denoising, derived from Xiph's RNNoise library"
autobenches = false
exclude = [ "test_data/*" ]
default-run = "nnnoiseless"
[features]
default = ["bin", "dasp"]
bin = ["anyhow", "clap", "dasp_interpolate", "dasp_ring_buffer", "hound"]
capi = ["libc"]
train = ["anyhow", "clap", "glob", "hdf5", "hound", "ndarray", "rand"]
[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 }
clap = { version = "3.1.1", features = ["cargo"], optional = true }
dasp = { version = "0.11.0", features = ["signal"], optional = true }
dasp_interpolate = { version = "0.11.0", features = ["sinc"], optional = true }
dasp_ring_buffer = { version = "0.11.0", optional = true }
easyfft = "0.3.3"
glob = { version = "0.3.0", optional = true }
hdf5 = { git = "https://github.com/aldanor/hdf5-rust.git", optional = true }
hound = { version = "3.4.0", optional = true }
libc = { version = "0.2.119", optional = true }
# This needs to be in sync with the version from hdf5; they don't re-export it.
ndarray = { version = "0.15.4", optional = true }
once_cell = "1.9.0"
rand = { version = "0.8.5", optional = true }
[dev-dependencies]
assert_cmd = "2.0.4"
assert_fs = "1.0.7"
criterion = "0.3.5"
predicates = "2.1.1"
static_assertions = "1.1.0"
[package.metadata.capi]
header_name = "rnnoise"