# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "keket"
version = "0.19.1"
authors = ["Patryk 'PsichiX' Budzynski <psichix@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Database-like Asset management on top of ECS storage"
homepage = "https://github.com/PsichiX/keket"
documentation = "https://docs.rs/keket"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/PsichiX/keket"
resolver = "2"

[package.metadata.docs.rs]
cargo-args = [
    "-Zunstable-options",
    "-Zrustdoc-scrape-examples",
]

[features]
default = ["hotreload"]
hotreload = ["notify"]

[lib]
name = "keket"
path = "src/lib.rs"

[[example]]
name = "01_hello_world"
path = "examples/01_hello_world.rs"
doc-scrape-examples = true

[[example]]
name = "02_zip"
path = "examples/02_zip.rs"

[[example]]
name = "03_dependencies"
path = "examples/03_dependencies.rs"

[[example]]
name = "04_events"
path = "examples/04_events.rs"

[[example]]
name = "05_deferred_fetch"
path = "examples/05_deferred_fetch.rs"

[[example]]
name = "06_router_fetch"
path = "examples/06_router_fetch.rs"

[[example]]
name = "07_fallback"
path = "examples/07_fallback.rs"

[[example]]
name = "08_dlcs_asset_packs"
path = "examples/08_dlcs_asset_packs.rs"

[[example]]
name = "09_hot_reloading"
path = "examples/09_hot_reloading.rs"

[[example]]
name = "10_references"
path = "examples/10_references.rs"

[[example]]
name = "11_custom_protocol_simple"
path = "examples/11_custom_protocol_simple.rs"

[[example]]
name = "12_custom_protocol_advanced"
path = "examples/12_custom_protocol_advanced.rs"

[[example]]
name = "13_custom_fetch"
path = "examples/13_custom_fetch.rs"

[[example]]
name = "14_assets_versioning"
path = "examples/14_assets_versioning.rs"

[[example]]
name = "15_localized_assets"
path = "examples/15_localized_assets.rs"

[[example]]
name = "16_extract_from_asset"
path = "examples/16_extract_from_asset.rs"

[[example]]
name = "17_smart_references"
path = "examples/17_smart_references.rs"

[[example]]
name = "18_temporary_fetch"
path = "examples/18_temporary_fetch.rs"

[[example]]
name = "19_loading_progress"
path = "examples/19_loading_progress.rs"

[[example]]
name = "20_consumed_asset_load"
path = "examples/20_consumed_asset_load.rs"

[[example]]
name = "21_store_asset"
path = "examples/21_store_asset.rs"

[[example]]
name = "22_store_custom_asset"
path = "examples/22_store_custom_asset.rs"

[[example]]
name = "23_future_fetch"
path = "examples/23_future_fetch.rs"

[[example]]
name = "24_future_store"
path = "examples/24_future_store.rs"

[[example]]
name = "25_tokio_axum"
path = "examples/25_tokio_axum.rs"

[[example]]
name = "26_throttled_fetch"
path = "examples/26_throttled_fetch.rs"

[[example]]
name = "27_future_protocol"
path = "examples/27_future_protocol.rs"

[[example]]
name = "ingame"
path = "examples/ingame.rs"

[dependencies.anput]
version = "0.22"

[dependencies.moirai]
version = "0.3"

[dependencies.notify]
version = "8.0"
optional = true

[dependencies.serde]
version = "1"
features = ["derive"]

[dev-dependencies.axum]
version = "0.8"
features = ["macros"]

[dev-dependencies.png]
version = "0.17"

[dev-dependencies.serde_json]
version = "1"

[dev-dependencies.spitfire]
version = "0.36"
features = [
    "draw",
    "glow",
]

[dev-dependencies.tokio]
version = "1"
features = ["full"]

[dev-dependencies.zip]
version = "4.1"
