[build-dependencies.regex]
version = "1.11.1"
[dependencies.ndarray]
version = "0.16"
[dependencies.num-traits]
version = "0.2.19"
[dependencies.numpy]
optional = true
version = "0.22.0"
[dependencies.pyo3]
features = ["extension-module", "auto-initialize", "multiple-pymethods"]
optional = true
version = "0.22"
[dependencies.serde]
features = ["derive"]
optional = true
version = "1"
[dependencies.serde_json]
optional = true
version = "1.0.140"
[dependencies.strum]
optional = true
version = "0.27.2"
[dependencies.strum_macros]
optional = true
version = "0.27.2"
[features]
pyo3 = ["dep:pyo3", "dep:numpy"]
serde = ["dep:serde", "dep:serde_json", "ndarray/serde"]
strum = ["dep:strum", "dep:strum_macros"]
[lib]
crate-type = ["cdylib", "rlib"]
name = "unitforge"
path = "src/lib.rs"
[package]
authors = ["Dr.Q team <info@askdrq.com>", "Henrik Stromberg <henrik@askdrq.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
description = "A library for unit and quantity consistent computations in Rust"
edition = "2021"
keywords = ["units", "quantities", "simulation", "physics"]
license = "MIT"
name = "unitforge"
readme = "Readme.md"
repository = "https://gitlab.com/henrikjstromberg/unitforge"
version = "0.2.38"
[[test]]
name = "matrix2"
path = "tests/matrix2.rs"
[[test]]
name = "matrix2x3"
path = "tests/matrix2x3.rs"
[[test]]
name = "matrix3"
path = "tests/matrix3.rs"
[[test]]
name = "matrix3x2"
path = "tests/matrix3x2.rs"
[[test]]
name = "quantities"
path = "tests/quantities.rs"
[[test]]
name = "small_linalg_interfaces"
path = "tests/small_linalg_interfaces.rs"
[[test]]
name = "vector2"
path = "tests/vector2.rs"
[[test]]
name = "vector3"
path = "tests/vector3.rs"