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