The MoQT transport that joule-code-collab's network rung needs lived in the private joulesperbit repo (as inv-moq + jwp), so a public consumer couldn't depend on it. Port both into the public open-standards joule-code workspace, self-contained (concrete dep versions, not workspace-inherited) so a bare git clone builds them: - crates/jwp: Joule Wire Protocol — energy-aware binary framing (CBOR, zstd/lz4, TCP + optional QUIC). Self-contained, external deps only. - crates/joule-moq: MoQT (Media-over-QUIC) wire protocol + JWP signed-receipt extension for CommunicationOS — Publisher/Subscriber/Relay traits, MockFabric (in-process) + a production QUIC path (quic feature). Renamed from inv-moq to drop the invisible-* namespace and match the joule-code branding; depends only on jwp. Both build (default + quic) and pass their tests (joule-moq 29, jwp 152) in the new home. The transport-moqt example now path-deps the public joule-moq instead of reaching into joulesperbit, and its end-to-end BFT-ops-over-MoQT-with-signed- receipts tests pass. This unblocks public consumers (agent-zed) from git-depping the transport for cross-machine fleet coordination. Co-Authored-By: Claude Opus 4.8 <[email protected]>
31 lines
926 B
TOML
31 lines
926 B
TOML
[package]
|
|
name = "jwp"
|
|
version = "0.1.0"
|
|
description = "Joule Wire Protocol (JWP) — energy-aware binary framing protocol"
|
|
edition = "2024"
|
|
rust-version = "1.85"
|
|
license = "Apache-2.0"
|
|
repository = "https://github.com/transaction-science/open-standards"
|
|
|
|
[features]
|
|
default = ["tcp"]
|
|
tcp = []
|
|
quic = ["dep:quinn"]
|
|
|
|
[dependencies]
|
|
tokio = { version = "1", features = ["sync", "rt", "macros", "io-util", "net", "time"] }
|
|
tokio-util = { version = "0.7", features = ["codec"] }
|
|
bytes = "1"
|
|
ciborium = "0.2"
|
|
blake3 = "1"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
thiserror = "2"
|
|
tracing = "0.1"
|
|
zstd = "0.13"
|
|
lz4_flex = "0.13"
|
|
futures-util = { version = "0.3", features = ["sink"] }
|
|
quinn = { version = "0.11", optional = true }
|
|
|
|
[dev-dependencies]
|
|
tokio = { version = "1", features = ["test-util", "rt-multi-thread"] }
|