# 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 = "2021"
name = "glamx"
version = "0.1.0"
authors = ["Sébastien Crozet <developer@crozet.re>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Extensions for glam: Pose2, Pose3, Rot2, and matrix utilities."
homepage = "https://dimforge.com"
documentation = "https://docs.rs/glamx"
readme = "README.md"
keywords = [
    "math",
    "geometry",
    "rotation",
    "pose",
    "glam",
]
categories = [
    "mathematics",
    "game-development",
    "no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/dimforge/parry"

[features]
approx = [
    "dep:approx",
    "glam/approx",
]
bytemuck = [
    "dep:bytemuck",
    "glam/bytemuck",
]
cuda = ["glam/cuda"]
debug-glam-assert = ["glam/debug-glam-assert"]
default = ["std"]
encase = ["glam/encase"]
fast-math = ["glam/fast-math"]
glam-assert = ["glam/glam-assert"]
glamx-serde = []
libm = [
    "glam/libm",
    "simba/libm_force",
    "num-traits/libm",
]
mint = ["glam/mint"]
nalgebra = ["dep:nalgebra"]
rand = ["glam/rand"]
rkyv = ["glam/rkyv"]
scalar-math = ["glam/scalar-math"]
serde = [
    "dep:serde",
    "glam/serde",
    "glamx-serde",
]
std = [
    "glam/std",
    "simba/std",
    "approx?/std",
]

[lib]
name = "glamx"
path = "src/lib.rs"

[dependencies.approx]
version = "0.5"
optional = true
default-features = false

[dependencies.bytemuck]
version = "1"
features = ["derive"]
optional = true

[dependencies.glam]
version = "0.30"
default-features = false

[dependencies.nalgebra]
version = "0.34"
features = ["convert-glam030"]
optional = true
default-features = false

[dependencies.num-traits]
version = "0.2"
features = ["libm"]
default-features = false

[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true

[dependencies.simba]
version = "0.9"
default-features = false

[dev-dependencies.approx]
version = "0.5"

[dev-dependencies.glam]
version = "0.30"
features = ["approx"]
