diff --git a/CHANGELOG.md b/CHANGELOG.md index 628d7b27..ea1e1101 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +# Version 0.20.1 (2024-11-08) + +### Fixed +- Builds without the `symphonia` feature did not compile + # Version 0.20.0 (2024-11-08) ### Added diff --git a/Cargo.toml b/Cargo.toml index b458ea89..60574ffc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rodio" -version = "0.20.0" +version = "0.20.1" license = "MIT OR Apache-2.0" description = "Audio playback library" keywords = ["audio", "playback", "gamedev"] diff --git a/src/source/mod.rs b/src/source/mod.rs index cf743ced..7f3a4ee1 100644 --- a/src/source/mod.rs +++ b/src/source/mod.rs @@ -634,6 +634,8 @@ impl std::error::Error for SeekError { } } } + +#[cfg(feature = "symphonia")] impl From for SeekError { fn from(source: crate::decoder::symphonia::SeekError) -> Self { SeekError::SymphoniaDecoder(source)