djc / instant-acme

Simple ACME client
Apache License 2.0
85 stars 18 forks source link

Re-Add Send,Sync to HttpClient with option to remove #26

Closed dvdsk closed 1 year ago

dvdsk commented 1 year ago

Adresses https://github.com/instant-labs/instant-acme/issues/25 by adding Send and Sync bounds to the HttpClient trait. Adds feature "single-thread" that removes those bounds again.

Rust specifies features should be addative (enable) functionality instead of restricting it. As adding bounds would restrict trait implementation I chose to let the feature remove the bounds.

To maintain semver the minor version needs to be increased.

dvdsk commented 1 year ago

closed in favor of #27