Skip to content

Commit b529159

Browse files
cargo: sort dependencies for crates alphabetically
1 parent 9cf4f49 commit b529159

File tree

5 files changed

+75
-75
lines changed

5 files changed

+75
-75
lines changed

Cargo.toml

+22-22
Original file line numberDiff line numberDiff line change
@@ -19,27 +19,27 @@ undocumented_unsafe_blocks = "deny"
1919
unsafe_code = "deny"
2020

2121
[workspace.dependencies]
22-
twelf = { version = "0.15.0", default-features = false, features = ["env", "clap", "yaml"]}
23-
tracing-subscriber = "0.3.17"
24-
tracing = "0.1.37"
25-
tokio = { version = "1.33.0", features = ["rt-multi-thread", "macros", "net", "time", "sync", "io-util"] }
26-
tokio-util = "0.7.10"
27-
tokio-stream = "0.1.14"
28-
thiserror = "1.0.57"
29-
test-case = "3.1.0"
30-
socket2 = "0.5.5"
31-
serde = "1.0.189"
32-
rand = "0.8.5"
33-
pnet = "0.35.0"
34-
more-asserts = "0.3.1"
35-
metrics = "0.23.0"
36-
educe = { version = "0.6.0", default-features = false, features = ["Debug"] }
37-
delegate = "0.12.0"
38-
ctrlc = { version = "3.4.2", features = ["termination"] }
39-
clap = { version = "4.4.7", features = ["derive"] }
40-
bytes = "1.5.0"
41-
async-trait = "0.1.77"
42-
async-channel = { version = "2.1.1" }
4322
anyhow = "1.0.79"
44-
lightway-core = { path = "./lightway-core" }
23+
async-channel = { version = "2.1.1" }
24+
async-trait = "0.1.77"
25+
bytes = "1.5.0"
26+
clap = { version = "4.4.7", features = ["derive"] }
27+
ctrlc = { version = "3.4.2", features = ["termination"] }
28+
delegate = "0.12.0"
29+
educe = { version = "0.6.0", default-features = false, features = ["Debug"] }
4530
lightway-app-utils = { path = "./lightway-app-utils" }
31+
lightway-core = { path = "./lightway-core" }
32+
metrics = "0.23.0"
33+
more-asserts = "0.3.1"
34+
pnet = "0.35.0"
35+
rand = "0.8.5"
36+
serde = "1.0.189"
37+
socket2 = "0.5.5"
38+
test-case = "3.1.0"
39+
thiserror = "1.0.57"
40+
tokio = { version = "1.33.0", features = ["rt-multi-thread", "macros", "net", "time", "sync", "io-util"] }
41+
tokio-stream = "0.1.14"
42+
tokio-util = "0.7.10"
43+
tracing = "0.1.37"
44+
tracing-subscriber = "0.3.17"
45+
twelf = { version = "0.15.0", default-features = false, features = ["env", "clap", "yaml"]}

lightway-app-utils/Cargo.toml

+12-12
Original file line numberDiff line numberDiff line change
@@ -11,27 +11,27 @@ readme = "README.md"
1111

1212
[features]
1313
default = [ "tokio" ]
14-
tokio = [ "dep:tokio", "dep:tokio-stream" ]
1514
io-uring = [ "dep:io-uring", "dep:async-channel", "dep:tokio", "dep:tokio-eventfd" ]
15+
tokio = [ "dep:tokio", "dep:tokio-stream" ]
1616

1717
[dependencies]
18-
lightway-core = { workspace = true }
18+
anyhow = { workspace = true }
19+
async-channel = { workspace = true, optional = true }
20+
bytes = { workspace = true }
21+
clap = { workspace = true }
22+
dashmap = "6.0.1"
1923
humantime = "2.1.0"
24+
io-uring = { version = "0.6.3", optional = true }
25+
lightway-core = { workspace = true }
26+
metrics = { workspace = true }
2027
serde = { workspace = true }
2128
serde_with = "3.4.0"
29+
thiserror = { workspace = true }
2230
tokio = { workspace = true, optional = true }
31+
tokio-eventfd = { version = "0.2.1", optional = true }
2332
tokio-stream = { workspace = true, optional = true }
24-
io-uring = { version = "0.6.3", optional = true }
25-
async-channel = { workspace = true, optional = true }
26-
clap = { workspace = true }
27-
tracing-subscriber = { workspace = true, features = ["json"] }
2833
tokio-util = { workspace = true }
29-
tokio-eventfd = { version = "0.2.1", optional = true }
30-
anyhow = { workspace = true }
31-
bytes = { workspace = true }
32-
dashmap = "6.0.1"
33-
thiserror = { workspace = true }
34-
metrics = { workspace = true }
34+
tracing-subscriber = { workspace = true, features = ["json"] }
3535
tun2 = { version = "2.0.3", features = ["async"] }
3636

3737
[[example]]

lightway-client/Cargo.toml

+15-15
Original file line numberDiff line numberDiff line change
@@ -11,30 +11,30 @@ license = "GPL-2.0-only"
1111
[features]
1212
default = ["postquantum", "io-uring"]
1313
debug = ["lightway-core/debug"]
14-
postquantum = ["lightway-core/postquantum"]
1514
io-uring = ["lightway-app-utils/io-uring"]
15+
postquantum = ["lightway-core/postquantum"]
1616

1717
[dependencies]
18-
lightway-core = { workspace = true }
19-
lightway-app-utils = { workspace = true }
20-
tokio = { workspace = true }
21-
clap = { workspace = true }
2218
anyhow = { workspace = true }
2319
async-trait = { workspace = true }
2420
bytes = { workspace = true }
25-
serde = { workspace = true, features = ["derive"] }
26-
tracing-subscriber = { workspace = true}
27-
tracing = { workspace = true }
28-
tokio-stream = { workspace = true, features = ["time"] }
29-
twelf = { workspace = true }
30-
socket2 = { workspace = true }
3121
bytesize = { version = "1.3.0", features = ["serde"] }
32-
libc = "0.2.152"
33-
futures = "0.3.30"
34-
tokio-util = { workspace = true }
22+
clap = { workspace = true }
3523
ctrlc = { workspace = true }
36-
pnet = { workspace = true }
3724
educe = { workspace = true }
25+
futures = "0.3.30"
26+
libc = "0.2.152"
27+
lightway-app-utils = { workspace = true }
28+
lightway-core = { workspace = true }
29+
pnet = { workspace = true }
30+
serde = { workspace = true, features = ["derive"] }
31+
socket2 = { workspace = true }
32+
tokio = { workspace = true }
33+
tokio-stream = { workspace = true, features = ["time"] }
34+
tokio-util = { workspace = true }
35+
tracing = { workspace = true }
36+
tracing-subscriber = { workspace = true}
37+
twelf = { workspace = true }
3838

3939
[dev-dependencies]
4040
more-asserts = { workspace = true }

lightway-core/Cargo.toml

+11-11
Original file line numberDiff line numberDiff line change
@@ -18,24 +18,24 @@ postquantum = ["wolfssl/postquantum"]
1818

1919
[dependencies]
2020
bytes = { workspace = true }
21-
num_enum = "0.7.0"
22-
thiserror = { workspace = true }
21+
delegate = { workspace = true }
22+
if_chain = "1.0.2"
23+
lru = "0.12.1"
24+
metrics = { workspace = true }
2325
more-asserts = { workspace = true }
24-
wolfssl = { git = "https://github.com/expressvpn/wolfssl-rs", default-features = false }
26+
num_enum = "0.7.0"
27+
once_cell = "1.19.0"
28+
pnet = { workspace = true }
2529
rand = { workspace = true }
2630
rand_core = "0.6.4"
31+
thiserror = { workspace = true }
2732
tracing = { workspace = true }
28-
pnet = { workspace = true }
29-
delegate = { workspace = true }
30-
lru = "0.12.1"
31-
once_cell = "1.19.0"
32-
metrics = { workspace = true }
33-
if_chain = "1.0.2"
33+
wolfssl = { git = "https://github.com/expressvpn/wolfssl-rs", default-features = false }
3434

3535
[dev-dependencies]
3636
async-trait = { workspace = true }
37-
test-case = { workspace = true }
3837
itertools = "0.13.0"
38+
lightway-app-utils = { workspace = true }
39+
test-case = { workspace = true }
3940
tokio = { workspace = true }
4041
tokio-stream = { workspace = true }
41-
lightway-app-utils = { workspace = true }

lightway-server/Cargo.toml

+15-15
Original file line numberDiff line numberDiff line change
@@ -14,31 +14,31 @@ debug = ["lightway-core/debug"]
1414
io-uring = ["lightway-app-utils/io-uring"]
1515

1616
[dependencies]
17-
lightway-core = { workspace = true, features = ["postquantum"] }
18-
lightway-app-utils = { workspace = true }
19-
tokio = { workspace = true }
20-
clap = { workspace = true }
2117
anyhow = { workspace = true }
18+
async-channel = { workspace = true, optional = true }
19+
async-trait = { workspace = true }
2220
bytes = { workspace = true }
21+
clap = { workspace = true }
22+
ctrlc = { workspace = true }
2323
delegate = { workspace = true }
24-
thiserror = { workspace = true }
25-
tracing-subscriber = { workspace = true, features = ["json"] }
26-
tracing-log = "0.2.0"
27-
tracing = { workspace = true }
24+
educe = { workspace = true }
2825
ipnet = { version = "2.8.0", features = ["serde"]}
26+
lightway-app-utils = { workspace = true }
27+
lightway-core = { workspace = true, features = ["postquantum"] }
2928
metrics = { workspace = true }
3029
metrics-util = "0.17.0"
3130
pnet = { workspace = true }
3231
rand = { workspace = true }
33-
tokio-stream = { workspace = true, features = ["time"] }
34-
time = "0.3.29"
3532
serde = { workspace = true }
36-
twelf = { workspace = true }
3733
socket2 = { workspace = true }
38-
ctrlc = { workspace = true }
39-
async-trait = { workspace = true }
40-
async-channel = { workspace = true, optional = true }
41-
educe = { workspace = true }
34+
thiserror = { workspace = true }
35+
time = "0.3.29"
36+
tokio = { workspace = true }
37+
tokio-stream = { workspace = true, features = ["time"] }
38+
tracing = { workspace = true }
39+
tracing-log = "0.2.0"
40+
tracing-subscriber = { workspace = true, features = ["json"] }
41+
twelf = { workspace = true }
4242

4343
[dev-dependencies]
4444
more-asserts = { workspace = true }

0 commit comments

Comments
 (0)