unitforge 0.3.8

A library for unit and quantity consistent computations in Rust
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 = "2021"
name = "unitforge"
version = "0.3.8"
authors = [
    "Dr.Q team <info@askdrq.com>",
    "Henrik Stromberg <henrik@askdrq.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A library for unit and quantity consistent computations in Rust"
readme = "Readme.md"
keywords = [
    "units",
    "quantities",
    "simulation",
    "physics",
]
license = "MIT"
repository = "https://gitlab.com/henrikjstromberg/unitforge"

[features]
pyo3 = [
    "dep:pyo3",
    "dep:numpy",
]
serde = [
    "dep:serde",
    "dep:serde_json",
    "ndarray/serde",
]
strum = [
    "dep:strum",
    "dep:strum_macros",
]

[lib]
name = "unitforge"
crate-type = [
    "cdylib",
    "rlib",
]
path = "src/lib.rs"

[[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 = "ndarray_dot"
path = "tests/ndarray_dot.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"

[dependencies.ndarray]
version = "0.16"

[dependencies.num-traits]
version = "0.2.19"

[dependencies.numpy]
version = "0.26.0"
optional = true

[dependencies.pyo3]
version = "0.26.0"
features = [
    "extension-module",
    "auto-initialize",
    "multiple-pymethods",
]
optional = true

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

[dependencies.serde_json]
version = "1.0.140"
optional = true

[dependencies.strum]
version = "0.27.2"
optional = true

[dependencies.strum_macros]
version = "0.27.2"
optional = true

[dependencies.unitforge_macros]
version = "0.3.8"