Skip to content

Commit 5e28d63

Browse files
committed
Remove Serialize derive from Conflicts
1 parent 13e745e commit 5e28d63

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/uv-pypi-types/src/conflicts.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ use crate::dependency_groups::{DependencyGroupSpecifier, DependencyGroups};
1313
/// This is useful to force the resolver to fork according to extras that have
1414
/// unavoidable conflicts with each other. (The alternative is that resolution
1515
/// will fail.)
16-
#[derive(Debug, Default, Clone, Eq, PartialEq, serde::Deserialize, serde::Serialize)]
16+
#[derive(Debug, Default, Clone, Eq, PartialEq, serde::Deserialize)]
1717
pub struct Conflicts(Vec<ConflictSet>);
1818

1919
impl Conflicts {
@@ -217,7 +217,7 @@ impl Conflicts {
217217
///
218218
/// A `TryFrom<Vec<ConflictItem>>` impl may be used to build a set from a
219219
/// sequence. Note though that at least 2 items are required.
220-
#[derive(Debug, Default, Clone, Hash, Eq, PartialEq, serde::Serialize)]
220+
#[derive(Debug, Default, Clone, Hash, Eq, PartialEq)]
221221
pub struct ConflictSet {
222222
set: BTreeSet<ConflictItem>,
223223
is_inferred_conflict: bool,

0 commit comments

Comments
 (0)