est31 / cargo-udeps

Find unused dependencies in Cargo.toml
Other
1.76k stars 46 forks source link

Add optional `vendored-openssl` feature #92

Closed lo48576 closed 3 years ago

lo48576 commented 3 years ago

openssl crate won't work in some environments without vendored openssl (see #89). To deal with this problem, default-disabled vendored-openssl feature of cargo crate can be used.

This commit adds default-disabled vendored-openssl feature to cargo-udeps itself, to provide the way to avoid this issue on user side without modifying the source.

Solves #89.

lo48576 commented 3 years ago

By this change, users affected by #89 can use cargo install cargo-udeps --features=vendored-openssl to avoid the problem.

lo48576 commented 3 years ago

Maybe CI config should be updated? I don't know what should be added...