-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathCargo.toml
More file actions
61 lines (53 loc) · 1.59 KB
/
Copy pathCargo.toml
File metadata and controls
61 lines (53 loc) · 1.59 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
[package]
name = "rubato"
version = "5.0.0"
rust-version = "1.87"
authors = ["HEnquist <henrik.enquist@gmail.com>"]
description = "Asynchronous resampling library intended for audio data"
license = "MIT OR Apache-2.0"
repository = "https://github.com/HEnquist/rubato"
keywords = ["interpolation", "resampling"]
categories = ["multimedia::audio"]
readme = "README.md"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = ["fft_resampler"]
fft_resampler = ["realfft", "num-complex"]
log = ["dep:log"]
bench_asyncro = []
[dependencies]
log = { version = "0.4.18", optional = true }
realfft = { version = "3.5.0", optional = true }
num-complex = { version = "0.4", optional = true }
num-integer = "0.1.45"
num-traits = "0.2"
audioadapter = "5.0"
audioadapter-buffers = "5.1"
visibility = "0.1.1"
windowfunctions = "0.1.1"
[dev-dependencies]
env_logger = "0.11.0"
criterion = "0.8"
rand = "0.10.0"
num-traits = "0.2.15"
log = "0.4.18"
approx = "0.5.1"
test-log = "0.2.16"
test-case = "3"
waveadapter = "0.2"
clap = { version = "4.6", features = ["derive"] }
# Uncomment to build against a local audioadapter checkout instead of the published crates.
#[patch.crates-io]
#audioadapter = { path = "../audioadapter-rs/audioadapter" }
#audioadapter-buffers = { path = "../audioadapter-rs/audioadapter-buffers" }
#audioadapter-sample = { path = "../audioadapter-rs/audioadapter-sample" }
[[bench]]
name = "resamplers"
harness = false
[[example]]
name = "resample_wav"
required-features = ["fft_resampler"]
[lib]
bench = false
path = "src/lib.rs"