bone-persistence 0.1.0

Persistence layer for BoneTools
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
pub mod backends;
pub mod error;
pub mod factory;
pub mod persistence;

pub use backends::*;
pub use error::{PersistenceError, Result};
pub use factory::{PersistFactory, PersistenceConfig};
pub use persistence::{Persistence, PersistentState, UpdateStrategy};

pub const VERSION: &str = env!("CARGO_PKG_VERSION");

pub fn init() -> Result<()> {
    // 这里可以添加全局初始化逻辑
    Ok(())
}