forge
Explore
Log in

Don't you dare go Hollow

U8: ec-opus drop unused deps (wide, cpu-time, tracking-allocator), the fft-rustfft feature (rustfft is plain, default-features off as before) and the duplicate ec-dsp dependency

Browse files at this commit

84497dbbdad45f8af8b8ef88d20823193023e0a0Ahmet Kaan GümüşParent: 915c462
Cargo.lockmodified+0 -35
@@ -274,16 +274,6 @@ version = "0.10.3"
274274 source = "registry+https://github.com/rust-lang/crates.io-index"
275275 checksum = "be95d4a884358a21a199689323c29e9256b4a1b315e22f183d155422041d3a9a"
276276
277-[[package]]
278-name = "cpu-time"
279-version = "1.0.0"
280-source = "registry+https://github.com/rust-lang/crates.io-index"
281-checksum = "e9e393a7668fe1fad3075085b86c781883000b4ede868f43627b34a87c8b7ded"
282-dependencies = [
283- "libc",
284- "winapi",
285-]
286-
287277 [[package]]
288278 name = "cpufeatures"
289279 version = "0.3.1"
@@ -703,14 +693,11 @@ dependencies = [
703693 name = "ec-opus"
704694 version = "0.1.0"
705695 dependencies = [
706- "cpu-time",
707696 "ec-core",
708697 "ec-dsp",
709698 "ec-ogg",
710699 "ec-testkit",
711700 "rustfft",
712- "tracking-allocator",
713- "wide",
714701 ]
715702
716703 [[package]]
@@ -2160,28 +2147,6 @@ dependencies = [
21602147 "safe_arch",
21612148 ]
21622149
2163-[[package]]
2164-name = "winapi"
2165-version = "0.3.9"
2166-source = "registry+https://github.com/rust-lang/crates.io-index"
2167-checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
2168-dependencies = [
2169- "winapi-i686-pc-windows-gnu",
2170- "winapi-x86_64-pc-windows-gnu",
2171-]
2172-
2173-[[package]]
2174-name = "winapi-i686-pc-windows-gnu"
2175-version = "0.4.0"
2176-source = "registry+https://github.com/rust-lang/crates.io-index"
2177-checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
2178-
2179-[[package]]
2180-name = "winapi-x86_64-pc-windows-gnu"
2181-version = "0.4.0"
2182-source = "registry+https://github.com/rust-lang/crates.io-index"
2183-checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
2184-
21852150 [[package]]
21862151 name = "winarm-cpufeatures"
21872152 version = "0.1.2"
crates/ec-opus/Cargo.tomlmodified+1 -12
@@ -8,20 +8,9 @@ authors.workspace = true
88
99 [dependencies]
1010 ec-core.workspace = true
11-ec-dsp.workspace = true
12-wide.workspace = true
13-# Optional FFT backend (pure Rust, runtime-detected AVX kernels, no C): the
14-# family stays dependency-free without it (`--no-default-features`); the
15-# speed bench pulls it in behind `fft-rustfft`.
16-rustfft = { version = "6", optional = true, default-features = false }
11+rustfft = { version = "6", default-features = false }
1712
1813 [dev-dependencies]
1914 ec-testkit.workspace = true
2015 ec-dsp.workspace = true
2116 ec-ogg.workspace = true
22-cpu-time = "1.0.0"
23-tracking-allocator = "0.4.0"
24-
25-[features]
26-default = ["fft-rustfft"]
27-fft-rustfft = ["dep:rustfft"]