mirror of
https://github.com/bevyengine/bevy
synced 2024-12-23 03:23:20 +00:00
0c98a2f0ca
# Objective - Expose `mint` feature of `glam` in `bevy_math`. - Unblocks harudagondi/bevy_oddio#22 - [`oddio::SpatialOptions`] uses mint types [`oddio::SpatialOptions`]: https://docs.rs/oddio/latest/oddio/struct.SpatialOptions.html ## Solution - Added features in `bevy_math`, ~`bevy_internal`, `bevy`~ - ~Updated `docs/cargo_features.md`~ --- ## Changelog ### Added - `mint` feature in `bevy_math` to allow interoperation of glam types with mint-compatible libraries.
17 lines
456 B
TOML
17 lines
456 B
TOML
[package]
|
|
name = "bevy_math"
|
|
version = "0.9.0-dev"
|
|
edition = "2021"
|
|
description = "Provides math functionality for Bevy Engine"
|
|
homepage = "https://bevyengine.org"
|
|
repository = "https://github.com/bevyengine/bevy"
|
|
license = "MIT OR Apache-2.0"
|
|
keywords = ["bevy"]
|
|
|
|
[dependencies]
|
|
glam = { version = "0.21", features = ["serde", "bytemuck"] }
|
|
serde = "1"
|
|
|
|
[features]
|
|
# Enable interoperation of glam types with mint-compatible libraries
|
|
mint = ["glam/mint"]
|