Skip to main content

Crate actr_platform_traits

Crate actr_platform_traits 

Source
Expand description

§actr-platform-traits

Platform abstraction traits for Actor-RTC.

This crate defines the boundary between platform-agnostic orchestration logic (Hyper, ActrNode runtime) and platform-specific implementations (native, web).

§Traits

  • KvStore — key-value storage (SQLite on native, IndexedDB on web)
  • CryptoProvider — cryptographic primitives (ed25519-dalek on native, Web Crypto on web)
  • PlatformProvider — composite provider grouping all platform services

Re-exports§

pub use crypto::CryptoProvider;
pub use platform::PlatformProvider;
pub use storage::KvOp;
pub use storage::KvStore;
pub use storage::KvStoreClone;

Modules§

crypto
Platform-agnostic cryptography provider trait
platform
Composite platform provider trait.
storage
Platform-agnostic key-value storage trait

Enums§

PlatformError
Unified error type for platform operations