/ tcp / Cargo.toml
Cargo.toml
 1  [package]
 2  name = "adnet-core-tcp"
 3  version = "0.1.0"
 4  authors = [ "ADnet Contributors" ]
 5  description = "A TCP stack for the ADnet decentralized operating system"
 6  homepage = "https://github.com/BlockBlox-MD"
 7  repository = "https://github.com/BlockBlox-MD/adnet-core"
 8  keywords = [
 9    "adnet",
10    "networking",
11    "tcp",
12    "blockchain",
13    "decentralized"
14  ]
15  categories = [ "network-programming", "asynchronous" ]
16  license = "Apache-2.0"
17  edition = "2024"
18  
19  [features]
20  default = [ ]
21  locktick = [ "dep:locktick" ]
22  metrics = [ ]
23  
24  [lints.rust]
25  unexpected_cfgs = { level = "allow", check-cfg = ['cfg(feature, values("metrics"))'] }
26  
27  [dependencies.async-trait]
28  workspace = true
29  
30  [dependencies.bytes]
31  workspace = true
32  
33  [dependencies.parking_lot]
34  workspace = true
35  
36  [dependencies.futures-util]
37  workspace = true
38  features = [ "sink" ]
39  
40  [dependencies.locktick]
41  workspace = true
42  features = [ "parking_lot" ]
43  optional = true
44  
45  [dependencies.once_cell]
46  workspace = true
47  features = [ "parking_lot" ]
48  
49  [dependencies.tokio]
50  workspace = true
51  features = [ "io-util", "net", "parking_lot", "rt", "sync", "time" ]
52  
53  [dependencies.tokio-util]
54  workspace = true
55  features = [ "codec" ]
56  
57  [dependencies.tracing]
58  workspace = true
59  
60  [dependencies.thiserror]
61  workspace = true
62  
63  [dev-dependencies.tokio]
64  workspace = true
65  features = [ "macros" ]