libid-contracts 0.12.0

Typed alloy bindings, embedded forge artifacts, and deploy/upgrade helpers for the libid identity stack (Notary Service, ceremony proof verifier, Platform Verifiers, Google JWT roots, identity names, deterministic factory).
Documentation
/// Crate error type.
#[derive(Debug, thiserror::Error)]
pub enum Error {
    /// A vendored artifact is missing, unparsable, or malformed.
    #[error("artifact error: {detail}")]
    Artifact {
        /// What went wrong.
        detail: String,
    },
    /// An RPC send, receipt wait, or read failed.
    #[error("rpc error: {detail}")]
    Rpc {
        /// What went wrong.
        detail: String,
    },
    /// A Platform Verifier initializer the contract would refuse, caught
    /// before any transaction is sent.
    #[error("initializer error: {detail}")]
    Initializer {
        /// Which rule, and which contract.
        detail: String,
    },
}

/// Crate result alias.
pub type Result<T> = std::result::Result<T, Error>;