wire_decode accepts a document only when its MessagePack value equals the named form wire_encode writes for the decoded value (key order, integer width and an absent optional field aside), so a positional envelope or invocation, an integer-array ciphertext, an enum sent as its index and bytes after the document are refused Encoding through the real carriage. The schema describes the ciphertext as binary, and a test pins schema and wire agreeing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
28 lines
908 B
TOML
28 lines
908 B
TOML
[package]
|
|
name = "model-connector"
|
|
description = "Provider-neutral connector contract, envelope, client, replay service and serve loop for GameCult minds"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
publish = false
|
|
|
|
[features]
|
|
default = []
|
|
daemon = ["dep:cultcache-rs"]
|
|
|
|
[dependencies]
|
|
aes-gcm = "0.10"
|
|
base64 = "0.22"
|
|
cultnet-rs = { git = "https://github.com/GameCult/CultLib.git", rev = "a4eae9056152335662f1115f97bf35fb00ab6d23", package = "cultnet-rs" }
|
|
cultcache-rs = { git = "https://github.com/GameCult/CultLib.git", rev = "a4eae9056152335662f1115f97bf35fb00ab6d23", package = "cultcache-rs", optional = true }
|
|
rand_core = { version = "0.6", features = ["getrandom"] }
|
|
rmp-serde = "1"
|
|
rmpv = "1"
|
|
schemars = "1"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_bytes = "0.11"
|
|
serde_json = "1"
|
|
sha2 = "0.10"
|
|
thiserror = "2"
|
|
zeroize = "1"
|