1 | [package] |
2 | name = "http-body-util" |
3 | # When releasing to crates.io: |
4 | # - Remove path dependencies |
5 | # - Update html_root_url. |
6 | # - Update doc url |
7 | # - Cargo.toml |
8 | # - README.md |
9 | # - Update CHANGELOG.md. |
10 | # - Create "http-body-util-x.y.z" git tag. |
11 | version = "0.1.3" |
12 | authors = [ |
13 | "Carl Lerche <me@carllerche.com>" , |
14 | "Lucio Franco <luciofranco14@gmail.com>" , |
15 | "Sean McArthur <sean@seanmonstar.com>" , |
16 | ] |
17 | edition = "2018" |
18 | readme = "../README.md" |
19 | documentation = "https://docs.rs/http-body-util" |
20 | repository = "https://github.com/hyperium/http-body" |
21 | license = "MIT" |
22 | description = "" " |
23 | Combinators and adapters for HTTP request or response bodies. |
24 | " "" |
25 | keywords = ["http" ] |
26 | categories = ["web-programming" ] |
27 | rust-version = "1.61" |
28 | |
29 | [features] |
30 | default = [] |
31 | channel = ["dep:tokio" ] |
32 | full = ["channel" ] |
33 | |
34 | [dependencies] |
35 | bytes = "1" |
36 | futures-core = { version = "0.3" , default-features = false } |
37 | http = "1" |
38 | http-body = { version = "1" , path = "../http-body" } |
39 | pin-project-lite = "0.2" |
40 | |
41 | # optional dependencies |
42 | tokio = { version = "1" , features = ["sync" ], optional = true } |
43 | |
44 | [dev-dependencies] |
45 | futures-util = { version = "0.3" , default-features = false } |
46 | tokio = { version = "1" , features = ["macros" , "rt" , "sync" , "rt-multi-thread" ] } |
47 | |