Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
80 lines (77 loc) · 3.58 KB
/
Copy pathCargo.toml
File metadata and controls
80 lines (77 loc) · 3.58 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
[workspace]
members = [
"crucible",
"crucible-contract",
"crucible-view",
"crucible-vcs",
"crucible-harness",
"crucible-broker",
"forge",
"crucible-controller",
"crux",
"crucible-lsp",
"crucible-kueue",
"crucible-kueue-client",
"crucible-mcp-auth",
"buildit",
"crucible-git",
"crucible-ci",
"capability",
"crucible-task",
"xtask",
]
# Vendored upstream sources (see third_party/NOTICE). Excluded from the workspace so
# `cargo fmt --all` / clippy lint our code and leave theirs byte-identical to upstream;
# they are still consumed as path dependencies.
exclude = ["crucible-kueue-py", "third_party/dagre_rust", "third_party/graphlib_rust", "third_party/mermaid-to-svg", "third_party/ordered_hashmap", "third_party/xai-grok-mermaid", "vendor"]
resolver = "3"
[workspace.package]
version = "0.9.1"
# Dual-licensed like the repo (LICENSE-MIT / LICENSE-APACHE); the public export's cargo-deny
# licenses check requires every workspace crate to declare it.
license = "MIT OR Apache-2.0"
edition = "2024"
rust-version = "1.95"
[workspace.dependencies]
anyhow = "1"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
prost-types = "0.14.4"
clap = { version = "4", features = ["derive", "env", "wrap_help"] }
duct = "1"
git2 = "0.21"
jiff = "0.2"
tokio = { version = "1", features = ["rt-multi-thread", "macros", "net", "time", "io-util"] }
# Scenario issue keys (`scenario:{uuidv7}`, controller adopt endpoint): v7 is lexicographically
# sortable and timestamp-derived, unlike v4's pure randomness.
uuid = { version = "1", features = ["v7"] }
# The OpenShell gateway's native gRPC clients + auth interceptor — one pin for every crate that
# talks to the gateway (engine + broker), so the two can never link different protos.
openshell-core = { git = "https://github.com/wseaton/OpenShell.git", rev = "a18f1bba75e997f83321213311d8c55a5df81781", default-features = false }
# Same rev as openshell-core: the sandbox filesystem defaults (/dev/null, /usr, /etc ...) live here,
# and crucible extends them rather than restating them.
openshell-policy = { git = "https://github.com/wseaton/OpenShell.git", rev = "a18f1bba75e997f83321213311d8c55a5df81781", default-features = false }
tonic = { version = "0.14", features = ["channel", "tls-native-roots", "tls-ring"] }
thiserror = "2"
# One rmcp pin for every MCP server and client in the tree; members add features.
rmcp = "3.9"
strum = { version = "0.28", features = ["derive"] }
# Cron expression parsing for playbook schedules. Owns the pattern grammar only: it matches
# civil fields as integers, so jiff stays the single timezone authority. Default features off
# drops croner's chrono backend.
croner = { version = "4", default-features = false }
# Launch-time validation of playbook param values against the pack's stored params schema. The
# de-facto Rust validator; `default-features = false` keeps remote `$ref` resolution off, so a
# stored schema can never make the controller fetch a URL.
jsonschema = { version = "0.59", default-features = false }
moka = { version = "0.12", features = ["sync", "future"] }
url = "2"
# One Kubernetes client and API pin for every crate that talks to a cluster, so the engine,
# controller, forge, and crucible-kueue never link two kube stacks. Members add features.
kube = { version = "5.0", default-features = false }
k8s-openapi = { version = "0.29", features = ["v1_33"] }
percent-encoding = "2"
# CEL for MCP tool policy, at the controller's pin.
cel = { git = "https://github.com/cel-rust/cel-rust", rev = "92f4376e200124e8dbafe5323a69cbe6bc3765c6" }
[profile.release]
opt-level = 2