Skip to content

Commit 0129e86

Browse files
author
messica
committed
feat: architecture upgrade
1 parent 1782216 commit 0129e86

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

93 files changed

+7780
-1332
lines changed

Cargo.lock

Lines changed: 1684 additions & 433 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 56 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,60 @@
11
[package]
2-
name = "subscription_convert"
3-
version = "1.0.0-alpha.1"
2+
name = "proxy-convert"
3+
version = "2.0.0"
44
edition = "2021"
5+
authors = ["Messica <Messica@example.com>"]
6+
description = "A modern, extensible tool for converting between different proxy configuration formats with multi-input integration support (Clash, Sing-box, V2Ray, etc.)"
7+
license = "MIT"
8+
repository = "https://github.com/picopock/proxy-convert"
9+
keywords = ["proxy", "clash", "sing-box", "v2ray", "subscription", "converter", "configuration", "multi-input", "integration"]
10+
categories = ["command-line-utilities", "network-programming"]
511

612
[dependencies]
7-
clap = { version = "4", features = ["derive"] }
8-
reqwest = { version = "0", default-features = false, features = ["blocking", "json", "rustls-tls"]}
9-
serde = { version = "1", features = ["derive"] }
10-
serde_json = "1"
11-
serde_with = "3"
12-
serde_yaml = "0.9.33"
13-
url = "2"
13+
14+
clap = { version = "4.5", features = ["derive"] }
15+
16+
reqwest = { version = "0.12", features = ["json", "rustls-tls-native-roots"] }
17+
tokio = { version = "1.48", features = ["full"] }
18+
19+
serde = { version = "1.0", features = ["derive"] }
20+
serde_json = { version = "1.0", features = ["preserve_order"] }
21+
serde_yaml = "0.9"
22+
23+
anyhow = "1.0"
24+
thiserror = "2.0"
25+
indexmap = "2.12"
26+
27+
tracing = "0.1"
28+
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
29+
30+
config = "0.15"
31+
dirs = "6.0"
32+
33+
url = "2.5"
34+
serde_with = "3.15"
35+
chrono = { version = "0.4", features = ["serde"] }
36+
regex = "1.12"
37+
38+
cached = { version = "0.56", features = ["async"] }
39+
base64 = "0.22.1"
40+
urlencoding = "2.1"
41+
42+
[dev-dependencies]
43+
tokio-test = "0.4"
44+
tempfile = "3.23"
45+
wiremock = "0.6"
46+
47+
[[bin]]
48+
name = "proxy-convert"
49+
path = "src/main.rs"
50+
51+
[profile.release]
52+
opt-level = 3
53+
lto = true
54+
codegen-units = 1
55+
panic = "abort"
56+
strip = true
57+
58+
[profile.dev]
59+
opt-level = 0
60+
debug = true

0 commit comments

Comments
 (0)