-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
180 lines (170 loc) · 7.25 KB
/
Copy pathCargo.toml
File metadata and controls
180 lines (170 loc) · 7.25 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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
[workspace]
resolver = "3"
members = [
"crates/*",
"crates/peryx-ecosystem-oci/tests/system-suite",
"crates/peryx-ecosystem-pypi/tests/system-suite",
]
default-members = ["crates/peryx"]
[workspace.package]
version = "0.0.1"
edition = "2024"
rust-version = "1.96"
license = "MIT"
repository = "https://github.com/tox-dev/peryx"
[workspace.lints.clippy]
all = { level = "warn", priority = -1 }
pedantic = { level = "warn", priority = -1 }
nursery = { level = "warn", priority = -1 }
[workspace.lints.rust]
unsafe_code = "deny"
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(coverage)', 'cfg(peryx_loom)'] }
dead_code = "deny"
unused_variables = "warn"
unused_imports = "warn"
[workspace.dependencies]
peryx-archive = { version = "0.0.1", path = "crates/peryx-archive" }
peryx-core = { version = "0.0.1", path = "crates/peryx-core" }
peryx-driver = { version = "0.0.1", path = "crates/peryx-driver" }
peryx-events = { version = "0.0.1", path = "crates/peryx-events" }
peryx-bench-core = { version = "0.0.1", path = "crates/peryx-bench-core" }
peryx-bench = { version = "0.0.1", path = "crates/peryx-bench" }
peryx-index = { version = "0.0.1", path = "crates/peryx-index" }
peryx-search = { version = "0.0.1", path = "crates/peryx-search" }
peryx-ecosystem-pypi = { version = "0.0.1", path = "crates/peryx-ecosystem-pypi" }
peryx-ecosystem-oci = { version = "0.0.1", path = "crates/peryx-ecosystem-oci" }
peryx-policy = { version = "0.0.1", path = "crates/peryx-policy" }
peryx-pql = { version = "0.0.1", path = "crates/peryx-pql" }
peryx-identity = { version = "0.0.1", path = "crates/peryx-identity" }
peryx-plugin-registry = { version = "0.0.1", path = "crates/peryx-plugin-registry" }
peryx-ha = { version = "0.0.1", path = "crates/peryx-ha" }
peryx-ha-distributed = { version = "0.0.1", path = "crates/peryx-ha-distributed" }
peryx-storage = { version = "0.0.1", path = "crates/peryx-storage" }
peryx-upstream = { version = "0.0.1", path = "crates/peryx-upstream" }
peryx-http = { version = "0.0.1", path = "crates/peryx-http" }
peryx-web = { version = "0.0.1", path = "crates/peryx-web" }
peryx-test-support = { version = "0.0.1", path = "crates/peryx-test-support" }
axum = { version = "0.8.9", default-features = false, features = ["http1", "json", "original-uri", "query", "tokio", "tower-log", "tracing"] }
tower = "0.5.3"
tower-http = { version = "0.7.0", features = ["trace"] }
http = "1.5"
http-body = "1.1"
http-body-util = "0.1.5"
mediatype = "0.23.0"
ipnet = { version = "2.12", features = ["serde"] }
sha2 = "0.11"
blake2 = "0.10.6"
md5 = { package = "md-5", version = "0.11" }
csv = "1"
dashmap = "6.2"
tempfile = "3.27"
atomicwrites = "0.4"
testcontainers = { version = "0.28", features = ["http_wait"] }
mimalloc = "0.1.52"
redb = "4.2"
openraft = { version = "0.9.25", features = ["serde", "storage-v2"] }
tokio = "1.53"
reqwest = { version = "0.13.4", default-features = false }
aws-lc-rs = "1.18"
rustls = { version = "0.23.43", default-features = false, features = ["aws_lc_rs", "prefer-post-quantum", "std", "tls12", "logging"] }
axum-server = { version = "0.8", default-features = false, features = ["tls-rustls-no-provider"] }
rustls-acme = { version = "0.15", default-features = false, features = ["aws-lc-rs", "axum", "tls12", "webpki-roots"] }
aws-config = { version = "1.6", default-features = false, features = ["behavior-version-latest", "default-https-client", "rt-tokio"] }
aws-sdk-s3 = { version = "1.144", default-features = false, features = ["behavior-version-latest", "default-https-client", "http-1x", "rt-tokio"] }
aws-smithy-http-client = { version = "1.4", default-features = false, features = ["test-util"] }
bytes = "1.12.1"
cap-fs-ext = "4.0.3"
cap-std = "4.0.3"
httpdate = "1"
futures-core = "0.3.34"
pin-project-lite = "0.2.17"
futures-util = "0.3"
fs4 = "1.1.0"
getrandom = "0.4"
moka = { version = "0.12", features = ["sync"] }
parking_lot = "0.12.5"
tokio-util = { version = "0.7.19", features = ["io"] }
base64 = "0.23.1"
caseless = "0.2.2"
hex = "0.4.3"
argon2 = { version = "0.5", default-features = false, features = ["std"] }
jsonwebtoken = { version = "11", default-features = false, features = ["aws_lc_rs"] }
url = "2.5.8"
wiremock = "0.6"
rstest = "0.26"
clap = { version = "4.6", features = ["derive", "env", "wrap_help"] }
serde = { version = "1.0.229", features = ["derive"] }
serde_json = "1.0.151"
unicode-normalization = "0.1.25"
uuid = { version = "1.25", features = ["serde", "v4"] }
tantivy = { version = "0.26", default-features = false, features = ["mmap", "lz4-compression", "columnar-zstd-compression"] }
toml = "1.1"
insta = "1"
# 0.3.2 widened with_vars/with_vars_unset to accept array literals.
temp-env = "0.3.2"
thiserror = "2.0.20"
async-trait = "0.1.92"
bb8 = { version = "0.9.1", default-features = false }
ldap3 = { version = "0.12.1", default-features = false, features = ["tls-rustls-aws-lc-rs"] }
arc-swap = "1.9"
command-group = { version = "5.0.1", features = ["with-tokio"] }
anyhow = "1.0.104"
tracing = "0.1.44"
sysinfo = { version = "0.39", default-features = false, features = ["disk", "system"] }
utoipa = "5.5"
leptos = "0.8.20"
leptos_axum = "0.8.10"
leptos_meta = "0.8.6"
leptos_router = "0.8.15"
wasm-bindgen = "0.2.127"
# 0.3.9 bundles LLVM 23/raw profile v11: https://github.com/Amanieu/minicov/compare/v0.3.8...v0.3.9
minicov = "=0.3.8"
rustls-native-certs = "0.8.4"
rustix = { version = "1.1.4", features = ["process"] }
regex = "1.13"
shlex = "2.0.1"
zip = { version = "8", default-features = false, features = ["deflate-flate2"] }
tar = { version = "0.4.46", default-features = false }
flate2 = "1.1"
gloo-net = "0.7"
console_error_panic_hook = "0.1"
send_wrapper = "0.6"
web-sys = { version = "0.3.104", features = ["Window", "Document", "Element", "HtmlElement", "DomStringMap", "Navigator", "Clipboard", "MediaQueryList", "Storage"] }
tracing-subscriber = { version = "0.3.23", features = ["env-filter", "json", "fmt"] }
tracing-appender = "0.2"
time = { version = "0.3.55", features = ["formatting", "parsing"] }
percent-encoding = "2.3.2"
criterion = { package = "codspeed-criterion-compat", version = "5.0", default-features = false }
stats_alloc = "0.1.10"
statrs = "0.19"
hdrhistogram = { version = "7.6", default-features = false }
uv-netrc = "0.0.73"
[patch.crates-io]
# https://github.com/GnomedDev/proc-macro-error-2/pull/14 fixes Rust 1.96 future incompatibility.
proc-macro-error2 = { git = "https://github.com/fgardt/proc-macro-error-2", rev = "53ff94b61c678593158db1a3d50269c6f0de0db7" }
[profile.release]
strip = true
lto = "fat"
[profile.bench]
lto = false
# Cargo's default of 16 codegen units repartitions whenever any file in the crate changes, and local
# ThinLTO then folds a different amount of the transform pipeline into `PageTransformer::push_into`.
# That swung `transform::json[large]` between 14.06 ms and 15.71 ms on commits that never touched
# `src/stream/`. One unit pins the inlined body.
[profile.bench.package.peryx-ecosystem-pypi]
codegen-units = 1
[profile.dist]
inherits = "release"
codegen-units = 1
# cargo-leptos hydrates the WASM library while the binary uses peryx-web's SSR default.
[[workspace.metadata.leptos]]
name = "peryx"
bin-package = "peryx"
bin-target = "peryx"
bin-default-features = true
lib-package = "peryx-web"
lib-features = ["hydrate"]
lib-default-features = false
output-name = "peryx_web"
site-root = ".tox/frontend/ui"
site-pkg-dir = "pkg"