unlicense

Crates.iounlicense
lib.rsunlicense
version0.3.0
created_at2024-04-03 21:56:01.464048+00
updated_at2025-09-20 09:32:14.695203+00
descriptionAccess the text of the Unlicense.
homepage
repositoryhttps://github.com/senekor/unlicense
max_upload_size
id1195604
size7,907
Remo Senekowitsch (senekor)

documentation

README

unlicense

Access the text of the Unlicense. https://unlicense.org

Installation

Using cargo-binstall:

cargo binstall unlicense

Using cargo:

cargo install unlicense

You can also grab a binary from the releases page.

Usage

$ 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.

Library

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.)

Commit count: 26

cargo fmt