Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

giangndm
Copy link
Contributor

@giangndm giangndm commented Jan 3, 2025

In some space constrain devices such as embedded device we need to make the binary smallest as possible. This PR make http2 as feature for allowing reduce binary size some hundreds kB

@User65k
Copy link
Owner

User65k commented Jan 4, 2025

Thank you for your PR.
Sounds very reasonable.
I will add a sentence to the docs and bump the version

Cargo.toml Outdated

http2 = ["hyper/http2"]
cookies = ["cookie_store"]
proxies = ["async-trait"]
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

turns out that the feature proxies also needs tokio/io-util which was pulled by hyper/http2.
Can you please add it here and also as a dev-dependency? (its also used in tests within lib.rs)

@User65k User65k merged commit dc2a3ed into User65k:main Jan 17, 2025
5 checks passed
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.

2 participants