Closed onalante-msft closed 2 years ago
Excellent and thank you!
Sorry, I did not push a formatting commit. I will open another PR to fix the formatting errors ASAP. It will also include some documentation updates and clippy checks.
@softprops Hi! I don't suppose you know when you might have a spare moment to look at #58 / #57 so a new version of hyperlocal
can be published with this change? I'm hoping to use this with bollard
to reduce its footprint. Many thanks :-)
This PR is technically comprised of three changes. Since the changes are small individually, they are bundled together here. I can split the changes into separate PRs if that is preferred.
The main motivation of this PR is to segment
hyper
's server and client features intohyperlocal
's server and client features. This helps reduce compile times for dependents only needing one of the features. To further reduce compile times, this PR also exchangespin-project
forpin-project-lite
and removes thefutures-util
dependency:pin-project-lite
is used overpin-project
intokio
, and Ruststd::future
is now standard enough to accomplish what is included fromfutures-util
.cargo clean
before each run):cargo build --no-default-features --features=client
cargo build --no-default-features --features=server
cargo build --all-features