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 commit84497dbbdad45f8af8b8ef88d20823193023e0a0Parent: 915c4622 changed files +1 -47
- Cargo.lock +0 -35
- crates/ec-opus/Cargo.toml +1 -12
Cargo.lockmodified+0 -35
| @@ -274,16 +274,6 @@ version = "0.10.3" | ||
| 274 | 274 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| 275 | 275 | checksum = "be95d4a884358a21a199689323c29e9256b4a1b315e22f183d155422041d3a9a" |
| 276 | 276 | |
| 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 | - | |
| 287 | 277 | [[package]] |
| 288 | 278 | name = "cpufeatures" |
| 289 | 279 | version = "0.3.1" |
| @@ -703,14 +693,11 @@ dependencies = [ | ||
| 703 | 693 | name = "ec-opus" |
| 704 | 694 | version = "0.1.0" |
| 705 | 695 | dependencies = [ |
| 706 | - "cpu-time", | |
| 707 | 696 | "ec-core", |
| 708 | 697 | "ec-dsp", |
| 709 | 698 | "ec-ogg", |
| 710 | 699 | "ec-testkit", |
| 711 | 700 | "rustfft", |
| 712 | - "tracking-allocator", | |
| 713 | - "wide", | |
| 714 | 701 | ] |
| 715 | 702 | |
| 716 | 703 | [[package]] |
| @@ -2160,28 +2147,6 @@ dependencies = [ | ||
| 2160 | 2147 | "safe_arch", |
| 2161 | 2148 | ] |
| 2162 | 2149 | |
| 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 | - | |
| 2185 | 2150 | [[package]] |
| 2186 | 2151 | name = "winarm-cpufeatures" |
| 2187 | 2152 | version = "0.1.2" |
crates/ec-opus/Cargo.tomlmodified+1 -12
| @@ -8,20 +8,9 @@ authors.workspace = true | ||
| 8 | 8 | |
| 9 | 9 | [dependencies] |
| 10 | 10 | 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 } | |
| 17 | 12 | |
| 18 | 13 | [dev-dependencies] |
| 19 | 14 | ec-testkit.workspace = true |
| 20 | 15 | ec-dsp.workspace = true |
| 21 | 16 | 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"] |