mirror of
https://github.com/bevyengine/bevy
synced 2024-12-21 10:33:08 +00:00
cedd0c5028
# Objective - Contributes to #15460 - Allows `bevy_mikktspace` to be used in `no_std` contexts. ## Solution - Added `std` (default) and `libm` features which control the inclusion of the standard library. To use `bevy_mikktspace` in `no_std` environments, enable the `libm` feature. ## Testing - CI - `cargo clippy -p bevy_mikktspace --target "x86_64-unknown-none" --no-default-features --features libm`
36 lines
941 B
TOML
36 lines
941 B
TOML
[package]
|
|
name = "bevy_mikktspace"
|
|
version = "0.15.0-dev"
|
|
edition = "2021"
|
|
authors = [
|
|
"Benjamin Wasty <benny.wasty@gmail.com>",
|
|
"David Harvey-Macaulay <alteous@outlook.com>",
|
|
"Layl Bongers <LaylConway@users.noreply.github.com>",
|
|
]
|
|
description = "Mikkelsen tangent space algorithm"
|
|
documentation = "https://docs.rs/bevy"
|
|
homepage = "https://bevyengine.org"
|
|
repository = "https://github.com/bevyengine/bevy"
|
|
license = "Zlib AND (MIT OR Apache-2.0)"
|
|
keywords = ["bevy", "3D", "graphics", "algorithm", "tangent"]
|
|
rust-version = "1.76.0"
|
|
|
|
[features]
|
|
default = ["std"]
|
|
|
|
std = ["glam/std"]
|
|
libm = ["glam/libm", "dep:libm"]
|
|
|
|
[dependencies]
|
|
glam = { version = "0.29.0", default-features = false }
|
|
libm = { version = "0.2", default-features = false, optional = true }
|
|
|
|
[[example]]
|
|
name = "generate"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[package.metadata.docs.rs]
|
|
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition"]
|
|
all-features = true
|