uv-configuration 0.0.1

This is a component crate of uv
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use serde::{Deserialize, Serialize};

#[derive(Clone, Copy, Debug, Default, Deserialize, PartialEq, Eq, Serialize)]
#[serde(rename_all = "kebab-case")]
#[cfg_attr(feature = "clap", derive(clap::ValueEnum))]
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
pub enum TrustedPublishing {
    /// Attempt trusted publishing when we're in a supported environment, continue if that fails.
    ///
    /// Supported environments include GitHub Actions and GitLab CI/CD.
    #[default]
    Automatic,
    // Force trusted publishing.
    Always,
    // Never try to get a trusted publishing token.
    Never,
}