-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
132 lines (120 loc) · 4 KB
/
Copy pathCargo.toml
File metadata and controls
132 lines (120 loc) · 4 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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
[workspace]
resolver = "3"
members = [
"crates/*"
]
[workspace.package]
edition = "2024"
rust-version = "1.88"
[workspace.dependencies]
dag = { git = "https://github.com/AerynOS/os-tools.git", rev = "d59820d0e735767166891f0def6e9ccb79f145f8" }
moss = { git = "https://github.com/AerynOS/os-tools.git", rev = "d59820d0e735767166891f0def6e9ccb79f145f8" }
stone = { git = "https://github.com/AerynOS/os-tools.git", rev = "d59820d0e735767166891f0def6e9ccb79f145f8" }
stone_recipe = { git = "https://github.com/AerynOS/os-tools.git", rev = "d59820d0e735767166891f0def6e9ccb79f145f8" }
arc-swap = "1.8.0"
async-trait = "0.1.88"
axum = "0.8.0"
base64 = "0.22.1"
bitflags = "2.4.1"
bytes = "1.5"
camino = "1.1.9"
chrono = "0.4.30"
color-eyre = "0.6.2"
flate2 = "1.0"
hex = "0.4.3"
http = "1.0"
http-serde = "2.0"
include_dir = "0.7.4"
indexmap = "2.14.0"
itertools = "0.14.0"
minijinja = "2.9.0"
minijinja-autoreload = "2.9.0"
natural-sort-rs = "0.2.1"
prost = "0.14.1"
prost-build = "0.14.1"
prost-reflect = "0.16.1"
prost-types = "0.14.1"
rand = "0.8.5"
rayon = "1.10.0"
serde_json = "1.0"
sha2 = "0.10.8"
snafu = "0.8.5"
tempfile = "3.20.0"
test-case = "3.3.1"
thiserror = "2.0.3"
tokio-stream = "0.1.14"
tokio-util = "0.7"
toml = "0.9.5"
tonic-prost = "0.14.1"
tonic-prost-build = "0.14.1"
tracing = "0.1.40"
url = "2.5.2"
petgraph = "0.8.2"
zstd = "0.13.2"
vergen-gitcl = "9.1"
clap = { version = "4.4", features = ["derive"] }
derive_more = { version = "2.0.1", features = ["display", "from", "into", "as_ref"] }
ed25519-dalek = { version = "2.1.0", features = ["rand_core", "pkcs8", "pem"] }
futures-util = { version = "0.3.30", default-features = false }
jsonwebtoken = { version = "9.2.0", default-features = false }
reqwest = { version = "0.12.9", features = ["json"] }
serde = { version = "1.0", features = ["derive"] }
sqlx = { version = "=0.8.6", features = ["sqlite", "chrono", "uuid", "runtime-tokio"] }
strum = { version = "0.27.1", features = ["derive"] }
tokio = { version = "1.35.1", features = ["full"] }
tonic = { version = "0.14.1", features = ["tls-native-roots", "tls-aws-lc"] }
tower = { version = "0.5.1", features = ["util"] }
tower-http = { version = "0.6.2", features = ["fs", "set-header"] }
tracing-futures = { version = "0.2.5", features = ["futures-03"] }
tracing-subscriber = { version = "0.3.18", features = ["env-filter", "json"] }
uuid = { version = "1.6.1", features = ["v4", "serde"] }
# This was recommended for static musl builds to work, but it doesn't on a f41 install...
# openssl = { version = "*", features = ["vendored"] }
[workspace.lints.rust]
rust_2018_idioms = { level = "warn", priority = -1 }
semicolon_in_expressions_from_macros = "warn"
unused_import_braces = "warn"
unused_qualifications = "warn"
[workspace.lints.clippy]
branches_sharing_code = "warn"
cloned_instead_of_copied = "warn"
disallowed_types = "warn"
empty_line_after_outer_attr = "warn"
inefficient_to_string = "warn"
macro_use_imports = "warn"
map_flatten = "warn"
missing_enforced_import_renames = "warn"
mut_mut = "warn"
nonstandard_macro_braces = "warn"
# fixing this requires sacrificing some ergonomics
result_large_err = "allow"
semicolon_if_nothing_returned = "warn"
str_to_string = "warn"
uninlined_format_args = "warn"
unreadable_literal = "warn"
wildcard_imports = "warn"
[profile.release]
lto = "thin"
# intended to (eventually) be used with fully static, drop-in deployment musl builds
[profile.packaging]
inherits = "release"
lto = true
codegen-units = 1
opt-level = 3
# allow packaging system to do it
strip = "none"
debug = true
# used for goldilocks zone build times vs. runtime perf
[profile.infratest]
inherits = "dev"
opt-level = 2
# Clean infratest dev-based profile build times on a 5950X system
#
# dev : 0m34s = 100%
# -O1 : 1m18s = 229%
# -O2 : 1m29s = 261%
# -O1 thinlto : 1m37s = 285%
# -O2 thinlto : 1m48s = 317%
[patch.crates-io]
sqlx = { git = "https://github.com/tarkah/sqlx", branch = "task/sqlite3-version" }
kdl = { git = "https://github.com/kdl-org/kdl-rs", rev = "e9df058c25cd4486df8fe568d2ff24ea2c4ed0e8" }