Skip to content

feat(wind-acme,wind-core): shared cert + ActiveConnections for server hosts#32

Merged
Itsusinn merged 2 commits into
mainfrom
refactor/extract-wind-server
Jun 18, 2026
Merged

feat(wind-acme,wind-core): shared cert + ActiveConnections for server hosts#32
Itsusinn merged 2 commits into
mainfrom
refactor/extract-wind-server

Conversation

@Itsusinn

Copy link
Copy Markdown
Member

Supports extracting duplicated scaffolding out of breeze's naive-server and tuic-server into reusable wind crates (see the companion rust-proxy/breeze PR).

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 — for backends that load TLS material from files (quiche/tokio-quiche). Behind a new http01 feature.
  • Move the existing rustls-acme resolver flow into a resolver module gated behind a resolver feature (default-on). This lets file-based consumers depend on wind-acme with default-features = false, features = ["http01"] without pulling rustls-acme — which also avoids a git-revision mismatch when built from breeze's outer workspace.
  • is_valid_domain stays always-available.

wind-core

  • Host the canonical ActiveConnections registry (per-user connection limiting + active kick), previously duplicated byte-for-byte in wind-naive-inbound and wind-tuic. wind-tuic now 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

Itsusinn and others added 2 commits June 18, 2026 20:09
…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>
@Itsusinn Itsusinn merged commit dbd945e into main Jun 18, 2026
17 checks passed
@Itsusinn Itsusinn deleted the refactor/extract-wind-server branch June 18, 2026 14:02
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.

1 participant