#spdx #license #cargo-deny

app cd-allow

A CLI tool to help you fill allowed licenses for cargo-deny

1 unstable release

Uses new Rust 2024

0.1.0 Mar 5, 2025

#92 in Configuration

Download history 143/week @ 2025-03-05

143 downloads per month

MIT license

16KB
128 lines

cd-allow

Table of Contents

Motivation

In the cargo deny 0.16.0 the allow-osi-fsf-free attribute was removed from the [licenses] section, making mandatory to list all the allowed licenses in the deny.toml file. This project just make that listing in the toml part for you.

Requirements

It's not mandatory, but this CLI is created to help with the deny.toml required by cargo-deny

Installation

To install you just need to execute

cargo install --locked cd-allow

Usage

After you've installed the cd-allow, you just need to execute the cd-allow with the desired flags use the --help to more information about it

Adding all OSI-approved licenses to deny.toml

> cd my-project/
> cd-allow --file deny.toml --osi

Contributing

If you feel like something is missing/broken, feel free to create an issue or submit a PR.

License

This project is under the MIT License. See the LICENSE file for more details.

Dependencies

~8–24MB
~267K SLoC