fortanix / simple-hyper-client

Simple HTTP client using hyper providing both blocking and async interfaces
Mozilla Public License 2.0
4 stars 2 forks source link

Make client builder cloneable #4

Closed Pagten closed 11 months ago

Pagten commented 11 months ago

I have a project where I store a ClientBuilder in an Arc and I want to call Arc::make_mut() on it, which requires the ClientBuilder to be cloneable. This PR adds a #[derive(Clone)] attribute to both the sync and async versions of the Clientbuilder.