pub enum Ecosystem {
Npm,
Pypi,
Go,
Crates,
Maven,
}Expand description
Locked vocabulary per matrix §8 — ecosystem identifiers are always lowercase.
CLEANLIB-373 + CLEANLIB-374 close: Crates and Maven join the accepted
set. Both emit shell-snippet form (no canonical_location) because the
canonical config file placement is workflow-dependent — cargo per-user
(~/.cargo/config.toml) vs per-workspace, maven per-user
(~/.m2/settings.xml) vs per-project mvn -s. config init prints the
snippet + the recommended file path in the header line rather than
silently mutating either default. Sister of the Ecosystem::Go shape
which follows the same shell-snippet pattern for GOPROXY / GOAUTH.
Variants§
Npm
Pypi
Go
Crates
CLEANLIB-373 — cargo / crates.io registry (rustaceans).
Maven
CLEANLIB-374 — Maven Central (JVM: maven/gradle/sbt).
Implementations§
Trait Implementations§
impl Copy for Ecosystem
impl Eq for Ecosystem
impl StructuralPartialEq for Ecosystem
Auto Trait Implementations§
impl Freeze for Ecosystem
impl RefUnwindSafe for Ecosystem
impl Send for Ecosystem
impl Sync for Ecosystem
impl Unpin for Ecosystem
impl UnsafeUnpin for Ecosystem
impl UnwindSafe for Ecosystem
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