feat(wind-acme,wind-core): shared cert + ActiveConnections for server hosts#32
Merged
Conversation
…rver hosts Support extracting duplicated scaffolding out of breeze's naive-server and tuic-server into reusable wind crates. wind-acme: add one-shot HTTP-01 provisioning (http01::ensure_acme_cert) and self-signed generation (selfsigned::ensure_self_signed_cert_files) that write the PEM cert/key to disk, behind a new "http01" feature. The existing rustls-acme resolver flow moves into a "resolver" module gated behind a "resolver" feature (default-on) so file-based consumers can depend on wind-acme without pulling rustls-acme. wind-core: host the canonical ActiveConnections registry (previously duplicated byte-for-byte in wind-naive-inbound and wind-tuic); wind-tuic now re-exports it. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Supports extracting duplicated scaffolding out of breeze's
naive-serverandtuic-serverinto reusable wind crates (see the companion rust-proxy/breeze PR).wind-acme
http01::ensure_acme_cert) and self-signed generation (selfsigned::ensure_self_signed_cert_files) that write the PEM cert/key to disk — for backends that load TLS material from files (quiche/tokio-quiche). Behind a newhttp01feature.rustls-acmeresolver flow into aresolvermodule gated behind aresolverfeature (default-on). This lets file-based consumers depend on wind-acme withdefault-features = false, features = ["http01"]without pullingrustls-acme— which also avoids a git-revision mismatch when built from breeze's outer workspace.is_valid_domainstays always-available.wind-core
ActiveConnectionsregistry (per-user connection limiting + active kick), previously duplicated byte-for-byte inwind-naive-inboundandwind-tuic.wind-tuicnow re-exports it.Verification
cargo build(full inner workspace) ✅cargo test -p wind-acme --features http01✅,cargo test -p wind-core active✅🤖 Generated with Claude Code