diff --git a/Cargo.lock b/Cargo.lock index 2b182b9..706e5a6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -220,7 +220,7 @@ dependencies = [ [[package]] name = "dovi_tool" -version = "1.5.1" +version = "1.5.2" dependencies = [ "anyhow", "assert_cmd", diff --git a/Cargo.toml b/Cargo.toml index c881698..156aad4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dovi_tool" -version = "1.5.1" +version = "1.5.2" authors = ["quietvoid"] edition = "2021" rust-version = "1.56.0" diff --git a/dolby_vision/src/rpu/generate.rs b/dolby_vision/src/rpu/generate.rs index dfb0f8a..25b37c7 100644 --- a/dolby_vision/src/rpu/generate.rs +++ b/dolby_vision/src/rpu/generate.rs @@ -75,9 +75,9 @@ pub struct GenerateConfig { #[derive(Debug)] #[cfg_attr(feature = "serde_feature", derive(Deserialize, Serialize))] pub enum GenerateProfile { - #[serde(alias = "8.1")] + #[cfg_attr(feature = "serde_feature", serde(alias = "8.1"))] Profile81, - #[serde(alias = "8.4")] + #[cfg_attr(feature = "serde_feature", serde(alias = "8.4"))] Profile84, }