https://github.com/neysofu/cargo-squatty
Helper tool to reserve names for your crates on https://crates.io. Use responsibly.
https://github.com/neysofu/cargo-squatty
cargo-plugin cargo-subcommand rust
Last synced: 12 months ago
JSON representation
Helper tool to reserve names for your crates on https://crates.io. Use responsibly.
- Host: GitHub
- URL: https://github.com/neysofu/cargo-squatty
- Owner: neysofu
- License: mit
- Created: 2023-09-08T11:52:22.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-09T14:44:25.000Z (almost 3 years ago)
- Last Synced: 2024-10-12T14:21:45.921Z (over 1 year ago)
- Topics: cargo-plugin, cargo-subcommand, rust
- Language: Rust
- Homepage: https://crates.io/crates/cargo-squatty
- Size: 16.6 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# `cargo-squatty`   
`cargo-squatty` helps you reserve names for your crates on crates.io.
## Installation
```text
$ cargo install cargo-squatty
```
## Usage
```text
$ cargo squatty --help
Helper tool to reserve names for your crates on https://crates.io
Usage: cargo squatty [OPTIONS] --crate-name
Options:
--crate-name
Name of the crate to publish
--crate-description
Description of the crate to publish. Defaults to the crate name
-y, --yes
Skip the confirmation prompt
-o, --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](LICENSE).