Skip to content

Commit

Permalink
fixup! feat(manifest)!: implement feature-metadata RFC3416
Browse files Browse the repository at this point in the history
  • Loading branch information
AudaciousAxiom committed Jan 13, 2025
1 parent 567a104 commit d61ffb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/cargo-util-schemas/src/manifest/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1528,7 +1528,7 @@ impl TomlPlatform {
pub enum FeatureDefinition {
/// Features that this feature enables.
Array(Vec<String>),
/// Metadata of this feature.
/// Unstable feature `feature-metadata`. Metadata of this feature.
Metadata(FeatureMetadata),
}

Expand Down Expand Up @@ -1564,7 +1564,7 @@ impl FeatureDefinition {
}
}

/// Metadata of a feature.
/// Unstable feature `feature-metadata`. Metadata of a feature.
#[derive(Clone, Debug, Deserialize, Serialize)]
#[cfg_attr(feature = "unstable-schema", derive(schemars::JsonSchema))]
pub struct FeatureMetadata {
Expand Down

0 comments on commit d61ffb5

Please sign in to comment.