This repository has no description
6.5 kB
193 lines
1[workspace]
2resolver = "3"
3members = ["bobbin/crates/*", "crates/*", "shuttle", "knot2/crates/*"]
4exclude = ["sites"]
5
6[workspace.package]
7version = "0.0.1"
8edition = "2024"
9rust-version = "1.96"
10license = "MIT"
11authors = [
12 "Lewis <lewis@tangled.org>",
13 "Seongmin Lee <git@boltless.me>",
14 "oppiliappan <me@oppi.li>",
15 "Anirudh Oppiliappan <anirudh@tangled.org>",
16 "eti <eti@eti.tf>",
17 "dawn <dawn@tangled.org>",
18]
19
20[workspace.lints.rust]
21unsafe_code = "forbid"
22unused_must_use = "deny"
23
24[workspace.lints.clippy]
25dbg_macro = "warn"
26todo = "warn"
27print_stdout = "deny"
28print_stderr = "warn"
29
30[workspace.dependencies]
31trusted-proxies = { path = "crates/trusted-proxies" }
32
33bobbin-types = { path = "bobbin/crates/types" }
34bobbin-edge-index = { path = "bobbin/crates/edge-index" }
35bobbin-ingest = { path = "bobbin/crates/ingest" }
36bobbin-resolver = { path = "bobbin/crates/resolver" }
37bobbin-slingshot-client = { path = "bobbin/crates/slingshot-client" }
38bobbin-record-lru = { path = "bobbin/crates/record-lru" }
39bobbin-knot-proxy = { path = "bobbin/crates/knot-proxy" }
40bobbin-knot-ingest = { path = "bobbin/crates/knot-ingest" }
41bobbin-runtime = { path = "bobbin/crates/runtime" }
42bobbin-search = { path = "bobbin/crates/search" }
43bobbin-sim = { path = "bobbin/crates/bobbin-sim" }
44bobbin-xrpc = { path = "bobbin/crates/xrpc" }
45
46knot-fixtures = { path = "knot2/crates/knot-fixtures" }
47knot-lexicons = { path = "knot2/crates/knot-lexicons" }
48knot-types = { path = "knot2/crates/knot-types" }
49knot-resource = { path = "knot2/crates/knot-resource" }
50knot-config = { path = "knot2/crates/knot-config" }
51knot-runtime = { path = "knot2/crates/knot-runtime" }
52knot-git = { path = "knot2/crates/knot-git" }
53knot-langs = { path = "knot2/crates/knot-langs" }
54knot-lfs = { path = "knot2/crates/knot-lfs" }
55knot-workflow = { path = "knot2/crates/knot-workflow" }
56knot-pack = { path = "knot2/crates/knot-pack" }
57knot-cob = { path = "knot2/crates/knot-cob" }
58knot-cobs = { path = "knot2/crates/knot-cobs" }
59knot-index = { path = "knot2/crates/knot-index" }
60knot-cache = { path = "knot2/crates/knot-cache" }
61knot-acl = { path = "knot2/crates/knot-acl" }
62knot-atproto = { path = "knot2/crates/knot-atproto" }
63knot-messages = { path = "knot2/crates/knot-messages" }
64knot-postreceive = { path = "knot2/crates/knot-postreceive" }
65knot-receive = { path = "knot2/crates/knot-receive" }
66knot-ssh = { path = "knot2/crates/knot-ssh" }
67knot-secrets = { path = "knot2/crates/knot-secrets" }
68knot-events = { path = "knot2/crates/knot-events" }
69knot-xrpc = { path = "knot2/crates/knot-xrpc" }
70knot-bench = { path = "knot2/crates/knot-bench" }
71knot-maintenance = { path = "knot2/crates/knot-maintenance" }
72knot-sim = { path = "knot2/crates/knot-sim" }
73knot-edge = { path = "knot2/crates/knot-edge" }
74
75jacquard-common = "0.12.1"
76jacquard-derive = "0.12.1"
77jacquard-lexicon = { version = "0.12.1", default-features = false }
78jacquard-repo = "0.12.1"
79
80gix = { version = "0.84", features = ["parallel", "revision", "blob-diff", "worktree-archive", "tree-editor", "sha1", "sha256"] }
81gix-pack = { version = "0.71", default-features = false, features = ["generate", "streaming-input", "sha1", "sha256"] }
82gix-packetline = { version = "0.21", features = ["blocking-io"] }
83gix-archive = "0.33"
84gix-hash = { version = "0.25", features = ["sha1", "sha256"] }
85flate2 = "1"
86
87anyhow = "1"
88miette = "7"
89walkdir = "2"
90
91tokio = { version = "1.52", features = ["macros", "rt-multi-thread", "time", "signal", "io-util", "net", "sync"] }
92tokio-util = { version = "0.7", features = ["rt"] }
93tokio-stream = "0.1"
94tokio-tungstenite = { version = "0.29", features = ["rustls-tls-webpki-roots"] }
95futures = "0.3"
96either = "1"
97async-trait = "0.1"
98
99serde = { version = "1", features = ["derive"] }
100serde_json = { version = "1", features = ["raw_value"] }
101serde_ipld_dagcbor = "0.6"
102serde_norway = "0.9"
103
104chrono = { version = "0.4", features = ["serde"] }
105cid = "0.11"
106url = { version = "2", features = ["serde"] }
107bytes = "1"
108
109scc = "3"
110roaring = "0.11"
111lasso = { version = "0.7", features = ["multi-threaded"] }
112quick_cache = "0.6"
113moka = { version = "0.12", features = ["sync", "future"] }
114getrandom = "0.4"
115ahash = { version = "0.8", default-features = false, features = ["std"] }
116arc-swap = "1"
117
118reqwest = { version = "0.13", default-features = false, features = ["rustls", "webpki-roots", "http2", "json", "gzip", "stream"] }
119axum = "0.8"
120hyper = { version = "1", features = ["server", "http1", "http2"] }
121hyper-util = { version = "0.1", features = ["server", "server-auto", "tokio", "service"] }
122tower = { version = "0.5", features = ["util", "limit", "load-shed"] }
123tower-http = { version = "0.7", default-features = false }
124tower_governor = { version = "0.8", default-features = false, features = ["axum"] }
125governor = "0.10"
126http = "1"
127http-body = "1"
128httpdate = "1"
129ipnet = "2.10"
130
131rustls = { version = "0.23", features = ["aws_lc_rs", "prefer-post-quantum"] }
132tokio-rustls = { version = "0.26", default-features = false, features = ["aws_lc_rs", "tls12", "logging"] }
133rustls-pemfile = "2"
134rustls-acme = { version = "0.15.3", default-features = false, features = ["aws-lc-rs", "tls12", "webpki-roots"] }
135x509-parser = "0.18"
136quinn = { version = "0.11.9", default-features = false, features = ["runtime-tokio", "rustls-aws-lc-rs", "log"] }
137h3 = "0.0.8"
138h3-quinn = "0.0.10"
139rcgen = { version = "0.14", default-features = false, features = ["aws_lc_rs", "pem"] }
140hickory-resolver = "0.24"
141
142k256 = { version = "0.13", features = ["ecdsa"] }
143aes-gcm = "0.11.0-rc.4"
144hkdf = "0.13"
145sha2 = "0.11"
146base32 = "0.5"
147base64 = "0.22"
148bs58 = "0.5"
149zeroize = { version = "1", features = ["derive"] }
150subtle = "2.6"
151
152wiremock = "0.6"
153tempfile = "3"
154proptest = "1"
155divan = "0.1.21"
156
157tantivy = "0.26"
158gengo-language = "0.14"
159regex = "1"
160globset = "0.4"
161rustix = { version = "1.1", features = ["process"] }
162tikv-jemallocator = "0.7"
163tikv-jemalloc-ctl = "0.7"
164
165tracing = "0.1"
166tracing-subscriber = { version = "0.3", features = ["env-filter", "fmt", "json"] }
167
168thiserror = "2"
169
170confique = { version = "0.4", default-features = false, features = ["toml"] }
171clap = { version = "4", features = ["derive", "env"] }
172toml = { version = "0.9", default-features = false, features = ["parse"] }
173
174[patch.crates-io]
175gix-pack = { path = "knot2/third_party/gix-pack" }
176
177[profile.dev]
178opt-level = 1
179
180[profile.release]
181lto = "fat"
182strip = true
183codegen-units = 1
184
185[profile.bench]
186debug = 1
187strip = false
188
189[profile.profiling]
190inherits = "release"
191debug = 1
192strip = false
193lto = "thin"