diff --git a/CHANGELOG.md b/CHANGELOG.md index 8e34062..9f3c594 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,14 @@ This project adheres to [Semantic Versioning](https://semver.org), except that Do not manually edit this file. It will be automatically updated when a new release is published. +## 1.7.1 +_21 February 2024_ + +* Emergency patch: cc 1.0.86 (just released) breaks xmp_toolkit_rs when used in downstream `cargo install` ([#194](https://github.com/adobe/xmp-toolkit-rs/pull/194)) +* [IGNORE] Fix reference to C++ XMP Toolkit to point to December 2023 ([#192](https://github.com/adobe/xmp-toolkit-rs/pull/192)) +* Silence new C++ build warning on MacOS ([#191](https://github.com/adobe/xmp-toolkit-rs/pull/191)) +* [IGNORE] Fix a typo in API documentation ([#190](https://github.com/adobe/xmp-toolkit-rs/pull/190)) + ## 1.7.0 _15 January 2024_ diff --git a/Cargo.toml b/Cargo.toml index 636bbd3..9df23a9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "xmp_toolkit" -version = "1.7.0" +version = "1.7.1" description = "Rust-language bindings for Adobe's XMP Toolkit" license = "MIT OR Apache-2.0" repository = "https://github.com/adobe/xmp-toolkit-rs" diff --git a/README.md b/README.md index 924f85f..42f97de 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ Add this to your `Cargo.toml`: ```toml [dependencies] -xmp_toolkit = "1.7.0" +xmp_toolkit = "1.7.1" ``` ## License diff --git a/src/tests/xmp_core_coverage.rs b/src/tests/xmp_core_coverage.rs index 3e36a4f..59d659f 100644 --- a/src/tests/xmp_core_coverage.rs +++ b/src/tests/xmp_core_coverage.rs @@ -21,10 +21,7 @@ #![allow(dead_code)] // TEMPORARY while in development -use std::{ - str::FromStr, - string::{String, ToString}, -}; +use std::str::FromStr; use crate::{ tests::fixtures::*, xmp_ns, xmp_value::xmp_prop, FromStrOptions, ItemPlacement, IterOptions, diff --git a/src/tests/xmp_date_time_chrono.rs b/src/tests/xmp_date_time_chrono.rs index fbad670..061ea47 100644 --- a/src/tests/xmp_date_time_chrono.rs +++ b/src/tests/xmp_date_time_chrono.rs @@ -12,8 +12,6 @@ // each license. mod from_date_time { - use std::convert::TryInto; - use chrono::{DateTime, Datelike, FixedOffset, Timelike}; use crate::{DateTimeConvertError, XmpDate, XmpDateTime, XmpTime, XmpTimeZone}; @@ -171,8 +169,6 @@ mod from_date_time { } mod to_date_time { - use std::convert::Into; - use chrono::{FixedOffset, NaiveDate}; use crate::{XmpDate, XmpDateTime, XmpTime, XmpTimeZone}; diff --git a/src/tests/xmp_meta.rs b/src/tests/xmp_meta.rs index b1b37aa..d37dd84 100644 --- a/src/tests/xmp_meta.rs +++ b/src/tests/xmp_meta.rs @@ -3144,8 +3144,6 @@ mod set_localized_text { } mod sort { - use std::string::ToString; - use crate::{xmp_ns, XmpError, XmpErrorType, XmpMeta}; #[test] diff --git a/src/xmp_date_time.rs b/src/xmp_date_time.rs index a2b793e..038b59d 100644 --- a/src/xmp_date_time.rs +++ b/src/xmp_date_time.rs @@ -292,9 +292,6 @@ impl fmt::Display for XmpDateTime { } } -#[cfg(feature = "chrono")] -use std::convert::TryFrom; - #[cfg(feature = "chrono")] use chrono::{DateTime, Datelike, FixedOffset, LocalResult, NaiveDate, Timelike}; #[cfg(feature = "chrono")] diff --git a/src/xmp_value.rs b/src/xmp_value.rs index 1222909..7935fa2 100644 --- a/src/xmp_value.rs +++ b/src/xmp_value.rs @@ -11,7 +11,7 @@ // specific language governing permissions and limitations under // each license. -use std::{convert::From, fmt::Debug}; +use std::fmt::Debug; /// Describes a single property or item in an array property. #[derive(Clone, Debug, Default, Eq, PartialEq)]