5 releases
0.1.4 | Sep 14, 2023 |
---|---|
0.1.3 | Sep 11, 2023 |
0.1.2 | Apr 3, 2023 |
0.1.1 | Mar 26, 2023 |
0.1.0 | Mar 20, 2023 |
#323 in Cargo plugins
41KB
512 lines
Cargo Upload
Description
A cargo subcommand for publishing compressed crate to private registry (For example Crates-Registry).
In order to publish crates to a private registry you want to download the crate and it's dependencies (you can use cargo collect
) then you can upload the files to your private registry with this subcommand.
Installation
cargo-upload can be install with cargo:
$ cargo install cargo-upload
Usage
First config your private registry in the .cargo/config
file
[registries]
my-registry = { index = "https://my-intranet:8080/git/index" }
See Registries in the rust book for more information.
The command below can upload single crate.
cargo upload --registry my-registry -c crate-file.crate
Run cargo upload --help
for more information.
Roadmap
In the future we want to integrate this subcommand to the cargo repository.
License
The license GNU GENERAL PUBLIC LICENSE Version 3
Dependencies
~60–94MB
~2M SLoC