Direct runtime dependency license report

I'm new to rust and I'm trying to generate a license report for a project. I have tried this:-

cargo-license --no-deps --manifest-path src/Cargo.toml

This does not limit the report to direct runtime dependencies only. Is there a way to get the license information for direct dependencies only (not including test dependencies and secondary dependencies)?

Any help would be much appreciated.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.