pimeys / rust-web-push

A Web Push library for Rust
Apache License 2.0
113 stars 21 forks source link

Allow to use web_push with neither the hyper nor the isahc client #37

Closed oliverbestmann closed 1 year ago

andyblarblar commented 1 year ago

Could you make it so these features are mutally exclusive if they are enabled?

oliverbestmann commented 1 year ago

Why? That's just reducing the flexibility for the consumer of the library. Maybe I would like to enable both clients for whatever reason I have.

andyblarblar commented 1 year ago

Implimented in v0.10.0 by refactoring to use traits + conditional compile together