Files
another-boids-in-rust/vendor/bevy_spatial/Cargo.toml

100 lines
2.0 KiB
TOML

# 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"
name = "bevy_spatial"
version = "0.11.0"
authors = ["laund <me@laund.moe>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A crate for tracking bevy entities in spatial indices."
documentation = "https://docs.rs/bevy_spatial"
readme = "README.md"
keywords = [
"gamedev",
"bevy",
"kdtree",
"spatial",
"neighbour",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/laundmo/bevy-spatial"
[features]
default = ["kdtree_rayon"]
kdtree = ["dep:kd-tree"]
kdtree_rayon = [
"kdtree",
"kd-tree/rayon",
]
[lib]
name = "bevy_spatial"
path = "src/lib.rs"
[[example]]
name = "distance2d"
path = "examples/distance2d.rs"
required-features = ["kdtree"]
[[example]]
name = "distance3d"
path = "examples/distance3d.rs"
required-features = ["kdtree"]
[[example]]
name = "modify_timestep"
path = "examples/modify_timestep.rs"
required-features = ["kdtree"]
[[example]]
name = "movetowards"
path = "examples/movetowards.rs"
required-features = ["kdtree"]
[dependencies.bevy]
version = "0.16"
default-features = false
[dependencies.kd-tree]
version = "0.6.0"
optional = true
[dependencies.num-traits]
version = "0.2.19"
[dependencies.typenum]
version = "1.18.0"
[dev-dependencies.bevy]
version = "0.16"
[dev-dependencies.rand]
version = "0.8"
[profile.dev]
opt-level = 1
[profile.dev.package.wgpu-types]
debug-assertions = false
[profile.dev.package."*"]
opt-level = 3
[profile.release-with-debug]
debug = 2
inherits = "release"