pub enum DepsDevSystem {
Npm,
Cargo,
Go,
Maven,
Pypi,
Rubygems,
NuGet,
}Expand description
deps.dev’s system URL path segment (issue #1455 batch item 2).
Exhaustively covers the seven ecosystems deps_dev_system maps to it — replaces a raw
&'static str threaded through every deps.dev call site and memo key, so a typo’d or
copy-pasted-wrong system string is a compile error instead of a silently wrong URL or a
memo key that aliases the wrong ecosystem’s cache entry.
Variants§
Npm
npm.
Cargo
crates.io, via Cargo.
Go
Go modules.
Maven
Maven Central and other Maven-coordinate repositories.
Pypi
PyPI.
Rubygems
RubyGems, via Bundler — deps.dev’s own name for this ecosystem.
NuGet
NuGet.
Trait Implementations§
Source§impl Clone for DepsDevSystem
impl Clone for DepsDevSystem
impl Copy for DepsDevSystem
Source§impl Debug for DepsDevSystem
impl Debug for DepsDevSystem
impl Eq for DepsDevSystem
Source§impl Hash for DepsDevSystem
impl Hash for DepsDevSystem
Source§impl PartialEq for DepsDevSystem
impl PartialEq for DepsDevSystem
impl StructuralPartialEq for DepsDevSystem
Auto Trait Implementations§
impl Freeze for DepsDevSystem
impl RefUnwindSafe for DepsDevSystem
impl Send for DepsDevSystem
impl Sync for DepsDevSystem
impl Unpin for DepsDevSystem
impl UnsafeUnpin for DepsDevSystem
impl UnwindSafe for DepsDevSystem
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,
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§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.