@@ -10,7 +10,7 @@ license = "MIT"
10
10
authors = [
" Sean McArthur <[email protected] >" ]
11
11
keywords = [" http" , " hyper" , " hyperium" ]
12
12
categories = [" network-programming" , " web-programming::http-client" , " web-programming::http-server" ]
13
- edition = " 2018 "
13
+ edition = " 2021 "
14
14
rust-version = " 1.63" # keep in sync with MSRV.md dev doc
15
15
16
16
include = [
@@ -23,7 +23,6 @@ include = [
23
23
bytes = " 1"
24
24
http = " 1"
25
25
http-body = " 1"
26
- pin-project-lite = " 0.2.4"
27
26
tokio = { version = " 1" , features = [" sync" ] }
28
27
29
28
# Optional
@@ -36,6 +35,7 @@ httparse = { version = "1.8", optional = true }
36
35
httpdate = { version = " 1.0" , optional = true }
37
36
itoa = { version = " 1" , optional = true }
38
37
libc = { version = " 0.2" , optional = true }
38
+ pin-project-lite = { version = " 0.2.4" , optional = true }
39
39
tracing = { version = " 0.1" , default-features = false , features = [" std" ], optional = true }
40
40
want = { version = " 0.3" , optional = true }
41
41
@@ -80,8 +80,8 @@ http1 = ["dep:futures-channel", "dep:futures-util", "dep:httparse", "dep:itoa"]
80
80
http2 = [" dep:futures-channel" , " dep:futures-util" , " dep:h2" ]
81
81
82
82
# 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 " ]
85
85
86
86
# C-API support (currently unstable (no semver))
87
87
ffi = [" dep:libc" , " dep:http-body-util" ]
0 commit comments