[package]
edition = "2024"
rust-version = "1.85.0"
name = "bevy_save"
version = "2.0.1+4"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A framework for saving and loading application state in Bevy."
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/hankjordan/bevy_save"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"-Zunstable-options",
"--generate-link-to-definition",
]
[features]
bevy_asset = ["bevy/bevy_asset"]
bevy_render = ["bevy/bevy_render"]
bevy_sprite = ["bevy/bevy_sprite"]
brotli = ["dep:brotli"]
checkpoints = ["reflect"]
default = [
"reflect",
"checkpoints",
"bevy_asset",
"bevy_render",
"bevy_sprite",
]
reflect = ["bevy/bevy_scene"]
[lib]
name = "bevy_save"
path = "src/lib.rs"
[[example]]
name = "breakout"
path = "examples/breakout.rs"
[[example]]
name = "config"
path = "examples/config.rs"
[[example]]
name = "flows"
path = "examples/flows.rs"
[[example]]
name = "format"
path = "examples/format.rs"
[[example]]
name = "heirarchy"
path = "examples/heirarchy.rs"
[[example]]
name = "pathway"
path = "examples/pathway.rs"
[[example]]
name = "pipeline"
path = "examples/pipeline.rs"
[[test]]
name = "bevy"
path = "tests/bevy.rs"
[[test]]
name = "clone"
path = "tests/clone.rs"
[[test]]
name = "format"
path = "tests/format.rs"
[[test]]
name = "map_entities"
path = "tests/map_entities.rs"
[[test]]
name = "migrate"
path = "tests/migrate.rs"
[[test]]
name = "opaque"
path = "tests/opaque.rs"
[[test]]
name = "overwrite"
path = "tests/overwrite.rs"
[[test]]
name = "reflect"
path = "tests/reflect.rs"
[[test]]
name = "relationship"
path = "tests/relationship.rs"
[dependencies.bevy]
version = "0.16.1"
default-features = false
[dependencies.bevy_save_macros]
version = "2.0.0"
[dependencies.brotli]
version = "8.0"
optional = true
[dependencies.platform-dirs]
version = "0.3"
[dependencies.rmp-serde]
version = "1.3"
[dependencies.semver]
version = "1.0"
[dependencies.serde]
version = "1.0"
[dependencies.serde_json]
version = "1.0"
[dependencies.thiserror]
version = "2.0"
[dependencies.variadics_please]
version = "1.1"
[dev-dependencies.anyhow]
version = "1.0"
[dev-dependencies.bevy]
version = "0.16.1"
features = ["serialize"]
default-features = true
[dev-dependencies.bevy-inspector-egui]
version = "0.33.1"
[dev-dependencies.bevy_egui]
version = "0.36"
[dev-dependencies.io-adapters]
version = "0.4"
[dev-dependencies.postcard]
version = "1.1"
features = ["use-std"]
[dev-dependencies.ron]
version = "0.10"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.smol]
version = "2.0"
[target.'cfg(target_arch = "wasm32")'.dependencies.bevy]
version = "0.16.1"
default-features = false
[target.'cfg(target_arch = "wasm32")'.dependencies.fragile]
version = "2.0"
[target.'cfg(target_arch = "wasm32")'.dependencies.uuid]
version = "1.16"
features = ["js"]
[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
version = "0.2"
default-features = false
[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
version = "0.3"
features = [
"Storage",
"Window",
]
default-features = false
[lints.clippy]
uninlined_format_args = "allow"