bevy_persistent/
lib.rs

1#![cfg_attr(doctest, doc = "````no_test")]
2#![doc = include_str!("../README.md")]
3
4#[rustfmt::skip]
5#[cfg(not(any(
6    feature = "library",
7    feature = "bincode",
8    feature = "ini",
9    feature = "json",
10    feature = "ron",
11    feature = "toml",
12    feature = "yaml",
13)))]
14compile_error!(concat!(r#"no storage formats are selected!
15
16    If you're not sure which formats you'll need,
17    you can start with selecting all of them:
18
19    bevy-persistent = { version = ""#, env!("CARGO_PKG_VERSION"), r#"", features = ["all"] }
20
21"#));
22
23pub mod builder;
24pub mod error;
25pub mod format;
26pub mod persistent;
27pub mod prelude;
28pub mod storage;
29
30pub use crate::{
31    builder::PersistentBuilder,
32    error::PersistenceError,
33    format::StorageFormat,
34    persistent::Persistent,
35    storage::Storage,
36};