pub mod rust;
pub mod web;
use crate::core::contract::Ecosystem;
use rust::{CargoScheme, CargoToml, CratesRegistry};
use web::{DenoJson, JsrRegistry, NodeScheme, NpmRegistry, PackageJson};
crate::ecosystem! { name: rust,
manifests: [CargoToml],
registries: [CratesRegistry::new()],
scheme: CargoScheme,
}
crate::ecosystem! { name: web,
manifests: [PackageJson, DenoJson],
registries: [NpmRegistry::new(), JsrRegistry::new()],
scheme: NodeScheme,
}
pub fn all() -> Vec<Ecosystem> {
vec![rust(), web()]
}