@@ -10,7 +10,7 @@ license = "MIT"
1010authors = [
" Sean McArthur <[email protected] >" ]
1111keywords = [" http" , " hyper" , " hyperium" ]
1212categories = [" network-programming" , " web-programming::http-client" , " web-programming::http-server" ]
13- edition = " 2018 "
13+ edition = " 2021 "
1414rust-version = " 1.63" # keep in sync with MSRV.md dev doc
1515
1616include = [
@@ -23,7 +23,6 @@ include = [
2323bytes = " 1"
2424http = " 1"
2525http-body = " 1"
26- pin-project-lite = " 0.2.4"
2726tokio = { version = " 1" , features = [" sync" ] }
2827
2928# Optional
@@ -36,6 +35,7 @@ httparse = { version = "1.8", optional = true }
3635httpdate = { version = " 1.0" , optional = true }
3736itoa = { version = " 1" , optional = true }
3837libc = { version = " 0.2" , optional = true }
38+ pin-project-lite = { version = " 0.2.4" , optional = true }
3939tracing = { version = " 0.1" , default-features = false , features = [" std" ], optional = true }
4040want = { version = " 0.3" , optional = true }
4141
@@ -80,8 +80,8 @@ http1 = ["dep:futures-channel", "dep:futures-util", "dep:httparse", "dep:itoa"]
8080http2 = [" dep:futures-channel" , " dep:futures-util" , " dep:h2" ]
8181
8282# Client/Server
83- client = [" dep:want" ]
84- server = [" dep:httpdate" ]
83+ client = [" dep:want" , " dep:pin-project-lite " ]
84+ server = [" dep:httpdate" , " dep:pin-project-lite " ]
8585
8686# C-API support (currently unstable (no semver))
8787ffi = [" dep:libc" , " dep:http-body-util" ]
0 commit comments