Skip to content

Make TLS backend feature-selectable in sdk-core and client#1274

Merged
Sushisource merged 1 commit into
temporalio:mainfrom
ticketmaster:aws-lc
May 15, 2026
Merged

Make TLS backend feature-selectable in sdk-core and client#1274
Sushisource merged 1 commit into
temporalio:mainfrom
ticketmaster:aws-lc

Conversation

@GregBowyer

Copy link
Copy Markdown
Contributor

The hard-coded tonic = { features = ["tls-ring", ...] } in sdk-core and client forces ring on every consumer. Some users ban ring entirely (e.g. those standardised on aws-lc-rs for FIPS or supply-chain reasons) and cannot depend on temporalio-sdk because of this single line.

Add tls-ring and tls-aws-lc as crate features in both crates. tls-ring remains the default so upstream behaviour is unchanged. Downstream users can opt out:

[dependencies]
temporalio-sdk-core = {
    version = "0.4",
    default-features = false,
    features = ["envconfig", "prometheus", "tls-aws-lc"],
}

What was changed

Why?

Checklist

  1. Closes

  2. How was this tested:

  1. Any docs updates needed?

The hard-coded `tonic = { features = ["tls-ring", ...] }` in sdk-core and client forces ring on every consumer. Some users ban ring entirely (e.g. those standardised on aws-lc-rs for FIPS or supply-chain reasons) and cannot depend on temporalio-sdk because of this single line.

Add `tls-ring` and `tls-aws-lc` as crate features in both crates. `tls-ring`
remains the default so upstream behaviour is unchanged. Downstream users
can opt out:

```toml
[dependencies]
temporalio-sdk-core = {
    version = "0.4",
    default-features = false,
    features = ["envconfig", "prometheus", "tls-aws-lc"],
}
```
@GregBowyer
GregBowyer requested a review from a team as a code owner May 15, 2026 01:31
@CLAassistant

CLAassistant commented May 15, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@Sushisource Sushisource left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants