1
0
Fork 0
ruma/crates/ruma-signatures/Cargo.toml
Kévin Commaille abad5726d5 signatures: Add verify_policy_server_signature()
If a policy server is enabled in the room, the user provides an
`m.room.policy` event content to the function and its signature is
checked for events that must be checked.
2026-06-16 08:33:24 +02:00

37 lines
1,019 B
TOML

[package]
categories = ["api-bindings", "cryptography"]
description = "Digital signatures according to the Matrix specification."
homepage = "https://ruma.dev/"
keywords = ["matrix", "chat", "messaging", "ruma", "cryptography"]
license = "MIT"
name = "ruma-signatures"
readme = "README.md"
repository = "https://github.com/ruma/ruma"
version = "0.21.0"
edition = "2024"
rust-version = { workspace = true }
[package.metadata.docs.rs]
all-features = true
[features]
ring-compat = ["dep:memchr"]
[dependencies]
base64 = { workspace = true }
ed25519-dalek = { version = "2.0.0", features = ["pkcs8"] }
memchr = { version = "2.4", optional = true }
pkcs8 = { version = "0.10.0", features = ["alloc"] }
rand = { workspace = true, features = ["sys_rng"] }
ruma-common = { workspace = true }
ruma-events = { workspace = true }
serde_json = { workspace = true }
sha2 = "0.10.6"
thiserror = { workspace = true }
[dev-dependencies]
assert_matches2 = { workspace = true }
insta = { workspace = true }
[lints]
workspace = true