Skip to content

Commit

Permalink
(IGNORE) Remove redundant imports
Browse files Browse the repository at this point in the history
  • Loading branch information
scouten-adobe committed Feb 21, 2024
1 parent a6d0c2c commit bd59bdb
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 16 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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_

Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Add this to your `Cargo.toml`:

```toml
[dependencies]
xmp_toolkit = "1.7.0"
xmp_toolkit = "1.7.1"
```

## License
Expand Down
5 changes: 1 addition & 4 deletions src/tests/xmp_core_coverage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 0 additions & 4 deletions src/tests/xmp_date_time_chrono.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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};
Expand Down Expand Up @@ -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};
Expand Down
2 changes: 0 additions & 2 deletions src/tests/xmp_meta.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3144,8 +3144,6 @@ mod set_localized_text {
}

mod sort {
use std::string::ToString;

use crate::{xmp_ns, XmpError, XmpErrorType, XmpMeta};

#[test]
Expand Down
3 changes: 0 additions & 3 deletions src/xmp_date_time.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")]
Expand Down
2 changes: 1 addition & 1 deletion src/xmp_value.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down

0 comments on commit bd59bdb

Please sign in to comment.