diff --git a/README.md b/README.md index 75895d5..0f421d4 100644 --- a/README.md +++ b/README.md @@ -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 . +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]. -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 ? ----------------------- @@ -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: ```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 [Cargo's Alternative Registries RFC]: https://github.com/rust-lang/rfcs/blob/master/text/2141-alternative-registries.md#registry-index-format-specification diff --git a/config.json b/config.json index 0543e6c..2135fc4 100644 --- a/config.json +++ b/config.json @@ -1,5 +1,5 @@ { - "dl": "https://crates.polomack.eu/api/v1/crates/{crate}/{version}/download", - "api": "https://crates.polomack.eu", - "allowed-registries": ["https://github.com/rust-lang/crates.io-index", "https://github.com/Hirevo/alexandrie-index"] + "dl": "https://crates.jstrong.dev/api/v1/crates/{crate}/{version}/download", + "api": "https://crates.jstrong.dev", + "allowed-registries": ["https://github.com/rust-lang/crates.io-index", "https://git.jstrong.dev/jstrong/crate-index"] }