Files
proton-stream/crates/pstr-core/src/lib.rs

44 lines
1.0 KiB
Rust

//! Shares, catalog, naming and persistence for `proton-stream`.
//!
//! Everything that is not the player or the UI. Front ends depend on this crate
//! rather than on `proton-drive-rs` directly, so there is one place that knows
//! how a share is opened and how its contents are modelled.
#![forbid(unsafe_code)]
pub mod account;
pub mod appearance;
pub mod browse;
pub mod catalog;
pub mod chapters;
pub mod config;
pub mod discover;
pub mod error;
pub mod franchise;
pub mod handoff;
pub mod invite;
pub mod language;
pub mod library;
pub mod matroska;
pub mod metadata;
pub mod mylist;
pub mod naming;
pub mod news;
pub mod pictures;
pub mod prefs;
pub mod profile;
pub mod recent;
pub mod shares;
pub mod shelves;
pub mod subtitles;
pub mod sync;
pub use account::{Account, AccountStore};
pub use error::{Error, Result};
#[cfg(not(any(target_os = "android", target_os = "ios")))]
pub use shares::keyring_secrets;
pub use shares::{SecretStore, Share, ShareClient, ShareStore, SharedLibrary};
pub use proton_auth_rs;
pub use proton_drive_rs;
pub use proton_sdk;