v0.5.2-pre.002
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// file: ks-wallet/src/lib.rs
|
||||
// version: 3
|
||||
// version: 4
|
||||
|
||||
//! Wallet boundary for local key storage and transaction signing.
|
||||
#![warn(missing_docs)]
|
||||
@@ -7,20 +7,37 @@
|
||||
#![forbid(unsafe_code)]
|
||||
|
||||
mod constants;
|
||||
mod manager;
|
||||
mod wallet;
|
||||
|
||||
/// Native wallet file extension without the leading dot.
|
||||
pub use self::constants::KSWALLET_FILE_EXTENSION;
|
||||
/// Opaque reference to one identified native wallet file.
|
||||
pub use self::manager::WalletFileHandle;
|
||||
/// Multi-wallet manager rooted at one configured wallet directory.
|
||||
pub use self::manager::WalletManager;
|
||||
/// Solana keypair kept private inside the wallet boundary.
|
||||
pub use self::wallet::TemporaryWallet;
|
||||
/// Filesystem-backed store for legacy development and integration-test wallets.
|
||||
pub use self::wallet::TemporaryWalletStore;
|
||||
/// Validated non-secret wallet alias.
|
||||
pub use self::wallet::WalletAlias;
|
||||
/// Minimal non-secret identity of a wallet.
|
||||
pub use self::wallet::WalletIdentity;
|
||||
/// Whether a runtime wallet is temporary or persistent.
|
||||
pub use self::wallet::WalletPersistence;
|
||||
/// Non-secret wallet policy.
|
||||
pub use self::wallet::WalletPolicy;
|
||||
/// Backward-compatible name for a non-secret wallet identity.
|
||||
pub use self::wallet::WalletSummary;
|
||||
|
||||
/// Native wallet format version used by the identification prefix.
|
||||
pub(crate) use self::constants::KSWALLET_FORMAT_VERSION;
|
||||
/// Number of bytes required to identify a native wallet file.
|
||||
pub(crate) use self::constants::KSWALLET_IDENTIFICATION_LENGTH;
|
||||
/// Native wallet format identification magic.
|
||||
pub(crate) use self::constants::KSWALLET_MAGIC;
|
||||
/// Number of bytes stored by the standard Solana keypair JSON format.
|
||||
pub(crate) use self::constants::SOLANA_KEYPAIR_LENGTH;
|
||||
/// Canonical tracing target for this crate.
|
||||
pub(crate) use self::constants::TRACING_TARGET;
|
||||
|
||||
/// Solana keypair kept private inside the wallet boundary.
|
||||
pub use self::wallet::TemporaryWallet;
|
||||
/// Filesystem-backed store for development and integration-test wallets.
|
||||
pub use self::wallet::TemporaryWalletStore;
|
||||
/// Validated non-secret wallet alias.
|
||||
pub use self::wallet::WalletAlias;
|
||||
/// Non-secret wallet policy.
|
||||
pub use self::wallet::WalletPolicy;
|
||||
/// Non-secret wallet description.
|
||||
pub use self::wallet::WalletSummary;
|
||||
|
||||
Reference in New Issue
Block a user