Skip to content

aws-lc-rs dependency is a breaking change #1264

@rukai

Description

@rukai

Describe the bug

A recent change to aws-smithy-http-client has resulted in the rustls feature aws_lc_rs feature being enabled.

For projects using the ring backend this is a breaking change as enabling multiple rustls backends results in the error no process-level CryptoProvider available -- call CryptoProvider::install_default() before this point.

Its been a week now, so I think the boat has sailed on that one and I accept it.

But it is very difficult to actually fix this breaking change on our end.
I can see that in #1263 it was suggested to manually create a client and manually disable set all the features needed by aws-* crates.
Is it possible for AWS to provide documentation or examples that demonstrate this?
It is important to keep aws-lc-rs out of our build to avoid introducing new build time dependencies.

Regression Issue

  • Select this option if this issue appears to be a regression.

Expected Behavior

It should be easy to depend on ring instead of aws-lc-rs

Possible Solution

No response

Additional Information/Context

No response

Version

latest

Environment details (OS name and version, etc.)

any

Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis issue is a bug.guidanceQuestion that needs advice or information.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions