bevy/crates/bevy_utils/Cargo.toml
François Mockers e9418b3845 Release 0.16.0
2025-04-21 23:14:00 +02:00

47 lines
1.2 KiB
TOML

[package]
name = "bevy_utils"
version = "0.16.0"
edition = "2024"
description = "A collection of utils for Bevy Engine"
homepage = "https://bevyengine.org"
repository = "https://github.com/bevyengine/bevy"
license = "MIT OR Apache-2.0"
keywords = ["bevy"]
[features]
default = ["std", "serde"]
# Functionality
## Adds serialization support through `serde`.
serde = ["bevy_platform/serialize"]
# Platform Compatibility
## Allows access to the `std` crate. Enabling this feature will prevent compilation
## on `no_std` targets, but provides access to certain additional features on
## supported platforms.
std = ["alloc", "bevy_platform/std", "dep:thread_local"]
## Allows access to the `alloc` crate.
alloc = ["bevy_platform/alloc"]
## `critical-section` provides the building blocks for synchronization primitives
## on all platforms, including `no_std`.
critical-section = ["bevy_platform/critical-section"]
[dependencies]
bevy_platform = { path = "../bevy_platform", version = "0.16.0", default-features = false }
thread_local = { version = "1.0", optional = true }
[dev-dependencies]
static_assertions = "1.1.0"
[lints]
workspace = true
[package.metadata.docs.rs]
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition"]
all-features = true