-
-
Notifications
You must be signed in to change notification settings - Fork 39
Cannot install on stock macOS #57
Comments
Sure - seems reasonable to add a |
It should be possible to select Cargo's vendored-openssl feature without cargo-tree specifically re-exposing it: cargo install cargo-tree --features cargo/vendored-openssl |
Huh, that's not documented very well. Incidentally, I think Incidentally, I don't see any way, as an end user, of being able to say "turn off default features for this dependency". That said, |
Ok so, short term: Update the README to specify that on macOS you can say Long term: Figure out how to disable the default features on |
This both makes the crate compile way faster and avoids having to touch tons of unstable, undocumented cargo internals. This requires Rust 1.41 (the current beta) for some cargo-metadata features. There are some subtle differences in the new output (particularly in handling dependencies between crates in workspaces), but they're pretty minor. Closes #73 Closes #69 Closes #66 Closes #65 Closes #63 Closes #61 Closes #57 Closes #20
This both makes the crate compile way faster and avoids having to touch tons of unstable, undocumented cargo internals. This requires Rust 1.41 (the current beta) for some cargo-metadata features. There are some subtle differences in the new output (particularly in handling dependencies between crates in workspaces), but they're pretty minor. Closes #73 Closes #69 Closes #66 Closes #65 Closes #63 Closes #61 Closes #57 Closes #20
This both makes the crate compile way faster and avoids having to touch tons of unstable, undocumented cargo internals. This requires Rust 1.41 (the current beta) for some cargo-metadata features. There are some subtle differences in the new output (particularly in handling dependencies between crates in workspaces), but they're pretty minor. Closes #73 Closes #69 Closes #66 Closes #65 Closes #63 Closes #61 Closes #57 Closes #20
cargo-tree
won't build on stock macOS due to a transitive dependency onopenssl-sys
which I believe comes fromcargo
. The issue is that macOS ships with a very old version of OpenSSL thatopenssl-sys
does not support. I'm pretty sure this can be worked around withbrew install openssl
but I don't use Homebrew so that doesn't work for me.A quick look at https://github.com/rust-lang/cargo/blob/master/Cargo.toml indicates that there's a
vendored-openssl
feature flag, it might be a good idea to opt into that feature flag when buildingcargo-tree
on macOS (or at least to re-expose it so I can select it myself).The text was updated successfully, but these errors were encountered: