magba 0.4.2

Magnetic computation library for 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 = "2024"
name = "magba"
version = "0.4.2"
authors = ["Sira Pornsiriprasert <code@psira.me>"]
build = false
include = [
    "/src",
    "/LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Magnetic computation library for Rust"
homepage = "https://github.com/p-sira/magba"
documentation = "https://docs.rs/magba"
readme = "README.md"
keywords = [
    "analytical",
    "magnetism",
    "magnetic-field",
    "simulation",
    "physics",
]
categories = [
    "science",
    "simulation",
    "no-std",
]
license = "BSD-3-Clause"
repository = "https://github.com/p-sira/magba"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
alloc = ["nalgebra/alloc"]
default = [
    "std",
    "rayon",
]
libm = [
    "ellip/libm",
    "num-traits/libm",
    "nalgebra/libm",
]
rayon = [
    "std",
    "dep:rayon",
    "nalgebra/rayon",
]
std = [
    "alloc",
    "ellip/std",
    "num-traits/std",
    "nalgebra/std",
    "dep:derive_more",
    "dep:dyn-clone",
]
unstable = []

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

[dependencies.concat-idents]
version = "1.1.5"

[dependencies.delegate]
version = "0.13.5"

[dependencies.derive_more]
version = "2.1.1"
features = ["display"]
optional = true

[dependencies.dyn-clone]
version = "1.0.20"
optional = true

[dependencies.ellip]
version = "1.1.0"
features = ["unstable"]
default-features = false

[dependencies.enum_dispatch]
version = "0.3.13"

[dependencies.getset]
version = "0.1.6"

[dependencies.itertools]
version = "0.14.0"
default-features = false

[dependencies.nalgebra]
version = "0.34.1"
features = ["macros"]
default-features = false

[dependencies.num-traits]
version = "0.2.19"
default-features = false

[dependencies.numeric_literals]
version = "0.2.0"

[dependencies.rayon]
version = "1.10.0"
optional = true

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

[dev-dependencies.criterion]
version = "0.5.1"

[dev-dependencies.csv]
version = "1.3.1"

[dev-dependencies.magba-dev-utils]
version = "0.4"

[dev-dependencies.regex]
version = "1.12.2"

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

[dev-dependencies.tabled]
version = "0.18"