Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
116 lines (101 loc) · 2.75 KB
/
Copy pathCargo.toml
File metadata and controls
116 lines (101 loc) · 2.75 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
[package]
name = "terracotta"
version = "0.0.0-snapshot"
edition = "2024"
build = "build.rs"
[package.metadata.easytier]
version = "v2.5.0-terracotta.2"
[workspace]
resolver = "3"
members = ["timestamp"]
[workspace.package]
version = "0.0.0-snapshot"
[dependencies]
cfg-if = "1.0.1"
chrono = { version = "0.4.41", default-features = false, features = [
"clock",
"std",
"alloc",
] }
lazy_static = "1.5.0"
libc = "0.2.174"
local-ip-address = "0.6.7"
num-bigint = "0.4.6"
open = { version = "5.3.2", default-features = false }
rand_core = { version = "0.9.3", features = ["os_rng"] }
rocket = { version = "0.5.1", default-features = false, features = ["json"] }
serde = "1.0.219"
serde_json = "1.0.141"
sevenz-rust2 = { version = "0.18.0", default-features = false, features = [
"util",
] }
socket2 = "0.6.0"
winapi = { version = "0.3.9", default-features = false, features = ["winbase", "wincon", "handleapi", "processenv", "consoleapi", "sysinfoapi", "tlhelp32", "synchapi", "processthreadsapi", "minwindef"] }
reqwest = { version = "0.12.22", default-features = false, features = ["charset", "http2", "rustls-tls", "deflate", "blocking"]}
timestamp = { path = "timestamp" }
hex = "0.4.3"
rand_chacha = "0.9.0"
parking_lot = "0.12.4"
[target.'cfg(target_os = "macos")'.dependencies]
objc2 = "0.6.1"
objc2-app-kit = "0.3.1"
objc2-foundation = "0.3.1"
objc2-web-kit = "0.3.1"
native-dialog = "0.9.0"
[target.'cfg(target_os = "android")'.dependencies]
easytier = { git = "https://github.com/burningtnt/EasyTier.git", branch = "main"}
jni = { version = "0.21.1", features = ["invocation"] }
# These libraries are the necessities to interact with EasyTier. DO NOT upgrade their version.
uuid = "1"
toml = "0"
tokio = "1"
cidr = { version = "0", features = ["serde"] }
[build-dependencies]
winresource = "0.1"
sevenz-rust2 = { version = "0.18.0", default-features = false, features = [
"compress",
"util",
] }
reqwest = { version = "0.12.22", default-features = false, features = [
"rustls-tls", "charset", "http2", "system-proxy", "blocking", "zstd"
] }
zip = "4.3.0"
toml = "0.9.4"
[lib]
crate-type = ["cdylib"]
[[bin]]
name = "terracotta"
path = "src/main.rs"
[profile.dev]
panic = "abort"
debug = false
strip = "debuginfo"
[profile.dev-slow]
inherits = "dev"
debug = true
strip = "none"
[profile.release]
opt-level = "z"
strip = true
lto = true
codegen-units = 1
panic = "abort"
debug = false
debug-assertions = false
overflow-checks = false
incremental = false
rpath = false
[profile.release.package."*"]
opt-level = "z"
strip = true
codegen-units = 1
debug = false
debug-assertions = false
overflow-checks = false
incremental = false
[profile.release-fast]
inherits = "release"
codegen-units = 64
[profile.release-fast.package."*"]
inherits = "release"
codegen-units = 64