# 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"
rust-version = "1.90.0"
name = "ggmath"
version = "0.16.6"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A linear algebra library for games and graphics with generic SIMD types."
readme = "README.md"
keywords = [
    "math",
    "matrix",
    "simd",
    "vector",
]
categories = [
    "data-structures",
    "game-development",
    "graphics",
    "mathematics",
    "no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Noam2Stein/ggmath"

[features]
assertions = []
bytemuck = ["dep:bytemuck"]
default = ["std"]
fixed = ["dep:fixed"]
fixp = ["dep:fixp"]
libm = ["dep:libm"]
mint = ["dep:mint"]
no-assertions = []
serde = ["dep:serde"]
std = []
wide = ["dep:wide"]

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

[[test]]
name = "scalar"
path = "tests/scalar.rs"

[[test]]
name = "trait_impl"
path = "tests/trait_impl.rs"

[[bench]]
name = "mask_f32"
path = "benches/mask/f32.rs"
harness = false

[[bench]]
name = "matrix_f32"
path = "benches/matrix/f32.rs"
harness = false

[[bench]]
name = "vector_f32"
path = "benches/vector/f32.rs"
harness = false

[dependencies.bytemuck]
version = "1.25.0"
optional = true

[dependencies.fixed]
version = "1.30.0"
optional = true

[dependencies.fixp]
version = "0.1.0"
optional = true

[dependencies.libm]
version = "0.2.16"
optional = true

[dependencies.mint]
version = "0.5.9"
optional = true

[dependencies.serde]
version = "1.0.228"
optional = true

[dependencies.wide]
version = "1.1.1"
optional = true

[dev-dependencies.assert-impl-trait]
version = "1.0.0"

[dev-dependencies.colored]
version = "3.1.1"

[dev-dependencies.glam]
version = "0.32.0"

[dev-dependencies.gungraun]
version = "0.17.2"

[dev-dependencies.itertools]
version = "0.14.0"

[dev-dependencies.num-primitive]
version = "0.3.6"

[dev-dependencies.repetitive]
version = "0.3.2"

[dev-dependencies.serde_json]
version = "1.0.149"

[profile.bench]
lto = "fat"
codegen-units = 1
