spacetimedb_math 0.1.2

Common math types and SpacetimeDB integrations for server-side Rust modules.
Documentation
# 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 = "spacetimedb_math"
version = "0.1.2"
authors = ["onx2"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Common math types and SpacetimeDB integrations for server-side Rust modules."
documentation = "https://docs.rs/spacetimedb_math"
readme = "README.md"
keywords = [
    "math",
    "spacetimedb",
    "geometry",
    "linear-algebra",
    "gamedev",
]
categories = [
    "mathematics",
    "game-development",
]
license = "MIT"

[package.metadata.docs.rs]
features = [
    "glam",
    "nalgebra",
    "serde",
]

[features]
default = [
    "f32",
    "timing",
]
f32 = []
f64 = ["nalgebra?/std"]
glam = ["dep:glam"]
nalgebra = ["dep:nalgebra"]
serde = ["dep:serde"]
timing = []

[lib]
name = "spacetimedb_math"
crate-type = ["rlib"]
path = "src/lib.rs"

[dependencies.glam]
version = "0.32"
optional = true

[dependencies.nalgebra]
version = "0.34"
optional = true

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

[dependencies.spacetimedb]
version = "1.12"