[package]
edition = "2024"
name = "bevy_materialize"
version = "0.11.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Load, store, and apply type-erased materials in Bevy"
readme = "readme.md"
categories = ["game-development"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Noxmore/bevy_materialize"
[features]
bevy_image = ["bevy/bevy_image"]
bevy_pbr = [
"bevy/bevy_pbr",
"bevy_image",
]
default = [
"bevy_pbr",
"toml",
]
json = ["dep:serde_json"]
toml = ["dep:toml"]
[lib]
name = "bevy_materialize"
path = "src/lib.rs"
[[example]]
name = "custom_material"
path = "examples/custom_material.rs"
required-features = [
"toml",
"bevy_pbr",
]
[[example]]
name = "example"
path = "examples/example.rs"
[[example]]
name = "example_json"
path = "examples/example_json.rs"
required-features = ["json"]
[dependencies.bevy]
version = "0.19"
features = [
"bevy_asset",
"bevy_log",
]
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
optional = true
[dependencies.thiserror]
version = "2"
[dependencies.toml]
version = "1"
optional = true
[dev-dependencies.bevy]
version = "0.19"
features = [
"bevy_winit",
"png",
]
[dev-dependencies.smol]
version = "2"