Skip to content

Commit bec826a

Browse files
author
e1732a364fed
committed
improve Cargo.toml
1 parent d9cb60f commit bec826a

File tree

4 files changed

+7
-19
lines changed

4 files changed

+7
-19
lines changed

Cargo.toml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ chrono = { version = "0.4", features = ["serde"] }
6565
serde_json = "1.0"
6666
serde_path_to_error = "0.1"
6767
openport = { version = "0.1.1", features = ["rand"] }
68+
base64 = "0.22"
6869

6970

7071
[dependencies]
@@ -86,19 +87,16 @@ parking_lot.workspace = true
8687
smallvec.workspace = true
8788
dyn-clone.workspace = true
8889
openport.workspace = true
90+
base64.workspace = true
8991

9092

9193
typetag = "0.2"
9294
typed-builder = "0.20"
9395
bitflags = "2"
9496
url = "2" #for http proxy
95-
base64 = "0.22"
9697
sha2 = "0.10" #for trojan
9798

98-
9999
hickory-resolver = { version = "0.24", features = ["serde-config"] }
100-
101-
102100
tun = { version = "0.7", features = ["async"] }
103101

104102
[features]

crates/ruci-cmd/Cargo.toml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ jni = "0.21"
1616
ruci = { path = "../.." }
1717
rucimp = { path = "../../rucimp" }
1818
data-source.workspace = true
19-
2019
tracing.workspace = true
2120
anyhow.workspace = true
2221
tokio.workspace = true
@@ -26,13 +25,11 @@ futures.workspace = true
2625
tokio-util.workspace = true
2726
parking_lot.workspace = true
2827
serde_path_to_error.workspace = true
29-
3028
tar = { workspace = true, optional = true }
31-
3229
axum = { workspace = true, optional = true }
3330
utoipa = { workspace = true, optional = true }
34-
3531
reqwest = { workspace = true, optional = true }
32+
chrono = { workspace = true, optional = true }
3633

3734

3835
serde-transcode = "1.1"
@@ -44,8 +41,6 @@ tracing-appender = "0.2"
4441
clap = { version = "4.5", features = ["derive"] }
4542
bytesize = "2"
4643

47-
chrono = { version = "0.4", optional = true }
48-
4944
rcgen = { version = "0.13", optional = true }
5045
qrcode = { version = "0.14", optional = true, default-features = false }
5146
flate2 = { version = "1.1", optional = true }

crates/ruci-rustls22/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ license = "MIT OR Apache-2.0"
66

77

88
[dependencies]
9+
ruci = { path = "../.." }
10+
911
tracing.workspace = true
1012
rand.workspace = true
1113
serde.workspace = true
@@ -16,7 +18,6 @@ futures.workspace = true
1618
async-trait.workspace = true
1719
openport.workspace = true
1820

19-
ruci = { path = "../.." }
2021

2122
rustls-pemfile = "1.0"
2223

rucimp/Cargo.toml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ ruci-recorder = { path = "../crates/ruci-recorder" }
1010
ruci-rustls22 = { path = "../crates/ruci-rustls22" }
1111
ruci-rustls21 = { path = "../crates/ruci-rustls21", optional = true }
1212
user_trait.workspace = true
13+
data-source.workspace = true
1314
tracing.workspace = true
1415
bytes.workspace = true
1516
rand.workspace = true
@@ -23,27 +24,21 @@ parking_lot.workspace = true
2324
dyn-clone.workspace = true
2425
futures-lite.workspace = true
2526
pin-project.workspace = true
26-
27-
data-source.workspace = true
28-
2927
chrono.workspace = true
30-
3128
serde_json.workspace = true
3229
serde_path_to_error.workspace = true
3330
tar.workspace = true
3431
reqwest.workspace = true
35-
32+
base64.workspace = true
3633

3734
axum = { workspace = true, optional = true }
3835
tower-http = { workspace = true, optional = true }
3936
utoipa = { workspace = true, optional = true }
4037

41-
4238
strum = "0.27"
4339
strum_macros = "0.27"
4440

4541
lazy_static = "1"
46-
base64 = "0.22"
4742
itertools = "0.14"
4843
thiserror = "2"
4944

@@ -64,7 +59,6 @@ hpack = "0.3"
6459

6560
utoipa-swagger-ui = { version = "9", features = ["axum"], optional = true }
6661

67-
6862
mlua = { version = "0.10", features = [
6963
"serialize",
7064
"async",

0 commit comments

Comments
 (0)