mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-04 10:58:28 +00:00
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:
parent
8afbd86f03
commit
06af93fce7
8 changed files with 20 additions and 7 deletions
|
@ -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};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue