bevy/crates/bevy_dylib/Cargo.toml
Zachary Harrold 6bb7573a33
Switch from OnceCell to LazyLock in bevy_tasks (#18506)
# Objective

Remove `critical-section` from required dependencies, allowing linking
without any features.

## Solution

- Switched from `OnceCell` to `LazyLock`
- Removed `std` feature from `bevy_dylib` (proof that it works)

## Testing

- CI
2025-03-24 07:43:22 +00:00

23 lines
575 B
TOML

[package]
name = "bevy_dylib"
version = "0.16.0-dev"
edition = "2024"
description = "Force the Bevy Engine to be dynamically linked for faster linking"
homepage = "https://bevyengine.org"
repository = "https://github.com/bevyengine/bevy"
license = "MIT OR Apache-2.0"
keywords = ["bevy"]
[lib]
crate-type = ["dylib"]
[dependencies]
bevy_internal = { path = "../bevy_internal", version = "0.16.0-dev", default-features = false }
[lints]
workspace = true
[package.metadata.docs.rs]
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition"]
all-features = true