|
@@ -1,12 +1,12 @@ |
|
|
Alexandrie crate index |
|
|
|
|
|
|
|
|
jstrong.dev crate index |
|
|
====================== |
|
|
====================== |
|
|
|
|
|
|
|
|
This is the crate index for the [Alexandrie] alternative crate registry instance running on <https://crates.polomack.eu>. |
|
|
|
|
|
|
|
|
This is the crate index for the [crates.jstrong.dev] alternative crate registry instance. |
|
|
|
|
|
|
|
|
This repository follows the rules and layout specified in the [Cargo's Alternative Registries RFC]. |
|
|
This repository follows the rules and layout specified in the [Cargo's Alternative Registries RFC]. |
|
|
It is maintained and kept up-to-date automatically by [crates.polomack.eu]. |
|
|
|
|
|
|
|
|
It is maintained and kept up-to-date automatically by [crates.jstrong.dev]. |
|
|
|
|
|
|
|
|
This index (and, by extension, the [crates.polomack.eu] registry) allows crates to only depend on other crates stored in either this registry or [crates.io]. |
|
|
|
|
|
|
|
|
This index (and, by extension, the [crates.jstrong.dev] registry) allows crates to only depend on other crates stored in either this registry or [crates.io]. |
|
|
|
|
|
|
|
|
How to use this index ? |
|
|
How to use this index ? |
|
|
----------------------- |
|
|
----------------------- |
|
@@ -15,13 +15,12 @@ If you want to use this index, you can follow these steps: |
|
|
|
|
|
|
|
|
- Edit or create the `~/.cargo/config` file, and add the following code: |
|
|
- Edit or create the `~/.cargo/config` file, and add the following code: |
|
|
```toml |
|
|
```toml |
|
|
[registries.alexandrie] |
|
|
|
|
|
index = "https://github.com/Hirevo/alexandrie-index" |
|
|
|
|
|
|
|
|
[registries.jstrong-dev] |
|
|
|
|
|
index = "https://git.jstrong.dev/jstrong/crate-index" |
|
|
``` |
|
|
``` |
|
|
- Then, run `cargo login --registry alexandrie` and enter your author token. |
|
|
|
|
|
- You can now use the registry using `cargo publish --registry alexandrie` or `cargo search --registry alexandrie` |
|
|
|
|
|
|
|
|
- Then, run `cargo login --registry jstrong-dev` and enter your author token. |
|
|
|
|
|
- You can now use the registry using `cargo publish --registry jstrong-dev` or `cargo search --registry jstrong-dev` |
|
|
|
|
|
|
|
|
[Alexandrie]: https://github.com/Hirevo/alexandrie |
|
|
|
|
|
[crates.polomack.eu]: https://crates.polomack.eu |
|
|
|
|
|
|
|
|
[crates.jstrong.dev]: https://crates.jstrong.dev |
|
|
[crates.io]: https://crates.io |
|
|
[crates.io]: https://crates.io |
|
|
[Cargo's Alternative Registries RFC]: https://github.com/rust-lang/rfcs/blob/master/text/2141-alternative-registries.md#registry-index-format-specification |
|
|
[Cargo's Alternative Registries RFC]: https://github.com/rust-lang/rfcs/blob/master/text/2141-alternative-registries.md#registry-index-format-specification |