forked from calagopus/panel
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
104 lines (96 loc) · 3.53 KB
/
Copy pathCargo.toml
File metadata and controls
104 lines (96 loc) · 3.53 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
[workspace]
resolver = "3"
members = ["backend", "database-migrator", "rule-validator", "wings-api", "shared", "schema-extension/*", "backend-extensions/*"]
default-members = ["backend"]
package.rust-version = "1.93.0"
package.license = "MIT"
package.version = "1.0.0-pre.1"
package.edition = "2024"
[workspace.dependencies]
wings-api = { path = "wings-api" }
rule-validator = { path = "rule-validator" }
shared = { path = "shared" }
database-migrator = { path = "database-migrator" }
schema-extension-core = { path = "schema-extension/core" }
schema-extension-derive = { path = "schema-extension/derive" }
tracing = "0.1.41"
tracing-subscriber = { version = "0.3.19", features = ["chrono"] }
tracing-appender = "0.2.3"
sentry = { version = "0.46.0", default-features = false, features = ["rustls", "reqwest", "backtrace", "contexts", "debug-images", "panic"] }
sentry-tower = { version = "0.46.0", default-features = false, features = ["http", "axum-matched-path"] }
sentry-anyhow = "0.46.0"
axum = { version = "0.8.1", features = ["multipart"] }
axum-extra = { version = "0.12.1", features = ["query"] }
include_dir = "0.7.4"
sqlx = { version = "0.8", features = ["runtime-tokio", "tls-rustls-ring-webpki", "postgres", "mysql", "chrono", "ipnetwork", "uuid"] }
tokio = { version = "1.43.0", features = ["full"] }
tokio-util = { version = "0.7.16", features = ["full"] }
async-trait = "0.1.89"
anyhow = "1.0.98"
utoipa = { version = "5.3.1", features = ["axum_extras", "preserve_order", "chrono", "indexmap", "uuid", "rc_schema"] }
utoipa-axum = "0.2.0"
garde = { git = "https://github.com/0x7d8/garde.git", version = "0.22.1", features = ["full"] }
serde = { version = "1.0.218", features = ["derive", "rc"] }
serde_json = { version = "1.0.140", features = ["preserve_order"] }
serde_norway = "0.9.42"
rmp-serde = "1.3.1"
base64 = "0.22.1"
serde-xml-rs = "0.8.2"
reqwest = { version = "0.13.0", features = ["json", "form", "query", "stream"] }
chrono = { version = "0.4.40", features = ["serde"] }
chrono-tz = { version = "0.10.4", features = ["serde"] }
uuid = { version = "1.17.0", features = ["v4", "serde"] }
indexmap = { version = "2.7.1", features = ["serde"] }
regex = "1.11.1"
serde_regex = "1.1.0"
urlencoding = "2.1.3"
cron = { version = "0.15.0", features = ["serde"] }
webauthn-rs = { version = "0.5.2", features = ["danger-allow-state-serialisation"] }
sha2 = "0.10.8"
colored = "3.0.0"
russh = "0.57.0"
futures-util = "0.3.31"
clap = { version = "4.5.37", features = ["derive"] }
rust-s3 = { version = "0.37.0", default-features = false, features = ["tokio-rustls-tls"] }
rand = "0.9.0"
rustis = "0.19.0"
dotenvy = "0.15.7"
oauth2 = { version = "5.0.0", default-features = false }
semver = { version = "1.0.27", features = ["serde"] }
tempfile = "3.23.0"
compact_str = { version = "0.9.0", features = ["serde", "utoipa", "sqlx", "sqlx-postgres", "sqlx-mysql"] }
nestify = "0.3.3"
sysinfo = "0.38.0"
serde_with = "3.16.1"
minijinja = "2.15.1"
[patch.crates-io]
compact_str = { git = "https://github.com/ParkMyCar/compact_str.git" }
# dev (for development)
[profile.dev.package."*"]
opt-level = 2
[profile.dev]
opt-level = 0
codegen-units = 512
debug = false
# release (for github actions)
[profile.release.package."*"]
opt-level = "s"
codegen-units = 1
strip = true
[profile.release]
opt-level = "s"
lto = "fat"
codegen-units = 1
strip = true
# heavy-release (mainly for extension builds)
[profile.heavy-release.package."*"]
opt-level = 2
codegen-units = 16
strip = true
[profile.heavy-release]
inherits = "release"
opt-level = 0
lto = false
codegen-units = 128
incremental = true
strip = true