quantity 0.13.1

Representation of quantites, i.e. of unit valued scalars and arrays.
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"
rust-version = "1.87"
name = "quantity"
version = "0.13.1"
authors = [
    "Philipp Rehner <prehner@ethz.ch>",
    "Gernot Bauer <bauer@itt.uni-stuttgart.de>",
]
build = "build.rs"
exclude = [
    "/.github/*",
    "*.ipynb",
    "/docs",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Representation of quantites, i.e. of unit valued scalars and arrays."
homepage = "https://github.com/itt-ustutt/quantity"
readme = "README.md"
keywords = [
    "physics",
    "units",
    "SI",
]
categories = [
    "data-structures",
    "science",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/itt-ustutt/quantity"

[package.metadata.docs.rs]
features = [
    "python_numpy",
    "num-dual",
    "approx",
]
rustdoc-args = [
    "--html-in-header",
    "./src/docs-header.html",
]

[features]
approx = [
    "dep:approx",
    "ndarray?/approx",
]
default = []
num-dual = [
    "dep:num-dual",
    "nalgebra",
]
python = ["pyo3"]
python_numpy = [
    "python",
    "numpy/nalgebra",
    "ndarray",
    "nalgebra",
]

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

[dependencies.approx]
version = "0.5"
optional = true

[dependencies.document-features]
version = "0.2"

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

[dependencies.ndarray]
version = "0.17"
optional = true

[dependencies.num-dual]
version = "0.13"
optional = true

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

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

[dependencies.pyo3]
version = "0.27"
optional = true

[dev-dependencies.approx]
version = "0.5"