-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
66 lines (55 loc) · 1.26 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
[package]
name = "mptcp"
description = "A helper crate to create MPTCP sockets"
version = "0.1.5"
edition = "2021"
license-file = "LICENSE"
readme = "README.md"
repository = "https://github.com/gdetal/mptcp-rs"
[features]
default = ["std"]
std = []
tokio = ["dep:tokio", "dep:async-trait"]
async-std = ["dep:async-std", "dep:async-trait"]
[[example]]
name = "server-std"
required-features = ["std"]
[[example]]
name = "client-std"
required-features = ["std"]
[[example]]
name = "server-tokio"
required-features = ["tokio"]
[[example]]
name = "client-tokio"
required-features = ["tokio"]
[[example]]
name = "client-async-std"
required-features = ["async-std"]
[dependencies]
lazy_static = "1.4.0"
libc = "0.2.153"
semver = "1.0.22"
socket2 = "0.5.6"
sysctl = "0.5.5"
sysinfo = "0.30.11"
[dependencies.tokio]
version = "1"
features = ["net"]
optional = true
[dependencies.async-std]
version = "1"
optional = true
[dependencies.async-trait]
version = "0.1"
optional = true
[dev-dependencies]
async-h1 = "2.3.4"
axum = "0.7.5"
bytes = "1.6.0"
http-body-util = "0.1.1"
http-types = "2.12.0"
hyper = { version = "1.3.1", features = ["client"] }
hyper-util = { version = "0.1.3", features = ["tokio", "server"] }
tokio = { version = "1", features = ["full"] }
tower-service = "0.3.2"