Skip to content

Commit

Permalink
Make IncompId public (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
konstin committed Dec 20, 2024
1 parent b4877de commit 601ec9e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/internal/incompatibility.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ pub struct Incompatibility<P: Package, VS: VersionSet, M: Eq + Clone + Debug + D
}

/// Type alias of unique identifiers for incompatibilities.
pub(crate) type IncompId<P, VS, M> = Id<Incompatibility<P, VS, M>>;
pub type IncompId<P, VS, M> = Id<Incompatibility<P, VS, M>>;

pub(crate) type IncompDpId<DP> = IncompId<
<DP as DependencyProvider>::P,
Expand Down
4 changes: 2 additions & 2 deletions src/internal/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ mod small_map;
mod small_vec;

pub(crate) use arena::{Arena, HashArena};
pub(crate) use incompatibility::{IncompDpId, IncompId, Relation};
pub(crate) use incompatibility::{IncompDpId, Relation};
pub(crate) use partial_solution::{DecisionLevel, PartialSolution, SatisfierSearch};
pub(crate) use small_map::SmallMap;
pub(crate) use small_vec::SmallVec;

// uv-specific additions
pub use arena::Id;
pub use core::State;
pub use incompatibility::{Incompatibility, Kind};
pub use incompatibility::{IncompId, Incompatibility, Kind};
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,6 @@ pub use version_ranges::Ranges as Range;
pub use version_set::VersionSet;

// uv-specific additions
pub use internal::{Id, Incompatibility, Kind, State};
pub use internal::{Id, IncompId, Incompatibility, Kind, State};

mod internal;

0 comments on commit 601ec9e

Please sign in to comment.