Monorepo for Tangled
tangled.org
3.1 kB
111 lines
1[workspace]
2resolver = "2"
3members = ["bobbin/crates/*", "shuttle"]
4default-members = ["bobbin/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
45jacquard-common = "0.12.0-beta.2"
46jacquard-derive = "0.12.0-beta.2"
47jacquard-lexicon = { version = "0.12.0-beta.2", default-features = false }
48jacquard-identity = { version = "0.12.0-beta.2", features = ["cache"] }
49
50anyhow = "1"
51miette = "7"
52walkdir = "2"
53
54tokio = { version = "1.52", features = ["macros", "rt-multi-thread", "time", "signal", "io-util", "sync"] }
55tokio-util = "0.7"
56tokio-stream = "0.1"
57tokio-tungstenite = { version = "0.29", features = ["rustls-tls-webpki-roots"] }
58futures = "0.3"
59either = "1"
60itertools = "0.14"
61
62serde = { version = "1", features = ["derive"] }
63serde_json = { version = "1", features = ["raw_value"] }
64serde_ipld_dagcbor = "0.6"
65
66chrono = { version = "0.4", features = ["serde"] }
67cid = "0.11"
68url = { version = "2", features = ["serde"] }
69bytes = "1"
70
71scc = "3"
72roaring = "0.11"
73lasso = { version = "0.7", features = ["multi-threaded"] }
74quick_cache = "0.6"
75getrandom = "0.3"
76ahash = { version = "0.8", default-features = false, features = ["std"] }
77
78reqwest = { version = "0.12", default-features = false, features = ["rustls-tls-webpki-roots", "http2", "json", "gzip", "stream"] }
79axum = "0.8"
80tower = { version = "0.5", features = ["util"] }
81tower-http = { version = "0.6", features = ["trace"] }
82http = "1"
83
84wiremock = "0.6"
85
86tantivy = "0.26"
87
88tracing = "0.1"
89tracing-subscriber = { version = "0.3", features = ["env-filter", "fmt", "json"] }
90
91thiserror = "2"
92
93confique = { version = "0.4", default-features = false, features = ["toml"] }
94clap = { version = "4", features = ["derive", "env"] }
95toml = { version = "0.9", default-features = false, features = ["parse"] }
96
97[profile.release]
98lto = "fat"
99strip = true
100codegen-units = 1
101panic = "abort"
102
103[profile.bench]
104debug = 1
105strip = false
106
107[profile.profiling]
108inherits = "release"
109debug = 1
110strip = false
111lto = "thin"