[package]
edition = "2024"
rust-version = "1.97.1"
name = "bevy_elements"
version = "0.5.1"
authors = ["C. Thomas Brittain <cthomasbrittain@yahoo.com>"]
build = false
exclude = [
"docs/*.gif",
"docs/*.png",
"docs/research/*",
"tools/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Living environments for Bevy: sun, moon and stars, climate-driven weather, GPU wind, volumetric clouds, rain, snow and fog, lightning, terrain with hydraulic and thermal erosion, flooding, snow cover, wetness and dust — simulated in compute shaders."
documentation = "https://docs.rs/bevy_elements"
readme = "README.md"
keywords = [
"bevy",
"weather",
"terrain",
"erosion",
"atmosphere",
]
categories = [
"game-development",
"graphics",
"rendering",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Ladvien/bevy_elements"
[package.metadata.docs.rs]
all-features = true
[features]
default = []
flora = ["dep:bevy_flora"]
isomesh = [
"dep:bevy_isomesh",
"dep:isomesh",
]
serde = ["dep:serde"]
[lib]
name = "bevy_elements"
path = "src/lib.rs"
[[example]]
name = "bench_elements"
path = "examples/bench_elements.rs"
[[example]]
name = "cloud_shadow_probes"
path = "examples/cloud_shadow_probes.rs"
[[example]]
name = "day_night"
path = "examples/day_night.rs"
[[example]]
name = "dust_storm"
path = "examples/dust_storm.rs"
[[example]]
name = "erosion_bake"
path = "examples/erosion_bake.rs"
[[example]]
name = "external_ground"
path = "examples/external_ground.rs"
[[example]]
name = "flood"
path = "examples/flood.rs"
[[example]]
name = "flora_wind"
path = "examples/flora_wind.rs"
required-features = ["flora"]
[[example]]
name = "ground_cover"
path = "examples/ground_cover.rs"
[[example]]
name = "lake"
path = "examples/lake.rs"
[[example]]
name = "quickstart"
path = "examples/quickstart.rs"
[[example]]
name = "rain"
path = "examples/rain.rs"
[[example]]
name = "snowfall"
path = "examples/snowfall.rs"
[[example]]
name = "storm"
path = "examples/storm.rs"
[[example]]
name = "terrain_tour"
path = "examples/terrain_tour.rs"
[[example]]
name = "voxel_snow"
path = "examples/voxel_snow.rs"
required-features = ["isomesh"]
[[example]]
name = "weather_tour"
path = "examples/weather_tour.rs"
[[example]]
name = "weathered_town"
path = "examples/weathered_town.rs"
[[test]]
name = "gpu_clouds"
path = "tests/gpu_clouds.rs"
[[test]]
name = "gpu_hydrology"
path = "tests/gpu_hydrology.rs"
[[test]]
name = "gpu_imports"
path = "tests/gpu_imports.rs"
[[test]]
name = "gpu_precipitation"
path = "tests/gpu_precipitation.rs"
[[test]]
name = "gpu_water"
path = "tests/gpu_water.rs"
[[test]]
name = "gpu_weathered"
path = "tests/gpu_weathered.rs"
[[test]]
name = "gpu_wind"
path = "tests/gpu_wind.rs"
[[test]]
name = "leaf"
path = "tests/leaf.rs"
[[test]]
name = "lightning"
path = "tests/lightning.rs"
[[test]]
name = "walk"
path = "tests/walk.rs"
[dependencies.bevy]
version = "0.20.0"
features = [
"std",
"bevy_asset",
"bevy_render",
"bevy_core_pipeline",
"bevy_pbr",
"bevy_light",
"bevy_camera",
"bevy_image",
"bevy_mesh",
"bevy_shader",
"bevy_log",
"bevy_color",
]
default-features = false
[dependencies.bevy_flora]
version = "0.30"
optional = true
default-features = false
[dependencies.bevy_isomesh]
version = "0.0.11"
optional = true
[dependencies.bytemuck]
version = "1"
features = ["derive"]
[dependencies.isomesh]
version = "0.0.11"
optional = true
[dependencies.serde]
version = "1"
features = ["derive"]
optional = true
[dev-dependencies.bevy]
version = "0.20.0"
[target.'cfg(target_arch = "wasm32")'.dev-dependencies.bevy]
version = "0.20.0"
features = [
"web",
"webgpu",
]
default-features = false
[lints.clippy]
dbg_macro = "deny"
todo = "deny"
unimplemented = "deny"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"
[profile.dev]
opt-level = 1
debug = 0
[profile.dev.package."*"]
opt-level = 3
[profile.wasm-release]
opt-level = "s"
lto = "thin"
codegen-units = 1
inherits = "release"
strip = "debuginfo"