Skip to main content

Crate monoprotocol

Crate monoprotocol 

Source
Expand description

Mono sync protocol — reference types and crypto (non-normative).

The canonical specification is the Markdown under spec/ in this repository.

Re-exports§

pub use capability::CapabilityAction;
pub use capability::CapabilityGrant;
pub use capability::CapabilitySet;
pub use capability::CapabilitySubject;
pub use content::ContentHash;
pub use cookie::CookieRecord;
pub use cookie::SameSite;
pub use crypto::decrypt_envelope;
pub use crypto::derive_sync_key;
pub use crypto::encrypt_object_payload;
pub use crypto::encrypt_object_payload_with_nonce;
pub use crypto::SyncCryptoError;
pub use envelope::EnvelopeError;
pub use envelope::SyncEnvelope;
pub use envelope::TwoFaMethod;
pub use envelope::TwoFaProof;
pub use ids::AccountId;
pub use ids::DeviceId;
pub use ids::EnvelopeId;
pub use ids::IdentityId;
pub use ids::KeyId;
pub use ids::ObjectId;
pub use ids::OperationId;
pub use ids::ProfileId;
pub use merkle::MerkleNode;
pub use merkle::MerkleProof;
pub use object::CookieJarObject;
pub use object::ObjectKind;
pub use object::SyncObject;
pub use object::TabSetObject;
pub use ownership::StateOwner;
pub use ownership::StateResidency;
pub use reducer::ObjectReducer;
pub use reducer::ReducerError;
pub use sync_log::OperationKind;
pub use sync_log::StateOperation;
pub use sync_log::StateSnapshot;
pub use sync_log::SyncJournal;
pub use transfer::TransferClass;
pub use transfer::TransferPolicy;
pub use twofa::verify_twofa_proof;
pub use twofa::verify_twofa_proof_with_registry;
pub use twofa::TwoFaError;
pub use webauthn::begin_challenge;
pub use webauthn::StoredPasskey;
pub use webauthn::WebAuthnRegistry;
pub use version::VersionVector;

Modules§

capability
content
cookie
crypto
envelope
ids
merkle
object
ownership
reducer
sync_log
transfer
twofa
version
webauthn

Constants§

PROTOCOL_VERSION