distrib_common/package_registry.rs
1// This is free and unencumbered software released into the public domain.
2
3use alloc::string::String;
4use derive_more::{Display, FromStr};
5
6#[derive(Clone, Debug, Display, Eq, FromStr, Hash, Ord, PartialEq, PartialOrd)]
7#[cfg_attr(feature = "serde", derive(serde::Deserialize, serde::Serialize))]
8#[non_exhaustive]
9pub enum PackageRegistry {
10 /// The Alire package registry.
11 ///
12 /// See: <https://alire.ada.dev/>
13 Alire,
14
15 /// The Clojars package registry for Clojure.
16 ///
17 /// See: <https://clojars.org/>
18 Clojars,
19
20 /// The CPAN package registry for Perl.
21 ///
22 /// See: <https://cpan.org/>
23 Cpan,
24
25 /// The Crates.io package registry.
26 ///
27 /// See: <https://crates.io/>
28 Crates,
29
30 /// The CRAN package registry for R.
31 ///
32 /// See: <https://cran.r-project.org/>
33 Cran,
34
35 /// The Hex.pm package registry.
36 ///
37 /// See: <https://hex.pm/>
38 Hex,
39
40 /// The JSR.io package registry.
41 ///
42 /// See: <https://jsr.io/>
43 Jsr,
44
45 /// The LuaRocks.org package registry.
46 ///
47 /// See: <https://luarocks.org/>
48 LuaRocks,
49
50 /// The NPM package registry.
51 ///
52 /// See: <https://npmjs.com/>
53 Npm,
54
55 /// The Pub.dev package registry.
56 ///
57 /// See: <https://pub.dev/>
58 Pub,
59
60 /// The PyPI.org package registry.
61 ///
62 /// See: <https://pypi.org/>
63 PyPi,
64
65 /// The RubyGems.org package registry.
66 ///
67 /// See: <https://rubygems.org/>
68 RubyGems,
69}