| Crates.io | unlicense |
| lib.rs | unlicense |
| version | 0.3.0 |
| created_at | 2024-04-03 21:56:01.464048+00 |
| updated_at | 2025-09-20 09:32:14.695203+00 |
| description | Access the text of the Unlicense. |
| homepage | |
| repository | https://github.com/senekor/unlicense |
| max_upload_size | |
| id | 1195604 |
| size | 7,907 |
Access the text of the Unlicense. https://unlicense.org
Using cargo-binstall:
cargo binstall unlicense
Using cargo:
cargo install unlicense
You can also grab a binary from the releases page.
$ unlicense # write to ./UNLICENSE
$ unlicense | cat # print to stdout
$ unlicense --help
Access the text of the Unlicense. <https://unlicense.org>
When used interactively, writes to ./UNLICENSE.
Otherwise (e.g. in a pipe), writes to stdout.
When given any arguments, displays this help page.
This project also exposes a library you can use in your own Rust code. It just contains the text as a static variable. Add it as a dependency with:
cargo add unlicense
(Yes, this is a joke, you probably shouldn't use this library.)