#upload #cargo #cargo-subcommand #private-registry

app cargo-upload

Cargo tool for upload crate files to private registry (like crates-registry)

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

#295 in Cargo plugins

Download history 1/week @ 2023-11-09 4/week @ 2023-11-16 17/week @ 2023-11-23 17/week @ 2023-11-30 5/week @ 2023-12-14 10/week @ 2023-12-21 5/week @ 2023-12-28 8/week @ 2024-01-25 17/week @ 2024-02-01 13/week @ 2024-02-08 61/week @ 2024-02-15

99 downloads per month

GPL-3.0 license

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–97MB
~2M SLoC