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