Expand description
Ziti Rust SDK
A high-performance, async-first Rust implementation that provides secure, zero-trust networking capabilities through the OpenZiti platform.
§Example
use ziti_sdk::{Context, ZitiResult};
#[tokio::main]
async fn main() -> ZitiResult<()> {
let context = Context::from_file("identity.json").await?;
let stream = context.dial("echo-service").await?;
// Use stream for communication
Ok(())
}Re-exports§
pub use config::DialOptions;pub use config::ListenOptions;pub use config::ZitiConfig;pub use connection::dial;pub use connection::dial;pub use connection::listen;pub use connection::listen;pub use connection::listen_with_options;pub use connection::ZitiListener;pub use connection::ZitiStream;pub use connection::EdgeRouter;pub use context::Context;pub use context::ContextBuilder;pub use error::ZitiError;pub use error::ZitiResult;
Modules§
- config
- Configuration management module
- connection
- Network connection module
- context
- Context module for the Ziti SDK
- error
- Error types and handling module
- identity
- Identity and authentication module
- service
- Service discovery and management module
- session
- Session management module
- transport
- Network transport layer module
- util
- Utility module