Skip to content

Commit

Permalink
feat: derive PartialEq and Eq for ChannelConfig
Browse files Browse the repository at this point in the history
That is needed for prefix-dev/pixi#2702
  • Loading branch information
Hofer-Julian committed Dec 13, 2024
1 parent d8c8fca commit a6295c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/rattler_conda_types/src/channel/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const DEFAULT_CHANNEL_ALIAS: &str = "https://conda.anaconda.org";
/// particular server. Conda solves this by allowing users not to specify a full
/// Url but instead only specify the name of the channel and reading the primary
/// server address from a configuration file (e.g. `.condarc`).
#[derive(Debug, Clone, Serialize, Deserialize, Hash)]
#[derive(Debug, Clone, Serialize, Deserialize, Hash, PartialEq, Eq)]
pub struct ChannelConfig {
/// A url to prefix to channel names that don't start with a Url. Usually
/// this Url refers to the `https://conda.anaconda.org` server but users are free to change this. This allows
Expand Down

0 comments on commit a6295c6

Please sign in to comment.