Skip to main content

liminal_sdk/
lib.rs

1#![cfg_attr(not(feature = "std"), no_std)]
2
3extern crate alloc;
4
5pub mod channel;
6pub mod connection;
7pub mod conversation;
8pub mod embedded;
9pub mod error;
10pub mod pressure;
11pub mod remote;
12pub mod types;
13
14pub use channel::ChannelHandle;
15pub use connection::{
16    ConnectionEvent, ConnectionEvents, ConnectionLifecycle, ConnectionPool, ConnectionPoolConfig,
17    ConnectionState, DisconnectReason, PoolConnectionId, ReconnectConfig, ReconnectJitter,
18    ResumeRequest, SubscriptionAssignment, SubscriptionId, SubscriptionRecovery,
19};
20pub use conversation::{ConversationEvent, ConversationHandle, ConversationId};
21pub use embedded::{EmbeddedChannelHandle, EmbeddedConfig, EmbeddedConversationHandle};
22pub use error::SdkError;
23pub use pressure::{DeliveryAck, PressureResponse};
24#[cfg(feature = "std")]
25pub use remote::{PushClient, PushedFrame};
26pub use remote::{
27    RemoteChannelHandle, RemoteConfig, RemoteConversationHandle, SdkChannelHandle, SdkConfig,
28    SdkConversationHandle, ServerAddress, build_channel_handle, build_conversation_handle,
29};
30pub use types::{SchemaMetadata, SchemaValidate};