Debian Codegraph @

third_party/rust/tokio-util/Cargo.toml

raw
1 # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2 #
3 # When uploading crates to the registry Cargo will automatically
4 # "normalize" Cargo.toml files for maximal compatibility
5 # with all versions of Cargo and also rewrite `path` dependencies
6 # to registry (e.g., crates.io) dependencies.
7 #
8 # If you are reading this file be aware that the original Cargo.toml
9 # will likely look very different (and much more reasonable).
10 # See Cargo.toml.orig for the original contents.
11
12 [package]
13 edition = "2018"
14 rust-version = "1.49"
15 name = "tokio-util"
16 version = "0.7.2"
17 authors = ["Tokio Contributors <[email protected]>"]
18 description = """
19 Additional utilities for working with Tokio.
20 """
21 homepage = "https://tokio.rs"
22 categories = ["asynchronous"]
23 license = "MIT"
24 repository = "https://github.com/tokio-rs/tokio"
25
26 [package.metadata.docs.rs]
27 all-features = true
28 rustdoc-args = [
29 "--cfg",
30 "docsrs",
31 ]
32
33 [dependencies.bytes]
34 version = "1.0.0"
35
36 [dependencies.futures-core]
37 version = "0.3.0"
38
39 [dependencies.futures-io]
40 version = "0.3.0"
41 optional = true
42
43 [dependencies.futures-sink]
44 version = "0.3.0"
45
46 [dependencies.futures-util]
47 version = "0.3.0"
48 optional = true
49
50 [dependencies.pin-project-lite]
51 version = "0.2.0"
52
53 [dependencies.slab]
54 version = "0.4.4"
55 optional = true
56
57 [dependencies.tokio]
58 version = "1.7.0"
59 features = ["sync"]
60
61 [dependencies.tracing]
62 version = "0.1.25"
63 optional = true
64
65 [dev-dependencies.async-stream]
66 version = "0.3.0"
67
68 [dev-dependencies.futures]
69 version = "0.3.0"
70
71 [dev-dependencies.futures-test]
72 version = "0.3.5"
73
74 [dev-dependencies.tokio]
75 version = "1.0.0"
76 features = ["full"]
77
78 [dev-dependencies.tokio-stream]
79 version = "0.1"
80
81 [dev-dependencies.tokio-test]
82 version = "0.4.0"
83
84 [features]
85 __docs_rs = ["futures-util"]
86 codec = ["tracing"]
87 compat = ["futures-io"]
88 default = []
89 full = [
90 "codec",
91 "compat",
92 "io-util",
93 "time",
94 "net",
95 "rt",
96 ]
97 io = []
98 io-util = [
99 "io",
100 "tokio/rt",
101 "tokio/io-util",
102 ]
103 net = ["tokio/net"]
104 rt = [
105 "tokio/rt",
106 "tokio/sync",
107 "futures-util",
108 ]
109 time = [
110 "tokio/time",
111 "slab",
112 ]