Browse Source

Added README.md

master
Nicolas Polomack 5 years ago
parent
commit
4d834a4d8a
1 changed files with 27 additions and 0 deletions
  1. +27
    -0
      README.md

+ 27
- 0
README.md View File

@@ -0,0 +1,27 @@
Alexandrie crate index
======================

This is the crate index for the [Alexandrie] alternative crate registry instance running on <https://crates.polomack.eu>.

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].

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].

How to use this index ?
-----------------------

If you want to use this index, you can follow these steps:

- Edit or create the `~/.cargo/config` file, and add the following code:
```toml
[registries.alexandrie]
index = "https://github.com/Hirevo/alexandrie-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`

[Alexandrie]: https://github.com/Hirevo/alexandrie
[crates.polomack.eu]: https://crates.polomack.eu
[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

Loading…
Cancel
Save