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