Cargo / Crates.io filter by license type?

I don't suppose there is any way to filter dependencies by license type?

I take pains to only use certain licenses. If a dependency deep in a chain of other dependencies changes to a non-open license I need to know that.

Are there any tools to make this easier than constant painstaking manual searches?

There's cargo-license and cargo-deny for managing combined licenses of projects.

1 Like

@kornel, would it be feasible to add search operators for specific fields like "license:mit" to the lib.rs search bar, if someone were willing to do the implementation work?

1 Like

Yeah, sure!

2 Likes