Crates.io | cargo-include-licenses |
lib.rs | cargo-include-licenses |
version | 0.0.1 |
source | src |
created_at | 2021-06-23 21:06:33.427947 |
updated_at | 2021-06-23 21:06:33.427947 |
description | Collects license files from the dependencies of a project into a predefined directory |
homepage | |
repository | https://github.com/C1710/cargo-include-licenses |
max_upload_size | |
id | 414138 |
size | 685,624 |
It goes through the local copies of the dependencies of a project
(or, to be more precise, the packages output by cargo metadata
) and looks for potential license files:
These are then copied (while preserving the directory structure) into a user-defined directory.
Of course, there can be both false negatives and false positives, use it at your own risk.
Due to the usage of once_cell
, it currently requires Rust nightly.
Otherwise it can be built with cargo
, just like usual.