Thanks to visit codestin.com
Credit goes to github.com

Skip to content

v1.7.0 breaking changes #143

@RoloEdits

Description

@RoloEdits

After updating to 1.7.0 from 1.6.3 Windows fails to build with a linking error:

error: linking with `lld-link.exe` failed: exit code: 1

This is the Cargo.toml:

amqprs = { version = "1.7.0", features = [
  "traces",
  "urispec",
  "tls",
] }

Usage:

let domain = AMQPUri::from_str(&uri).unwrap().authority.host;
let tls_adaptor = TlsAdaptor::without_client_auth(None, domain).unwrap();
args.tls_adaptor(tls_adaptor);

On Alpine Linux, it builds properly, but panics with:

thread 'main' panicked at /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/rustls-0.23.7/src/crypto/mod.rs:260:14:
no process-level CryptoProvider available -- call CryptoProvider::install_default() before this point

Given that it wasn't updated to 2.0.0, I assume that SemVer is still maintained this behavior is not intended?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions