bevy/crates/bevy_text/Cargo.toml
Carter Anderson 9666a7e688 Rename bevy_platform_support to bevy_platform (#18813)
The goal of `bevy_platform_support` is to provide a set of platform
agnostic APIs, alongside platform-specific functionality. This is a high
traffic crate (providing things like HashMap and Instant). Especially in
light of https://github.com/bevyengine/bevy/discussions/18799, it
deserves a friendlier / shorter name.

Given that it hasn't had a full release yet, getting this change in
before Bevy 0.16 makes sense.

- Rename `bevy_platform_support` to `bevy_platform`.
2025-04-14 22:45:27 +02:00

68 lines
2.4 KiB
TOML

[package]
name = "bevy_text"
version = "0.16.0-rc.4"
edition = "2024"
description = "Provides text functionality for Bevy Engine"
homepage = "https://bevyengine.org"
repository = "https://github.com/bevyengine/bevy"
license = "MIT OR Apache-2.0"
keywords = ["bevy"]
[features]
default_font = []
[dependencies]
# bevy
bevy_app = { path = "../bevy_app", version = "0.16.0-rc.4" }
bevy_asset = { path = "../bevy_asset", version = "0.16.0-rc.4" }
bevy_color = { path = "../bevy_color", version = "0.16.0-rc.4" }
bevy_derive = { path = "../bevy_derive", version = "0.16.0-rc.4" }
bevy_ecs = { path = "../bevy_ecs", version = "0.16.0-rc.4" }
bevy_image = { path = "../bevy_image", version = "0.16.0-rc.4" }
bevy_log = { path = "../bevy_log", version = "0.16.0-rc.4" }
bevy_math = { path = "../bevy_math", version = "0.16.0-rc.4" }
bevy_reflect = { path = "../bevy_reflect", version = "0.16.0-rc.4" }
bevy_render = { path = "../bevy_render", version = "0.16.0-rc.4" }
bevy_sprite = { path = "../bevy_sprite", version = "0.16.0-rc.4" }
bevy_transform = { path = "../bevy_transform", version = "0.16.0-rc.4" }
bevy_window = { path = "../bevy_window", version = "0.16.0-rc.4" }
bevy_utils = { path = "../bevy_utils", version = "0.16.0-rc.4" }
bevy_platform = { path = "../bevy_platform", version = "0.16.0-rc.4", default-features = false, features = [
"std",
"serialize",
] }
# other
cosmic-text = { version = "0.13", features = ["shape-run-cache"] }
thiserror = { version = "2", default-features = false }
serde = { version = "1", features = ["derive"] }
smallvec = "1.13"
unicode-bidi = "0.3.13"
sys-locale = "0.3.0"
tracing = { version = "0.1", default-features = false, features = ["std"] }
[target.'cfg(target_arch = "wasm32")'.dependencies]
# TODO: Assuming all wasm builds are for the browser. Require `no_std` support to break assumption.
bevy_log = { path = "../bevy_log", version = "0.16.0-rc.4", default-features = false, features = [
"web",
] }
bevy_app = { path = "../bevy_app", version = "0.16.0-rc.4", default-features = false, features = [
"web",
] }
bevy_platform = { path = "../bevy_platform", version = "0.16.0-rc.4", default-features = false, features = [
"web",
] }
bevy_reflect = { path = "../bevy_reflect", version = "0.16.0-rc.4", default-features = false, features = [
"web",
] }
[dev-dependencies]
approx = "0.5.1"
[lints]
workspace = true
[package.metadata.docs.rs]
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition"]
all-features = true