-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCargo.toml
More file actions
62 lines (56 loc) · 1.9 KB
/
Copy pathCargo.toml
File metadata and controls
62 lines (56 loc) · 1.9 KB
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
[package]
name = "decibri-aec"
version = "0.2.0"
edition = "2021"
rust-version = "1.88"
license = "Apache-2.0"
description = "Streaming acoustic echo cancellation for mono f32 audio."
repository = "https://github.com/decibri/decibri-aec"
readme = "README.md"
keywords = ["audio", "echo-cancellation", "aec", "dsp", "adaptive-filter"]
categories = ["multimedia::audio"]
include = [
"/src/**",
# The crate-internal reference canceller and its golden-pair suite are
# `cfg(all(test, feature = "internal-tests"))` and never compile into a
# consumer build, so they are not shipped.
"!/src/golden.rs",
"!/src/rho.rs",
"/tests/**",
"/examples/cancel.rs",
"/examples/shared/**",
"/README.md",
"/CHANGELOG.md",
"/LICENSE",
]
[package.metadata.docs.rs]
all-features = true
[features]
# Forwards the diagnostic emit sites to `tracing`. Off by default: a default
# build has no dependency on `tracing` and the emit sites compile to nothing.
tracing = ["dep:tracing"]
# Compiles the crate-internal reference canceller and the golden-pair suite that
# validates the pipeline against it into test builds. INTERNAL: it adds no
# public API and nothing for a consumer to enable. The full test suite runs with
# it on.
internal-tests = []
[dependencies]
thiserror = "2"
tracing = { version = "0.1", default-features = false, features = ["std"], optional = true }
[dev-dependencies]
# WAV read/write for the bench harness example only; never in the shipped
# library. Pure Rust, permissively licensed (Apache-2.0).
hound = "3.5"
criterion = "0.8"
# Input-rate conversion for the bench harness example only; never in the
# shipped library.
decibri-resampler = "0.4"
[[bench]]
name = "tau"
harness = false
# The benchmark example carries regression tests for its resampling and
# triplet contract; test = true has `cargo test` run them.
[[example]]
name = "benchmark"
path = "examples/benchmark/main.rs"
test = true