Skip to content

Commit 7d534a0

Browse files
author
e1732a364fed
committed
arrange Cargo.toml
1 parent fd199f8 commit 7d534a0

File tree

4 files changed

+37
-34
lines changed

4 files changed

+37
-34
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ reqwest = { version = "0.12", default-features = false, features = [
6363
toml = "0.8"
6464
chrono = { version = "0.4", features = ["serde"] }
6565
serde_json = "1.0"
66+
serde_path_to_error = "0.1"
6667

6768

6869
[dependencies]

crates/ruci-cmd/Cargo.toml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,20 +25,24 @@ toml = { workspace = true }
2525
futures = { workspace = true }
2626
tokio-util = { workspace = true }
2727
parking_lot = { workspace = true }
28+
serde_path_to_error = { workspace = true }
29+
2830
tar = { workspace = true, optional = true }
2931

3032
axum = { workspace = true, optional = true }
3133
utoipa = { workspace = true, optional = true }
3234

3335
reqwest = { workspace = true, optional = true }
3436

37+
serde-transcode = "1.1"
38+
serde-value = "0.7"
39+
3540
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
3641
tracing-appender = "0.2"
3742

3843
clap = { version = "4.5", features = ["derive"] }
3944
bytesize = "1.3"
4045

41-
4246
chrono = { version = "0.4", optional = true }
4347
tower = { version = "0.4", features = ["util"], optional = true }
4448
tower-http = { version = "0.5", features = [
@@ -47,14 +51,8 @@ tower-http = { version = "0.5", features = [
4751
"cors",
4852
], optional = true }
4953

50-
5154
rcgen = { version = "0.13", optional = true }
52-
5355
qrcode = { version = "0.14", optional = true, default-features = false }
54-
55-
serde_path_to_error = "0.1"
56-
serde-transcode = "1.1"
57-
serde-value = "0.7"
5856
flate2 = { version = "1.1.0", optional = true }
5957

6058

rucimp/Cargo.toml

Lines changed: 17 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ serde = { workspace = true }
1717
tokio = { workspace = true }
1818
anyhow = { workspace = true }
1919
futures = { workspace = true }
20-
tar = { workspace = true }
2120
async-trait = { workspace = true }
2221
tokio-util = { workspace = true }
2322
parking_lot = { workspace = true }
@@ -26,22 +25,23 @@ futures-lite = { workspace = true }
2625
pin-project = { workspace = true }
2726

2827
data-source = { workspace = true }
29-
axum = { workspace = true, optional = true }
30-
tower-http = { workspace = true, optional = true }
31-
utoipa = { workspace = true, optional = true }
32-
33-
reqwest = { workspace = true }
34-
utoipa-swagger-ui = { version = "9", optional = true, features = ["axum"] }
3528

3629
chrono = { workspace = true }
3730

3831
serde_json = { workspace = true }
39-
serde_path_to_error = "0.1"
32+
serde_path_to_error = { workspace = true }
33+
tar = { workspace = true }
34+
reqwest = { workspace = true }
35+
36+
37+
axum = { workspace = true, optional = true }
38+
tower-http = { workspace = true, optional = true }
39+
utoipa = { workspace = true, optional = true }
40+
4041

4142
strum = "0.27"
4243
strum_macros = "0.27"
4344

44-
4545
lazy_static = "1"
4646
base64 = "0.22"
4747
itertools = "0.14"
@@ -50,13 +50,21 @@ thiserror = "2"
5050
clash_rules = "0.1.19"
5151
geosite-rs = "0.1.6"
5252

53+
dashmap = "6.1"
54+
array-init = "2.1"
55+
56+
md5 = "0.7"
57+
zip = "2.2"
5358

5459
http = "1.1"
5560
tokio-tungstenite = "0.21"
5661
h2 = { version = "0.4" }
5762
hpack = "0.3"
5863

5964

65+
utoipa-swagger-ui = { version = "9", features = ["axum"], optional = true }
66+
67+
6068
mlua = { version = "0.10", features = [
6169
"serialize",
6270
"async",
@@ -85,26 +93,8 @@ quinn = { version = "0.10", optional = true }
8593
# s2n-quic-rustls = { version = "0.34.0", optional = true }
8694

8795

88-
# smoltcp = { version = "0.12", optional = true, default-features = false, features = [
89-
# "std",
90-
# "log",
91-
# "medium-ip",
92-
# "proto-ipv4",
93-
# "proto-ipv6",
94-
# "socket-icmp",
95-
# "socket-udp",
96-
# "socket-tcp",
97-
# ] }
98-
99-
100-
dashmap = "6.1"
101-
array-init = "2.1"
102-
10396
rustyline = { version = "15.0", optional = true }
10497

105-
md5 = "0.7"
106-
zip = "2.2"
107-
10898

10999
TinyUFO = { version = "0.1", optional = true }
110100

rucimp/src/map/tcp_ip_stack_smoltcp2/mod.rs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,20 @@
22
Defines a [`Map`] called [`Stack`] using user level tcp/ip stack based on `smoltcp`.
33
44
The module is buggy. Do not use. Use mod tcp_ip_stack_smoltcp instead.
5+
6+
cargo.toml:
7+
```toml
8+
smoltcp = { version = "0.12", optional = true, default-features = false, features = [
9+
"std",
10+
"log",
11+
"medium-ip",
12+
"proto-ipv4",
13+
"proto-ipv6",
14+
"socket-icmp",
15+
"socket-udp",
16+
"socket-tcp",
17+
] }
18+
```
519
*/
620
pub mod device;
721
pub mod ip_packet;

0 commit comments

Comments
 (0)