48 lines
1.8 KiB
TOML
48 lines
1.8 KiB
TOML
[package]
|
|
name = "bevy_picking"
|
|
version = "0.16.0"
|
|
edition = "2024"
|
|
description = "Provides screen picking functionality for Bevy Engine"
|
|
homepage = "https://bevyengine.org"
|
|
repository = "https://github.com/bevyengine/bevy"
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
[features]
|
|
# Provides a mesh picking backend
|
|
bevy_mesh_picking_backend = ["dep:bevy_mesh", "dep:crossbeam-channel"]
|
|
|
|
[dependencies]
|
|
# bevy
|
|
bevy_app = { path = "../bevy_app", version = "0.16.0" }
|
|
bevy_asset = { path = "../bevy_asset", version = "0.16.0" }
|
|
bevy_derive = { path = "../bevy_derive", version = "0.16.0" }
|
|
bevy_ecs = { path = "../bevy_ecs", version = "0.16.0" }
|
|
bevy_input = { path = "../bevy_input", version = "0.16.0" }
|
|
bevy_math = { path = "../bevy_math", version = "0.16.0" }
|
|
bevy_mesh = { path = "../bevy_mesh", version = "0.16.0", optional = true }
|
|
bevy_reflect = { path = "../bevy_reflect", version = "0.16.0" }
|
|
bevy_render = { path = "../bevy_render", version = "0.16.0" }
|
|
bevy_time = { path = "../bevy_time", version = "0.16.0" }
|
|
bevy_transform = { path = "../bevy_transform", version = "0.16.0" }
|
|
bevy_utils = { path = "../bevy_utils", version = "0.16.0" }
|
|
bevy_window = { path = "../bevy_window", version = "0.16.0" }
|
|
bevy_platform = { path = "../bevy_platform", version = "0.16.0", default-features = false, features = [
|
|
"std",
|
|
] }
|
|
|
|
# other
|
|
crossbeam-channel = { version = "0.5", optional = true }
|
|
uuid = { version = "1.13.1", features = ["v4"] }
|
|
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.
|
|
uuid = { version = "1.13.1", default-features = false, features = ["js"] }
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[package.metadata.docs.rs]
|
|
rustdoc-args = ["-Zunstable-options"]
|
|
all-features = true
|