-
Notifications
You must be signed in to change notification settings - Fork 16
/
Cargo.toml
100 lines (81 loc) · 2.15 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
[package]
name = "ebur128"
version = "0.1.10"
authors = ["Sebastian Dröge <sebastian@centricular.com>"]
edition = "2018"
categories = ["multimedia"]
keywords = ["multimedia", "audio", "dsp"]
description = "Implementation of the EBU R128 loudness standard"
repository = "https://github.com/sdroege/ebur128"
homepage = "https://github.com/sdroege/ebur128"
license = "MIT"
readme = "README.md"
rust-version = "1.60"
[dependencies]
bitflags = "1.0"
smallvec = "1.0"
dasp_sample = "0.11"
dasp_frame = "0.11"
[build-dependencies]
cc = { version = "1.0", optional = true }
[dev-dependencies]
criterion = "0.4"
float_eq = "1"
ebur128-c = { package = "ebur128", version = "=0.1.1" }
quickcheck = "0.9"
quickcheck_macros = "0.9"
rand = "0.7"
hound = "3"
[features]
internal-tests = []
c-tests = ["cc", "internal-tests"] # and ebur128-c, quickcheck, quickcheck_macros, rand but dev-dependencies can't be optional...
reference-tests = []
capi = []
# Enabling this increases the precision of true-peak calculation slightly, but causes a significant
# performance-hit in the default build-configuration. To avoid the performance-hit, also enable
# `RUSTFLAGS=-C target-feature=+fma`, assuming your platform supports it
precision-true-peak = []
[lib]
name = "ebur128"
[package.metadata.capi]
min_version = "0.9.1"
[package.metadata.capi.header]
name = "ebur128.h"
subdirectory = false
generation = false
[package.metadata.capi.pkg_config]
name = "libebur128"
filename = "libebur128"
description = "EBU R 128 standard for loudness normalisation"
version = "1.2.6"
[package.metadata.capi.library]
name = "ebur128"
version = "1.2.6"
[[bench]]
name = "interp"
harness = false
required-features = ["internal-tests"]
[[bench]]
name = "true_peak"
harness = false
required-features = ["internal-tests"]
[[bench]]
name = "history"
harness = false
required-features = ["internal-tests"]
[[bench]]
name = "filter"
harness = false
required-features = ["internal-tests"]
[[bench]]
name = "calc_gating_block"
harness = false
required-features = ["internal-tests"]
[[bench]]
name = "ebur128"
harness = false
[[test]]
name = "reference_tests"
required-features = ["reference-tests"]
[profile.dev]
opt-level = 1