-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
88 lines (78 loc) · 2.59 KB
/
Copy pathCargo.toml
File metadata and controls
88 lines (78 loc) · 2.59 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
[package]
name = "alter"
version = "1.1.0"
edition = "2021"
description = "RunDock developer project console"
[lib]
name = "alter"
path = "src/lib.rs"
[[bin]]
name = "alter"
path = "src/main.rs"
[[test]]
name = "daemon_lifecycle"
path = "tests/integration/daemon_lifecycle_test.rs"
[dependencies]
tokio = { version = "1", features = ["full"] }
axum = { version = "0.8", features = ["macros", "ws"] }
tower-http = { version = "0.6", features = ["cors", "trace"] }
tokio-stream = { version = "0.1", features = ["sync"] }
clap = { version = "4", features = ["derive", "env"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
sha2 = "0.10"
toml = "0.8"
uuid = { version = "1", features = ["v4", "serde"] }
chrono = { version = "0.4", features = ["serde"] }
anyhow = "1"
dashmap = "6"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "fmt"] }
tracing-appender = "0.2"
rust-embed = { version = "8", features = ["axum-ex"] }
notify = { version = "6", features = [] }
reqwest = { version = "0.12", default-features = false, features = ["json", "stream", "rustls-tls"] }
futures = "0.3"
async-stream = "0.3"
dirs = "5"
bytes = "1"
mime_guess = "2"
socket2 = { version = "0.5", features = ["all"] }
cron = "0.12"
sysinfo = { version = "0.32", default-features = false, features = ["system"] }
dotenvy = "0.15.7"
copilot-client = "0.1.0"
argon2 = "0.5"
rand_core = { version = "0.6", features = ["getrandom"] }
portable-pty = "0.8"
console-subscriber = { version = "0.4", optional = true }
[build-dependencies]
winresource = "0.1"
[features]
default = ["windows-resource"]
tokio-console = ["dep:console-subscriber"]
windows-resource = []
[target.'cfg(not(windows))'.dependencies]
libc = "0.2"
[target.'cfg(windows)'.dependencies]
windows = { version = "0.58", features = [
"Win32_System_Threading",
"Win32_System_JobObjects",
"Win32_System_Diagnostics_ToolHelp",
"Win32_Foundation",
"Win32_Storage_FileSystem",
"Win32_Security_Cryptography",
"Win32_Security_WinTrust",
"Win32_Networking_WinSock",
] }
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true
# Faster release builds for day-to-day use — thin LTO, parallel codegen
[profile.release-fast]
inherits = "release"
lto = "thin"
codegen-units = 8
strip = true