Skip to main content

Crate nysiris_core

Crate nysiris_core 

Source
Expand description

Shared, UI-agnostic primitives for Nysiris native clients.

This crate intentionally has no Nym, Qt, Python, or storage-backend dependency. It owns the chat identity, the DM wire framing, and the transport trait that adapters implement.

Re-exports§

pub use contact::Contact;
pub use conversation::ConversationSummary;
pub use conversation::GroupSummary;
pub use crypto::SealedDm;
pub use crypto::DM_AAD;
pub use error::CoreError;
pub use error::Result;
pub use group::Group;
pub use group::GroupInner;
pub use group::GroupMember;
pub use group::SealedGroupMessage;
pub use group::GROUP_ID_BYTES;
pub use group::GROUP_KEY_BYTES;
pub use group::MAX_GROUP_MEMBERS;
pub use identity::ChatIdentity;
pub use message::ChatMessage;
pub use message::Direction;
pub use message::DmInner;
pub use message::MessageState;
pub use message::MAX_BODY_BYTES;
pub use transport::SentPayload;
pub use transport::Transport;

Modules§

contact
conversation
crypto
error
group
identity
ids
message
sealed_file
transport