If you have such experience, please write steps of resolving the OpenSSL issue on Mac OS without installing Homebrew. It would be the only reason I need Homebrew, so I'm trying to avoid it.
openssl-sys
crate has a vendored
feature. Enable it, and it will use its own version, not homebrew's.
Thank you, but I can't tell other crates how to use that crate.
You can! Crates' features are global, so if you add openssl-sys
to your project and give it the vendor
feature, this feature will be enabled for all uses of this crate in every dependency.
I'm just trying to run "cargo install cargo-edit" and it fails because of openssl.
Off-topic here, you can check quiche project, it builds boringSSL from C++ code and imported into Rust code.
I'll better forget about this crate.
Thanks for responses
Actually! cargo-edit has a workaround specifically for this!
cargo install cargo-edit --features=vendored-openssl
Installed package
cargo-edit v0.8.0
(executablescargo-add
,cargo-rm
,cargo-set-version
,cargo-upgrade
)
You are the best! Thank you!
This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.