Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
51 lines (46 loc) · 2.33 KB
/
Copy pathCargo.toml
File metadata and controls
51 lines (46 loc) · 2.33 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
# Magic Context Rust workspace — the harness-agnostic MC module (CK-in / CK-out)
# that runs under the subc daemon. Lives in-repo alongside the bun `packages/`
# (the session/tooling is cwd-bound, and the build needs this repo's cache-stability
# context); the dashboard's Tauri crate is its own standalone build, excluded here.
[workspace]
resolver = "2"
members = ["crates/mc-core", "crates/mc-store", "crates/mc-module", "crates/mc-tokenizer"]
exclude = ["packages/dashboard/src-tauri"]
[workspace.dependencies]
# Published commons crates use their current lockfile versions from crates.io.
# cache-core is not published, so pin the source to an immutable commit.
cortexkit-cache-core = { git = "https://github.com/cortexkit/commons", rev = "067701f1ab61cd2c81aa58fb66b0cb65fbaef9e7" }
cortexkit-store = "=0.2.1"
cortexkit-store-types = "=0.2.2"
cortexkit-lease = "=0.1.0"
cortexkit-log = { version = "=0.3.4", features = ["store-paths"] }
# Published subc wire/SDK crates use crates.io. subc-core is unpublished; this
# revision matches the version in the pre-migration lockfile.
subc-protocol = "=0.29.1"
subc-control = "=0.28.0"
subc-transport = "=0.10.0"
subc-client-rs = "=0.26.1"
subc-os = "=0.1.5"
subc-core = { git = "https://github.com/cortexkit/subconscious", rev = "1a14993c120725fa1dce7267b6e7d0823835930c" }
# Internal crates.
mc-core = { path = "crates/mc-core" }
mc-store = { path = "crates/mc-store" }
# Third-party. rusqlite pinned to the same version+features cortexkit-store uses so
# the Connection/Transaction types unify across the with_conn boundary.
serde = { version = "1", features = ["derive", "rc"] }
serde_json = "1"
tokio = { version = "1", features = ["rt-multi-thread", "macros", "net", "io-util", "sync", "time"] }
rusqlite = { version = "0.32", features = ["bundled"] }
sha2 = "0.10"
# subc-core is sourced from Git, but its workspace siblings that have published
# crates.io releases must resolve from the registry rather than the Git checkout.
[patch."https://github.com/cortexkit/subconscious"]
subc-cgroup = { version = "=0.1.5" }
subc-control = { version = "=0.28.0" }
subc-daemon = { version = "=0.31.2" }
subc-jobobject = { version = "=0.2.0" }
subc-jsonc = { version = "=0.1.2" }
subc-os = { version = "=0.1.5" }
subc-protocol = { version = "=0.29.1" }
subc-transport = { version = "=0.10.0" }
subc-uptime = { version = "=0.1.1" }