-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathCargo.toml
More file actions
65 lines (51 loc) · 1.68 KB
/
Cargo.toml
File metadata and controls
65 lines (51 loc) · 1.68 KB
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
[package]
name = "proxy-convert"
version = "2.0.0"
edition = "2021"
authors = ["Messica <Messica@example.com>"]
description = "A modern, extensible tool for converting between different proxy configuration formats with multi-input integration support (Clash, Sing-box, V2Ray, etc.)"
license = "MIT"
repository = "https://github.com/picopock/proxy-convert"
keywords = ["proxy", "clash", "sing-box", "v2ray", "subscription", "converter", "configuration", "multi-input", "integration"]
categories = ["command-line-utilities", "network-programming"]
[lib]
name = "proxy_convert"
path = "src/lib.rs"
[dependencies]
clap = { version = "4.5", features = ["derive"] }
# default-features = false to avoid native-tls/openssl-sys on Linux (CI aarch64/musl have no OpenSSL)
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls", "rustls-tls-native-roots"] }
tokio = { version = "1.48", features = ["full"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = { version = "1.0", features = ["preserve_order"] }
serde_yaml = "0.9"
anyhow = "1.0"
thiserror = "2.0"
indexmap = { version = "2.12", features = ["serde"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
config = "0.15"
dirs = "6.0"
url = "2.5"
serde_with = "3.15"
chrono = { version = "0.4", features = ["serde"] }
regex = "1.12"
cached = { version = "0.56", features = ["async"] }
base64 = "0.22.1"
urlencoding = "2.1"
[dev-dependencies]
tokio-test = "0.4"
tempfile = "3.23"
wiremock = "0.6"
[[bin]]
name = "proxy-convert"
path = "src/main.rs"
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
panic = "abort"
strip = true
[profile.dev]
opt-level = 0
debug = true