cfsem 4.0.0

Quasi-steady electromagnetics including filamentized approximations, Biot-Savart, and Grad-Shafranov.
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 = "cfsem"
version = "4.0.0"
authors = ["Commonwealth Fusion Systems <jlogan@cfs.energy>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Quasi-steady electromagnetics including filamentized approximations, Biot-Savart, and Grad-Shafranov."
homepage = "https://github.com/cfs-energy/cfsem-py"
readme = "README.md"
license = "MIT"
repository = "https://github.com/cfs-energy/cfsem-py"

[package.metadata.docs.rs]
rustdoc-args = [
    "--html-in-header",
    "katex-header.html",
]

[features]
default = []
python = [
    "pyo3",
    "numpy",
]

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

[[bench]]
name = "circular_filament"
path = "benches/circular_filament.rs"
harness = false

[[bench]]
name = "linear_filament"
path = "benches/linear_filament.rs"
harness = false

[[bench]]
name = "point_source"
path = "benches/point_source.rs"
harness = false

[dependencies.branches]
version = "0.4.4"

[dependencies.libm]
version = "^0.2"

[dependencies.nalgebra]
version = "^0.34.1"

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

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

[dependencies.pyo3]
version = "0.28.2"
features = ["extension-module"]
optional = true

[dependencies.rayon]
version = "^1.11.0"

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

[dev-dependencies.itertools]
version = "0.14.0"

[profile.dev]
opt-level = 3
codegen-units = 16

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
overflow-checks = true