cargo-squatty

Crates.iocargo-squatty
lib.rscargo-squatty
version1.0.0
sourcesrc
created_at2023-09-08 12:03:48.714696
updated_at2023-09-09 14:38:50.07426
descriptionHelper tool to reserve names for your crates on https://crates.io
homepagehttps://github.com/neysofu/cargo-squatty
repositoryhttps://github.com/neysofu/cargo-squatty
max_upload_size
id967047
size17,677
Filippo Neysofu Costa (neysofu)

documentation

README

cargo-squatty GitHub Crates.io GitHub Workflow Status (with event)

cargo-squatty helps you reserve names for your crates on crates.io.

Installation

$ cargo install cargo-squatty

Usage

$ cargo squatty --help
Helper tool to reserve names for your crates on https://crates.io

Usage: cargo squatty [OPTIONS] --crate-name <CRATE_NAME>

Options:
      --crate-name <CRATE_NAME>
          Name of the crate to publish
      --crate-description <CRATE_DESCRIPTION>
          Description of the crate to publish. Defaults to the crate name
  -y, --yes
          Skip the confirmation prompt
  -o, --cargo-publish-opts <CARGO_PUBLISH_OPTS>
          Options to pass along to `cargo publish` e.g. `--dry-run`
  -h, --help
          Print help
  -V, --version
          Print version

$ cargo squatty --crate-name test-empty-crate-foobar
Do you want to publish the crate? [y/N] y
    Updating crates.io index
warning: manifest has no documentation, homepage or repository.
See https://doc.rust-lang.org/cargo/reference/manifest.html#package-metadata for more info.
   Packaging test-empty-crate-foobar v0.0.0-reserved (/tmp/.tmpzULWEW)
   Verifying test-empty-crate-foobar v0.0.0-reserved (/tmp/.tmpzULWEW)
   Compiling test-empty-crate-foobar v0.0.0-reserved (/tmp/.tmpzULWEW/target/package/test-empty-crate-foobar-0.0.0-reserved)
    Finished dev [unoptimized + debuginfo] target(s) in 0.17s
    Packaged 4 files, 783.0B (614.0B compressed)
   Uploading test-empty-crate-foobar v0.0.0-reserved (/tmp/.tmpzULWEW)

Abuse

I strongly discourage the use of this tool to squat on crate names that you do not intend to use. Please use this tool responsibly.

Legal

cargo-squatty is licensed under the MIT license.

Commit count: 11

cargo fmt