defuse_crypto/
lib.rs

1//! Internal cryptographic primitives used across the Intents ecosystem.
2//!
3//! This crate defines lightweight traits such as [`Payload`] and
4//! [`SignedPayload`] that allow Intents to treat messages from different
5//! signing standards uniformly. Implementations of these traits live in
6//! companion crates like `tip191`, `erc191`, or `bip322` and are primarily
7//! intended for internal use.
8
9mod curve;
10mod parse;
11mod payload;
12mod public_key;
13mod signature;
14
15pub use self::{curve::*, parse::ParseCurveError, payload::*, public_key::*, signature::*};
16
17#[cfg(feature = "serde")]
18pub mod serde;