This repository has no description
6.6 kB
192 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-identity = { version = "0.12.1", features = ["cache"] }
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"
129
130rustls = { version = "0.23", features = ["aws_lc_rs", "prefer-post-quantum"] }
131tokio-rustls = { version = "0.26", default-features = false, features = ["aws_lc_rs", "tls12", "logging"] }
132rustls-pemfile = "2"
133rustls-acme = { version = "0.15.3", default-features = false, features = ["aws-lc-rs", "tls12", "webpki-roots"] }
134x509-parser = "0.18"
135quinn = { version = "0.11.9", default-features = false, features = ["runtime-tokio", "rustls-aws-lc-rs", "log"] }
136h3 = "0.0.8"
137h3-quinn = "0.0.10"
138rcgen = { version = "0.14", default-features = false, features = ["aws_lc_rs", "pem"] }
139hickory-resolver = "0.24"
140
141k256 = { version = "0.13", features = ["ecdsa"] }
142aes-gcm = "0.11.0-rc.4"
143hkdf = "0.13"
144sha2 = "0.11"
145base32 = "0.5"
146base64 = "0.22"
147bs58 = "0.5"
148zeroize = { version = "1", features = ["derive"] }
149subtle = "2.6"
150
151wiremock = "0.6"
152tempfile = "3"
153proptest = "1"
154divan = "0.1.21"
155
156tantivy = "0.26"
157gengo-language = "0.14"
158regex = "1"
159globset = "0.4"
160rustix = { version = "1.1", features = ["process"] }
161tikv-jemallocator = "0.7"
162tikv-jemalloc-ctl = "0.7"
163
164tracing = "0.1"
165tracing-subscriber = { version = "0.3", features = ["env-filter", "fmt", "json"] }
166
167thiserror = "2"
168
169confique = { version = "0.4", default-features = false, features = ["toml"] }
170clap = { version = "4", features = ["derive", "env"] }
171toml = { version = "0.9", default-features = false, features = ["parse"] }
172
173[patch.crates-io]
174gix-pack = { path = "knot2/third_party/gix-pack" }
175
176[profile.dev]
177opt-level = 1
178
179[profile.release]
180lto = "fat"
181strip = true
182codegen-units = 1
183
184[profile.bench]
185debug = 1
186strip = false
187
188[profile.profiling]
189inherits = "release"
190debug = 1
191strip = false
192lto = "thin"