canton-core 0.2.1

Core types for the Canton Rust SDK: error model, telemetry, and the shared connection kernel (config, auth, TLS, retry).
Documentation
//! Core types shared across the Canton Rust SDK.
//!
//! The foundation the client crates build on: the [`Error`] type with its
//! retriable classification and the [`Result`] alias, the [`telemetry`] layer
//! (tracing spans + metrics), and the shared connection kernel — [`Config`],
//! [`Auth`]/[`TokenSource`], [`TlsConfig`], and the [`retry`] pipeline — that
//! both `canton-ledger` and `canton-admin` build their gRPC channels from.
#![cfg_attr(docsrs, feature(doc_cfg))]

pub mod auth;
pub mod config;
mod error;
pub mod localnet;
pub mod retry;
pub mod telemetry;

pub use config::{
    Auth, Config, DEFAULT_MAX_DECODING_MESSAGE_SIZE, TlsConfig, TokenSource, redact_url,
};
pub use error::{Error, ErrorCategory, ErrorInfo, ResourceInfo, Result};
pub use retry::RetryConfig;