Skip to main content

uv_configuration/
annotation_style.rs

1/// Indicate the style of annotation comments, used to indicate the dependencies that requested each
2/// package.
3#[derive(Debug, Default, Copy, Clone, PartialEq, serde::Deserialize)]
4#[serde(deny_unknown_fields, rename_all = "kebab-case")]
5#[cfg_attr(feature = "clap", derive(clap::ValueEnum))]
6#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
7pub enum AnnotationStyle {
8    /// Render the annotations on a single, comma-separated line.
9    Line,
10    /// Render each annotation on its own line.
11    #[default]
12    Split,
13}