Skip to content

Move SSL-dependency decisions into features #1382

@jsuereth

Description

@jsuereth

As seen on #1380 - we have an issue where embedding OpenSSL isn't desired in all consumption use cases for weaver. Additionally, all platforms pay the embedding penalty for OpenSSL even when it isn't necessary because we needed it for our docker build.

Going forward we'd like to create a set of features for our crates where you can pick your RustTLS / SSL dependency as needed and then update per-platform builds to use the appropriate feature set for that platform. This should be influenced by how other libraries, e.g. gix, reqwest, do the same with features.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ci/cdCI/CD related issueenhancementNew feature or request

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions