pub enum Adapter {
CargoPublish,
CargoPublishCi,
CargoDist,
ReleasePlease,
Changesets,
GhActionPypiPublish,
Twine,
Goreleaser,
HomebrewTap,
HomebrewCore,
NpmPublish,
Manual,
}Expand description
The release tool pinned for a Target so it is not re-inferred each cut.
cargo-publish-ci is the CI-delegated sibling of cargo-publish: the
crate reaches crates.io through a tag-triggered CI workflow (a repo-secret
CARGO_REGISTRY_TOKEN running cargo publish in Actions), never through a
cargo publish on the maintainer’s host. A repo that forbids the local
publish declares it, and the engine’s cut then gates + tags + observes
instead of publishing — the same delegation vocabulary the cargo-dist
gh-releases / homebrew targets already use
(is_ci_delegated).
A new enum value is additive, so it does not bump
KNOWN_SCHEMA_VERSION: no existing field is renamed or re-meant, and a
contract that does not use it serializes byte-for-byte as before. An older
reader meeting the value reports it as an invalid adapter (the normalizer’s
closed-enum error path) rather than mis-executing it — fail-closed, which is
the property that matters for a publish identity.
Variants§
CargoPublish
Wire value cargo-publish.
CargoPublishCi
Wire value cargo-publish-ci.
CargoDist
Wire value cargo-dist.
ReleasePlease
Wire value release-please.
Changesets
Wire value changesets.
GhActionPypiPublish
Wire value gh-action-pypi-publish.
Twine
Wire value twine.
Goreleaser
Wire value goreleaser.
HomebrewTap
Wire value homebrew-tap.
HomebrewCore
Wire value homebrew-core.
NpmPublish
Wire value npm-publish.
Manual
Wire value manual.
Implementations§
Trait Implementations§
impl Copy for Adapter
impl Eq for Adapter
impl StructuralPartialEq for Adapter
Auto Trait Implementations§
impl Freeze for Adapter
impl RefUnwindSafe for Adapter
impl Send for Adapter
impl Sync for Adapter
impl Unpin for Adapter
impl UnsafeUnpin for Adapter
impl UnwindSafe for Adapter
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.