-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathCargo.toml
77 lines (65 loc) · 2.03 KB
/
Cargo.toml
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
[package]
name = "hiper-bridge"
version = "0.0.2"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[package.metadata.winres]
OriginalFilename = "HiPerBridge.exe"
ProductName = "HiPer Bridge"
FileDescription = "HiPer Bridge - A GUI for HiPer Network Framework"
LegalCopyright = "Copyright © SteveXMH 2020-2022"
[dependencies]
scl-gui-widgets = { git = "https://github.com/ffip/scl.git", branch = "main" }
scl-macro = { git = "https://github.com/ffip/scl.git", branch = "main" }
anyhow = "1.0"
clipboard = "0.5"
druid = { git = "https://github.com/linebender/druid.git", features = ["im"] }
oneshot = "0.1.3"
sha1_smol = { version = "1", features = ["std"] }
serde = { version = "1.0", features = ["derive"] }
path-absolutize = "3.0"
tinyjson = "2"
tinyget = { version = "1.0", features = ["https"] }
once_cell = "1.13.1"
libflate = "2.0.0"
chrono = "0.4.22"
dirs = "5.0.1"
zip = "^0.6.2"
[target.'cfg(target_os = "macos")'.dependencies]
objc = "*"
cocoa = "*"
core-foundation = "*"
[target.'cfg(unix)'.dependencies.nix]
version = "*"
features = ["process", "user"]
[target.'cfg(any(target_os = "linux",target_os = "macos"))'.dependencies]
sudo = "0.6.0"
[target.'cfg(target_os = "windows")'.dependencies]
winapi = { version = "0.3.9", features = ["handleapi", "processthreadsapi", "winnt", "winuser", "securitybaseapi", "impl-default"] }
[target.'cfg(target_os = "windows")'.dependencies.windows]
version = "0.52"
features = [
"Win32_System_Diagnostics_Debug",
"Win32_Foundation",
"Win32_Graphics_Gdi",
"Win32_System_Console",
"Win32_System_LibraryLoader",
"Win32_System_ProcessStatus",
"Win32_System_Registry",
"Win32_System_SystemInformation",
"Win32_System_Threading",
"Win32_UI_Shell",
"Win32_UI_WindowsAndMessaging",
]
[target.'cfg(target_os = "windows")'.build-dependencies]
winres = "*"
[profile.release]
opt-level = 'z'
debug = 0
debug-assertions = false
strip= "debuginfo"
lto = true
panic = 'abort'
incremental = false
codegen-units = 1
rpath = false