[package]
edition = "2021"
name = "bevy-persistent"
version = "0.10.0"
authors = [
"Umut Şahin <umutsahin@protonmail.com>",
"Shane Lillie <ignignokterr@gmail.com>",
"Eri Pazos <eri@inventati.org>",
"Scott Godwin <sgodwincs@gmail.com>",
"Helium <liqhelium@gmail.com>",
"Fallible <fallible.things@gmail.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Bevy helper to easily manage resources that need to persist across game sessions."
readme = "README.md"
keywords = [
"gamedev",
"bevy",
"persistent",
"resource",
]
categories = [
"config",
"filesystem",
"game-development",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/umut-sahin/bevy-persistent/"
[package.metadata.docs.rs]
features = ["all"]
[features]
all = [
"bincode",
"ini",
"json",
"pretty",
"ron",
"toml",
"yaml",
]
default = []
ini = ["serde_ini"]
json = ["serde_json"]
library = []
pretty = []
yaml = ["serde_yaml"]
[lib]
name = "bevy_persistent"
path = "src/lib.rs"
[[example]]
name = "alternating-crouch-key"
path = "examples/alternating-crouch-key.rs"
[[example]]
name = "autosave"
path = "examples/autosave.rs"
[[example]]
name = "smart-window"
path = "examples/smart-window.rs"
[[test]]
name = "builder"
path = "tests/builder.rs"
[[test]]
name = "format"
path = "tests/format.rs"
[[test]]
name = "persistent"
path = "tests/persistent.rs"
[[test]]
name = "storage"
path = "tests/storage.rs"
[dependencies.bevy]
version = "0.18"
features = [
"std",
"bevy_log",
]
default-features = false
[dependencies.bincode]
version = "1.3"
optional = true
[dependencies.ron]
version = "0.11"
optional = true
[dependencies.serde]
version = "1.0"
[dependencies.serde_ini]
version = "0.2"
optional = true
[dependencies.serde_json]
version = "1.0"
optional = true
[dependencies.serde_yaml]
version = "0.9"
optional = true
[dependencies.thiserror]
version = "2.0"
[dependencies.toml]
version = "0.9"
optional = true
[dev-dependencies.anyhow]
version = "1.0"
[dev-dependencies.bevy]
version = "0.18"
features = ["serialize"]
[dev-dependencies.dirs]
version = "6.0"
[target.'cfg(not(target_family = "wasm"))'.dev-dependencies.tempfile]
version = "3.4"
[target.'cfg(target_family = "wasm")'.dependencies.gloo-storage]
version = "0.3"
[target.'cfg(target_family = "wasm")'.dev-dependencies.wasm-bindgen-test]
version = "0.3"