The repository tracks the latest stable Rust, pinned at the root. A
`rust-version` key states a *floor* -- the oldest toolchain a crate supports --
which is a different promise, and one this repository does not make. It also
said 1.97 while the pin was 1.98.0 and nothing verified it, so it was a claim in
the wrong direction and unchecked in both.
So it goes, everywhere:
59 rust-version = "1.97" (workspace and package declarations)
417 rust-version.workspace = true (members inheriting them)
476 files, 476 deletions, 0 insertions
The 417 are why this is not the sixty-file change it looks like from a grep for
the value. A member inheriting a key that no longer exists does not fall back to
a default -- its manifest stops resolving. Removing the declarations without the
inherits would have broken every workspace that has members.
Deliberately untouched: `joule-code-rs/vendor/wtransport/Cargo.toml`. That is a
vendored third-party crate declaring a floor about itself, not about us, and our
pin is above it. Editing vendored source to satisfy our own policy would make
the copy diverge from upstream for no benefit.
Verified rather than assumed:
- all 493 `Cargo.toml` files in the tree parse (`tomllib`)
- `cargo metadata --no-deps --locked` resolves on `joule-code-rs`, `wai-rs`,
`openpay`, `mesh-rs`, `sandbox-rs` and `jcp-rs` -- the check that actually
exercises workspace inheritance, which a TOML parse does not
- no `Cargo.lock` changed; `rust-version` is not lockfile state
`wai/wai-verify/Cargo.toml` already carried a comment saying it omits
`rust-version` on purpose, so this makes the rest of the tree agree with the one
crate that had already decided.
What this gives up, stated plainly: cargo can no longer greet an older
toolchain with "requires rustc 1.97" and will instead fail wherever the code
first needs something newer. That is the cost of not maintaining a floor, and
it is the right cost when the floor was fiction.
Co-Authored-By: Claude Opus 5 <[email protected]>
37 lines
1.8 KiB
TOML
37 lines
1.8 KiB
TOML
[package]
|
|
name = "joule-ui-serve"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
authors.workspace = true
|
|
description = "joule-ui reference host — the transport binding. Serves a rendered surface, runs the metered interaction on each action fire, returns the next surface + the sealed receipt, and exposes the hash-chained interaction log. Pure handle() over any transport; a std-only HTTP/1.1 driver ships as the reference."
|
|
|
|
[dependencies]
|
|
joule-ui-core = { path = "../joule-ui-core" }
|
|
joule-ui-interaction = { path = "../joule-ui-interaction" }
|
|
joule-ui-render = { path = "../joule-ui-render" }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
ed25519-dalek = { workspace = true }
|
|
# Render the host's own verifying key as a `did:key:z…` — the default actor
|
|
# attributed to interactions fired against an unauthenticated served surface.
|
|
bs58 = "0.5"
|
|
# The reference Meter edge (SPEC §5): the live demo meters each interaction as
|
|
# a Sandbox PowerMeter span, from `PowerMeter::detect_in_process()` since every
|
|
# handler runs in this process. A receipt is HwShunt only when its span was a
|
|
# hardware reading of the CPU (this process's own CPU energy counter where it
|
|
# is live; else a live RAPL or IOReport counter, with any live NVML GPU reading
|
|
# beside it), and Estimator otherwise, with the meter's
|
|
# wall-clock estimate as its figure: a GPU reading alone does not cover work
|
|
# that ran on the CPU. The joules vary with the work either way, and no
|
|
# estimate is sealed as a measurement.
|
|
sandbox-meter = { path = "../../../../sandbox/sandbox-rs/crates/sandbox-meter" }
|
|
|
|
[dev-dependencies]
|
|
# Device classes for the scripted spans the binary's tests replay.
|
|
sandbox-schema = { path = "../../../../sandbox/sandbox-rs/crates/sandbox-schema" }
|
|
|
|
[[bin]]
|
|
name = "joule-ui-serve"
|
|
path = "src/bin/joule_ui_serve.rs"
|