Nemo157 / cargo-lichking

Automated license checking for rust. cargo lichking is a Cargo subcommand that checks licensing information for dependencies.
Other
128 stars 16 forks source link

Check alternative extensions to find license text #65

Open Nemo157 opened 5 years ago

Nemo157 commented 5 years ago
> cargo lichking bundle
warning: IANAL: This is not legal advice and is not guaranteed to be correct.
The imagine package uses some third party libraries under their own license terms:

 * bytemuck 1.0.1 under the terms of Zlib:

error: bytemuck has no candidate texts for license Zlib in ~\.cargo\registry\src\github.com-1ecc6299db9ec823\bytemuck-1.0.1

bytemuck does include the license in LICENSE-ZLIB.md

you should really check alternate extensions like .txt and .md

Lokathor

Nemo157 commented 5 years ago

generic names does include other extensions:

https://github.com/Nemo157/cargo-lichking/blob/0d29ba65e5ee58bf166febfd04bff4e4c28e9c11/src/discovery.rs#L101-L104

but the license specific ones don't