Skip to main content

trellis_client/
lib.rs

1//! Low-level outbound Trellis runtime primitives for generated Rust code.
2//!
3//! This crate provides connection/auth helpers plus descriptor-driven request and
4//! publish operations. It intentionally avoids contract-specific convenience
5//! methods so first-party code can move toward generated SDKs and participant
6//! facades.
7
8mod auth;
9mod client;
10mod descriptor;
11mod error;
12mod proof;
13
14pub use auth::SessionAuth;
15pub use client::{ServiceConnectOptions, TrellisClient, UserConnectOptions};
16pub use descriptor::{EventDescriptor, RpcDescriptor};
17pub use error::TrellisClientError;
18pub use proof::verify_proof;
19
20#[cfg(test)]
21mod tests;