Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conditionally enable TLS only on supported platforms #580

Merged
merged 2 commits into from
Aug 28, 2021

Conversation

svenstaro
Copy link
Owner

Use rustls only on architecturs supported by ring. See also briansmith/ring#1182 and briansmith/ring#562 and briansmith/ring#1367

@svenstaro svenstaro self-assigned this Aug 27, 2021
@aliemjay
Copy link
Contributor

I think it is better to define a feature in minserve to access it more easily in source and also add the ability to disable rustls for supported platforms.

[dependencies]
actix-web = "3"
rustls = { version = "0.18", optional = true }

[features]
tls = ["rustls", "actix-web/rustls"]

@svenstaro
Copy link
Owner Author

Good idea, I switched it.

@svenstaro svenstaro force-pushed the conditional-tls branch 2 times, most recently from 8b896b1 to 2ea23ce Compare August 28, 2021 18:27
@svenstaro svenstaro merged commit 1c344f2 into master Aug 28, 2021
@svenstaro svenstaro deleted the conditional-tls branch August 28, 2021 20:37
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.

2 participants