//! Sharenet Passport Core Library //! //! This library provides core functionality for creating, managing, and verifying //! Sharenet Passports using the .spf file format. pub mod domain; pub mod application; pub mod infrastructure; #[cfg(target_arch = "wasm32")] pub mod wasm; #[cfg(target_arch = "wasm32")] #[cfg(test)] pub mod wasm_test; // Public API surface pub use domain::entities::{Passport, RecoveryPhrase, PassportFile, PublicKey, PrivateKey, Did, Seed}; pub use domain::traits::{MnemonicGenerator, KeyDeriver, FileEncryptor, FileStorage}; pub use domain::error::DomainError; pub use application::use_cases::{ CreatePassportUseCase, ImportFromRecoveryUseCase, ImportFromFileUseCase, ExportPassportUseCase, SignCardUseCase }; pub use application::error::ApplicationError; // Re-export infrastructure implementations (automatically selected by target) pub use infrastructure::{ Bip39MnemonicGenerator, Ed25519KeyDeriver, XChaCha20FileEncryptor, FileSystemStorage, };