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.
Gitea 4d59023bc5 money 0.1.0 2 years ago
ma/rk Updating crate `markets#0.4.1` 4 years ago
mo/ne money 0.1.0 2 years ago
README.md clarify instructions regarding using a crate without registering 4 years ago
config.json convert to jstrong.dev 4 years ago

README.md

jstrong.dev crate index

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.jstrong.dev.

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 ?

If you want to use a crate hosted at crates.jstrong.dev:

  • Edit or create the ~/.cargo/config file, and add the following code:
[registries.jstrong-dev]
index = "https://git.jstrong.dev/jstrong/crate-index"
  • In Cargo.toml, specify the crate's registry when declaring it as a dependency, e.g.:
[dependencies]
markets = { version = "0.3.0", registry = "jstrong-dev" }

If you also want to publish a crate to the registry:

  • Register as a user at crates.jstrong.dev
  • Configure ~/.cargo/config with registries.jstrong-dev entry as described above
  • 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