cfsem 2.4.3

Quasi-steady electromagnetics including filamentized approximations, Biot-Savart, and Grad-Shafranov.
Documentation
[package]
name = "cfsem"
version = "2.4.3"
edition = "2024"
authors = ["Commonwealth Fusion Systems <jlogan@cfs.energy>"]
license = "MIT"
repository = "https://github.com/cfs-energy/cfsem-py"
homepage = "https://github.com/cfs-energy/cfsem-py"
description = "Quasi-steady electromagnetics including filamentized approximations, Biot-Savart, and Grad-Shafranov."
readme = "README.md"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
name = "cfsem"
crate-type = ["cdylib", "rlib"]

[dependencies]
pyo3 = { version="0.25.1", features=["extension-module"], optional=true }
numpy = { version="0.25.0", optional=true }  # This must match pyo3 version!

nalgebra = "^0.33.2"
rayon = "^1.10.0"
libm = "^0.2"
num-traits = { version = "0.2.19", features = ["libm"] }

[dev-dependencies]
criterion = "0.5.1"
itertools = "0.14.0"

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

[profile.dev]
# Nearly full optimizations for debug builds to test for perf regressions
# when using maturin develop
opt-level = 3
lto = true
codegen-units = 1

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

[[bench]]
name = "linear_filament"
harness = false

[[bench]]
name = "circular_filament"
harness = false

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