# 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 = "roofy"
version = "0.3.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A simple and lightweight game-engine math library"
readme = "README.md"
keywords = [
    "gamedev",
    "math",
    "vector",
    "quaternion",
    "matrix",
]
categories = [
    "game-engines",
    "mathematics",
    "graphics",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/liandevy/roofy"

[features]
bytemuck = ["dep:bytemuck"]
default = []
serde = ["dep:serde"]

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

[[test]]
name = "bytemuck"
path = "tests/bytemuck/main.rs"

[[test]]
name = "f32"
path = "tests/f32/main.rs"

[[test]]
name = "f64"
path = "tests/f64/main.rs"

[[test]]
name = "serde"
path = "tests/serde/main.rs"

[dependencies.bytemuck]
version = "1"
optional = true
default-features = false

[dependencies.serde]
version = "1"
optional = true
default-features = false

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