You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 1.2KB

4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
1234567891011121314151617181920212223242526
  1. jstrong.dev crate index
  2. ======================
  3. This is the crate index for the [crates.jstrong.dev] alternative crate registry instance.
  4. This repository follows the rules and layout specified in the [Cargo's Alternative Registries RFC].
  5. It is maintained and kept up-to-date automatically by [crates.jstrong.dev].
  6. 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].
  7. How to use this index ?
  8. -----------------------
  9. If you want to use this index, you can follow these steps:
  10. - Edit or create the `~/.cargo/config` file, and add the following code:
  11. ```toml
  12. [registries.jstrong-dev]
  13. index = "https://git.jstrong.dev/jstrong/crate-index"
  14. ```
  15. - Then, run `cargo login --registry jstrong-dev` and enter your author token.
  16. - You can now use the registry using `cargo publish --registry jstrong-dev` or `cargo search --registry jstrong-dev`
  17. [crates.jstrong.dev]: https://crates.jstrong.dev
  18. [crates.io]: https://crates.io
  19. [Cargo's Alternative Registries RFC]: https://github.com/rust-lang/rfcs/blob/master/text/2141-alternative-registries.md#registry-index-format-specification