pub enum Registry {
}Expand description
Stable identifier for the upstream package registry.
Variants§
CratesIo
crates.io (default for Cargo).
Npm
npmjs.org (default for npm / yarn / pnpm).
RubyGems
rubygems.org (default for Bundler / Gem).
PyPi
pypi.org (default for pip / poetry).
GoProxy
proxy.golang.org (default for go modules).
Hex
hex.pm (default for Mix / Hex).
Hackage
hackage.haskell.org (default for Cabal).
Packagist
packagist.org (default for Composer).
Maven
Maven Central + Gradle plugin portal.
Pub
pub.dev (Dart / Flutter).
Oci
OCI registry (helm charts via OCI, also caixa).
Private
Operator-self-hosted private registry — adapters declare the URL + auth shape via shikumi config.
None
Source-only — no registry; the package is consumed as a path or git ref, never published.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Registry
impl<'de> Deserialize<'de> for Registry
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
impl Eq for Registry
impl StructuralPartialEq for Registry
Auto Trait Implementations§
impl Freeze for Registry
impl RefUnwindSafe for Registry
impl Send for Registry
impl Sync for Registry
impl Unpin for Registry
impl UnsafeUnpin for Registry
impl UnwindSafe for Registry
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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
Compare self to
key and return true if they are equal.