This repository was archived by the owner on Apr 21, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
101 lines (85 loc) · 3.14 KB
/
Copy pathCargo.toml
File metadata and controls
101 lines (85 loc) · 3.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
[workspace]
# resolver = "3" enables MSRV-aware dependency resolution — cargo will pick
# versions whose `rust-version` is <= ours (1.91, set below in
# `[workspace.package].rust-version`), so MSRV-bumping upstreams don't
# break our build. Keep the declared MSRV in sync with the CI `msrv` job.
resolver = "3"
members = [
"crates/thoth",
"crates/thoth-core",
"crates/thoth-parse",
"crates/thoth-store",
"crates/thoth-graph",
"crates/thoth-memory",
"crates/thoth-retrieve",
"crates/thoth-domain",
"crates/thoth-cli",
"crates/thoth-mcp",
]
[workspace.package]
version = "0.0.4"
edition = "2024"
rust-version = "1.91"
license = "MIT OR Apache-2.0"
repository = "https://github.com/unknown-studio-dev/thoth.git"
authors = ["Than The Van"]
[workspace.dependencies]
# Internal crates
thoth = { path = "crates/thoth", version = "0.0.4" }
thoth-core = { path = "crates/thoth-core", version = "0.0.4" }
thoth-parse = { path = "crates/thoth-parse", version = "0.0.4" }
thoth-store = { path = "crates/thoth-store", version = "0.0.4" }
thoth-graph = { path = "crates/thoth-graph", version = "0.0.4" }
thoth-memory = { path = "crates/thoth-memory", version = "0.0.4" }
thoth-retrieve = { path = "crates/thoth-retrieve", version = "0.0.4" }
thoth-domain = { path = "crates/thoth-domain", version = "0.0.4" }
thoth-mcp = { path = "crates/thoth-mcp", version = "0.0.4" }
# Async + error handling
tokio = { version = "1.43", features = ["macros", "rt-multi-thread", "fs", "sync", "time", "io-util"] }
async-trait = "0.1.83"
thiserror = "2"
anyhow = "1.0.89"
# Serde
serde = { version = "1.0.210", features = ["derive"] }
serde_json = "1.0.128"
toml = "0.8.19"
# Logging
tracing = "0.1.40"
tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }
# Utility
uuid = { version = "1.10", features = ["v4", "serde"] }
time = { version = "0.3.36", features = ["serde", "formatting", "parsing", "macros"] }
blake3 = "1.5"
parking_lot = "0.12"
futures = "0.3"
# CLI
clap = { version = "4.5", features = ["derive"] }
# Storage (M2)
redb = "4.0.0"
tantivy = "0.26.0"
rusqlite = { version = "0.39.0", features = ["bundled"] }
# HTTP (M6 — provider adapters; rustls so no OpenSSL headers on CI boxes)
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls", "gzip"] }
# Dev
tempfile = "3.13"
[profile.release]
opt-level = 3
lto = "thin"
codegen-units = 1
strip = "symbols"
[profile.dev]
opt-level = 0
debug = true
# Compile a handful of heavy dependencies with light optimisation even in
# debug builds. These are leaf dependencies (no user code) so stepping
# through them under a debugger is rarely wanted, and the cold-build time
# savings are noticeable: libsqlite3-sys + tantivy dominate `cargo test`
# wall time on this workspace.
[profile.dev.package.libsqlite3-sys]
opt-level = 1
[profile.dev.package.tantivy]
opt-level = 1
[profile.dev.package.tantivy-columnar]
opt-level = 1
[profile.dev.package.tantivy-sstable]
opt-level = 1