syftbox_sdk/
lib.rs

1pub mod syft_url;
2pub mod syftbox;
3
4pub use syft_url::SyftURL;
5
6pub use syft_crypto_protocol::datasite::{context::sanitize_identity, crypto::PublicBundleInfo};
7pub use syft_crypto_protocol::envelope::{
8    has_syc_magic, parse_envelope, ParsedEnvelope, SenderInfo,
9};
10pub use syft_crypto_protocol::identity::identity_material_from_recovery_key;
11pub use syft_crypto_protocol::SyftRecoveryKey;
12pub use syftbox::app::SyftBoxApp;
13pub use syftbox::config::{
14    default_syftbox_config_path, load_runtime_config, SyftBoxConfigFile, SyftboxRuntimeConfig,
15};
16pub use syftbox::control::{
17    detect_mode, is_syftbox_running, start_syftbox, state as syftbox_state, stop_syftbox,
18    SyftBoxMode, SyftBoxState,
19};
20pub use syftbox::endpoint::Endpoint;
21pub use syftbox::rpc::{check_requests, send_response};
22pub use syftbox::storage::{ReadPolicy, SyftBoxStorage, SyftStorageConfig, WritePolicy};
23pub use syftbox::syc::{
24    detect_identity, import_public_bundle, parse_public_bundle_file, provision_local_identity,
25    provision_local_identity_with_options, resolve_identity, restore_identity_from_mnemonic,
26    IdentityProvisioningOutcome,
27};
28pub use syftbox::types::{RpcHeaders, RpcRequest, RpcResponse};
29
30#[cfg(feature = "auth")]
31pub use syftbox::auth::{request_otp, verify_otp, OtpRequestPayload, OtpTokens, OtpVerifyOutcome};