Skip to content

Conversation

@buraktabn
Copy link

Summary

Adds a new hyper-rustls-client feature that provides a rustls-based HTTP client for web push notifications, ideal for docker/musl builds that don't require native-tls dependencies.

Changes

  • Added HyperRustlsWebPushClient using hyper-rustls v0.24
  • New feature flag: hyper-rustls-client
  • Follows existing design patterns with zero breaking changes
  • All feature combinations tested and working

Usage

web-push = { version = "0.11.0", features = ["hyper-rustls-client"], default-features = false }

Waiting for mozilla/rust-ece#73

buraktabn and others added 3 commits November 10, 2025 19:43
Introduces a new rustls-based HTTP client for web push notifications,
ideal for docker/musl builds that don't require native-tls. Uses
hyper-rustls v0.24 with minimal dependencies (http1, native-tokio).
Follows existing design patterns with zero breaking changes.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Add hyper-rustls HTTP client feature for docker/musl builds
Updates ece dependency to use RustCrypto backend (via forked rust-ece),
eliminating OpenSSL requirement for hyper-rustls-client feature. Provides
100% pure-Rust crypto stack with rustls TLS and RustCrypto encryption for
docker/musl builds. All tests pass with new backend.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude <noreply@anthropic.com>
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