EmbarkStudios / cargo-about

📜 Cargo plugin to generate list of all licenses for a crate 🦀
http://embark.rs
Apache License 2.0
545 stars 32 forks source link

`private = { ignore = true }` is rejected #192

Closed Geobert closed 2 years ago

Geobert commented 2 years ago

Describe the bug Following https://embarkstudios.github.io/cargo-about/cli/generate/config.html#the-ignore-field I put

[licenses]
private = { ignore = true }

into my about.toml (at the end of the file) and it is rejected when running cargo about generate about.hbs

Expected behavior should accept private field as mentioned in the book

Device:

Jake-Shadle commented 2 years ago

I've clarified the docs in https://github.com/EmbarkStudios/cargo-about/commit/b571fa0d86bcf9ff87d08ab66c99a4316fbcd898, the [licenses] key should not be there, and private must come before any crate configurations.

Geobert commented 2 years ago

That did it, thanks!