diff --git a/.cargo/config.toml.mustache b/.cargo/config.toml.mustache index 14f6c9588706..46c877cdc242 100644 --- a/.cargo/config.toml.mustache +++ b/.cargo/config.toml.mustache @@ -7,6 +7,7 @@ FFMPEG_DIR = { force = true, value = "{{{nativeDeps}}}" } {{/isLinux}} OPENSSL_STATIC = { force = true, value = "1" } OPENSSL_NO_VENDOR = { force = true, value = "0" } +OPENSSL_RUST_USE_NASM = { force = true, value = "1" } {{#isMacOS}} [target.x86_64-apple-darwin] diff --git a/Cargo.lock b/Cargo.lock index bdb6260465cf..4c3463974643 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4884,7 +4884,6 @@ version = "0.9.93" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "db4d56a4c0478783083cfafcc42493dd4a981d41669da64b4572a2a089b51b1d" dependencies = [ - "bindgen", "cc", "libc", "openssl-src", diff --git a/core/Cargo.toml b/core/Cargo.toml index dd5422657ade..b26768fb777d 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -115,10 +115,10 @@ directories = "5.0.1" # Override features of transitive dependencies [dependencies.openssl] version = "=0.10.57" -features = ["vendored", "bindgen"] +features = ["vendored"] [dependencies.openssl-sys] version = "=0.9.93" -features = ["vendored", "bindgen"] +features = ["vendored"] [target.'cfg(target_os = "macos")'.dependencies] plist = "1"