Fix optional cfg gates (#14448)

Running `cargo clippy` in individual crates could raise warnings due to
unused imports as `Cow` is only used with `#[cfg(feature = "schemars")]`
This commit is contained in:
konsti 2025-07-03 22:29:03 +02:00 committed by GitHub
parent 8afbd86f03
commit 06af93fce7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 20 additions and 7 deletions

View file

@ -1,4 +1,6 @@
use std::{borrow::Cow, str::FromStr};
#[cfg(feature = "schemars")]
use std::borrow::Cow;
use std::str::FromStr;
use jiff::{Timestamp, ToSpan, tz::TimeZone};