bevy_elements 0.7.3

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
# 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"
rust-version = "1.97.1"
name = "bevy_elements"
version = "0.7.3"
authors = ["C. Thomas Brittain <cthomasbrittain@yahoo.com>"]
build = false
exclude = [
    "assets/*",
    "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 = "isometric"
path = "examples/isometric.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 = "trails"
path = "examples/trails.rs"

[[example]]
name = "voxel_snow"
path = "examples/voxel_snow.rs"
required-features = ["isomesh"]

[[example]]
name = "voxel_walls"
path = "examples/voxel_walls.rs"
required-features = ["isomesh"]

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

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

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

[[test]]
name = "climate_history"
path = "tests/climate_history.rs"

[[test]]
name = "game_lights"
path = "tests/game_lights.rs"

[[test]]
name = "gpu_cloud_ambient"
path = "tests/gpu_cloud_ambient.rs"

[[test]]
name = "gpu_clouds"
path = "tests/gpu_clouds.rs"

[[test]]
name = "gpu_dressing"
path = "tests/gpu_dressing.rs"

[[test]]
name = "gpu_hydrology"
path = "tests/gpu_hydrology.rs"

[[test]]
name = "gpu_imports"
path = "tests/gpu_imports.rs"

[[test]]
name = "gpu_plugins"
path = "tests/gpu_plugins.rs"

[[test]]
name = "gpu_precipitation"
path = "tests/gpu_precipitation.rs"

[[test]]
name = "gpu_readback"
path = "tests/gpu_readback.rs"

[[test]]
name = "gpu_rocks"
path = "tests/gpu_rocks.rs"

[[test]]
name = "gpu_sculpt"
path = "tests/gpu_sculpt.rs"

[[test]]
name = "gpu_sky_probe"
path = "tests/gpu_sky_probe.rs"

[[test]]
name = "gpu_still_water"
path = "tests/gpu_still_water.rs"

[[test]]
name = "gpu_trail_ground"
path = "tests/gpu_trail_ground.rs"

[[test]]
name = "gpu_trails"
path = "tests/gpu_trails.rs"

[[test]]
name = "gpu_twilight"
path = "tests/gpu_twilight.rs"

[[test]]
name = "gpu_units"
path = "tests/gpu_units.rs"

[[test]]
name = "gpu_water"
path = "tests/gpu_water.rs"

[[test]]
name = "gpu_waves"
path = "tests/gpu_waves.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 = "save"
path = "tests/save.rs"
required-features = ["serde"]

[[test]]
name = "setup"
path = "tests/setup.rs"
required-features = ["serde"]

[[test]]
name = "snow_season"
path = "tests/snow_season.rs"

[[test]]
name = "surface_setup"
path = "tests/surface_setup.rs"
required-features = ["serde"]

[[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.46"
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"
features = ["jpeg"]

[dev-dependencies.log]
version = "0.4"

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

[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"