Files

23 lines
947 B
TOML

[package]
name = "persona-state"
version.workspace = true
edition.workspace = true
# The persona profile + avatar-asset state model — the byte-exact shapes
# the bundled persona/media contract wasms validate (their sources are the
# F2/F2b spike crates; these definitions must stay bincode-identical to
# them, field by field, or published state stops verifying).
[dependencies]
serde.workspace = true
bincode = "1"
ed25519-dalek = { version = "2", default-features = false, features = ["alloc"] }
blake3 = "1"
x25519-dalek = { version = "2", default-features = false, features = ["static_secrets", "alloc", "precomputed-tables"] }
# no default features: the OS-RNG feature would drag getrandom into the
# wasm32 contract build; this crate draws no entropy of its own anyway
chacha20poly1305 = { version = "0.10", default-features = false, features = ["alloc"] }
[dev-dependencies]
ed25519-dalek = { version = "2", features = ["rand_core"] }