Gitea 82304bb728 | 4 years ago | |
---|---|---|
ma/rk | 4 years ago | |
README.md | 4 years ago | |
config.json | 4 years ago |
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.
If you want to use a crate hosted at crates.jstrong.dev:
~/.cargo/config
file, and add the following code:[registries.jstrong-dev]
index = "https://git.jstrong.dev/jstrong/crate-index"
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:
~/.cargo/config
with registries.jstrong-dev
entry as described abovecargo login --registry jstrong-dev
and enter your author token.cargo publish --registry jstrong-dev
or cargo search --registry jstrong-dev