pub struct PublishConfig {
pub cargo: Option<CargoPublishConfig>,
pub homebrew: Option<HomebrewConfig>,
pub homebrew_cask: Option<HomebrewCaskConfig>,
pub scoop: Option<ScoopConfig>,
pub chocolatey: Option<ChocolateyConfig>,
pub winget: Option<WingetConfig>,
pub aur: Option<AurConfig>,
pub aur_source: Option<AurSourceConfig>,
pub krew: Option<KrewConfig>,
pub nix: Option<NixConfig>,
}Fields§
§cargo: Option<CargoPublishConfig>Publish to crates.io. Presence opts in; use cargo: { skip: true } to opt out.
homebrew: Option<HomebrewConfig>Homebrew formula publishing configuration.
homebrew_cask: Option<HomebrewCaskConfig>Homebrew Cask publishing configuration (macOS .app bundles).
Uses the unified HomebrewCaskConfig which carries all fields from both
the per-crate cask config and the top-level homebrew_casks: config.
scoop: Option<ScoopConfig>Scoop manifest publishing configuration.
chocolatey: Option<ChocolateyConfig>Chocolatey package publishing configuration.
winget: Option<WingetConfig>WinGet manifest publishing configuration.
aur: Option<AurConfig>AUR (Arch User Repository) binary package publishing configuration.
aur_source: Option<AurSourceConfig>AUR source package publishing configuration (source-only PKGBUILD, not -bin).
krew: Option<KrewConfig>Krew (kubectl plugin manager) manifest publishing configuration.
nix: Option<NixConfig>Nix derivation publishing configuration.
Trait Implementations§
Source§impl Clone for PublishConfig
impl Clone for PublishConfig
Source§fn clone(&self) -> PublishConfig
fn clone(&self) -> PublishConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PublishConfig
impl Debug for PublishConfig
Source§impl Default for PublishConfig
impl Default for PublishConfig
Source§fn default() -> PublishConfig
fn default() -> PublishConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PublishConfigwhere
PublishConfig: Default,
impl<'de> Deserialize<'de> for PublishConfigwhere
PublishConfig: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for PublishConfig
impl JsonSchema for PublishConfig
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for PublishConfig
impl RefUnwindSafe for PublishConfig
impl Send for PublishConfig
impl Sync for PublishConfig
impl Unpin for PublishConfig
impl UnsafeUnpin for PublishConfig
impl UnwindSafe for PublishConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more