[package] name = "joulehook-meter" version.workspace = true edition.workspace = true license.workspace = true repository.workspace = true description = "JouleHook โ€” the meter-seam binding (joulehook/1 ยง4): inject a grant's joule budget as the Mesh ceiling (enforce, not just observe) and bridge Mesh's usage.energy into an efficiency/1 receipt." [lib] name = "joulehook_meter" path = "src/lib.rs" [[bin]] name = "joulehook-meter" path = "src/main.rs" [dependencies] jcp-efficiency = { path = "../../../../jcp/jcp-rs/crates/jcp-efficiency" } jcp-schema = { path = "../../../../jcp/jcp-rs/crates/jcp-schema" } ed25519-dalek = { version = "3", features = ["alloc"] } serde_json = "1" hex = "0.4" [dev-dependencies] # The label tests feed the bridge real Mesh output โ€” Mesh's own wire labels and # its OpenAI `usage.energy` block โ€” not a hand-written copy of them. mesh-schema = { path = "../../../../mesh/mesh-rs/crates/mesh-schema" } mesh-openai = { path = "../../../../mesh/mesh-rs/crates/mesh-openai" }