diff --git a/Cargo.lock b/Cargo.lock index 14b61940..70a1d0c2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -274,16 +274,6 @@ version = "0.10.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "be95d4a884358a21a199689323c29e9256b4a1b315e22f183d155422041d3a9a" -[[package]] -name = "cpu-time" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e9e393a7668fe1fad3075085b86c781883000b4ede868f43627b34a87c8b7ded" -dependencies = [ - "libc", - "winapi", -] - [[package]] name = "cpufeatures" version = "0.3.1" @@ -703,14 +693,11 @@ dependencies = [ name = "ec-opus" version = "0.1.0" dependencies = [ - "cpu-time", "ec-core", "ec-dsp", "ec-ogg", "ec-testkit", "rustfft", - "tracking-allocator", - "wide", ] [[package]] @@ -2160,28 +2147,6 @@ dependencies = [ "safe_arch", ] -[[package]] -name = "winapi" -version = "0.3.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" -dependencies = [ - "winapi-i686-pc-windows-gnu", - "winapi-x86_64-pc-windows-gnu", -] - -[[package]] -name = "winapi-i686-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" - -[[package]] -name = "winapi-x86_64-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" - [[package]] name = "winarm-cpufeatures" version = "0.1.2" diff --git a/crates/ec-opus/Cargo.toml b/crates/ec-opus/Cargo.toml index 5c672854..3507b3a0 100644 --- a/crates/ec-opus/Cargo.toml +++ b/crates/ec-opus/Cargo.toml @@ -8,20 +8,9 @@ authors.workspace = true [dependencies] ec-core.workspace = true -ec-dsp.workspace = true -wide.workspace = true -# Optional FFT backend (pure Rust, runtime-detected AVX kernels, no C): the -# family stays dependency-free without it (`--no-default-features`); the -# speed bench pulls it in behind `fft-rustfft`. -rustfft = { version = "6", optional = true, default-features = false } +rustfft = { version = "6", default-features = false } [dev-dependencies] ec-testkit.workspace = true ec-dsp.workspace = true ec-ogg.workspace = true -cpu-time = "1.0.0" -tracking-allocator = "0.4.0" - -[features] -default = ["fft-rustfft"] -fft-rustfft = ["dep:rustfft"]