Rustb 0.6.4

A package for calculating band, angle state, linear and nonlinear conductivities based on tight-binding models
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.90.0"
name = "Rustb"
version = "0.6.4"
build = false
exclude = [
    "target/",
    "examples/",
    ".github/",
    "crate/",
    "tests/",
    "CLAUDE.md",
    ".claude/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A package for calculating band, angle state, linear and nonlinear conductivities based on tight-binding models"
readme = "README.md"
keywords = [
    "tight-binding",
    "physics",
    "Rustb",
]
categories = ["science"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/LiuyichenYanwushang/Rustb"
resolver = "2"

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

[[package.metadata.docs.rs.artifacts]]
src = "doc/dos_2D.svg"
dst = "dos_2D.svg"

[features]
intel-mkl-static = [
    "ndarray-linalg/intel-mkl-static",
    "intel-mkl-src/mkl-static-lp64-seq",
]
intel-mkl-system = [
    "ndarray-linalg/intel-mkl-system",
    "intel-mkl-src/mkl-dynamic-lp64-seq",
]
netlib-src = ["dep:netlib-src"]
netlib-static = [
    "ndarray-linalg/netlib-static",
    "netlib-src/static",
]
netlib-system = [
    "ndarray-linalg/netlib-system",
    "netlib-src/system",
]
openblas-src = ["dep:openblas-src"]
openblas-static = [
    "ndarray-linalg/openblas-static",
    "openblas-src/static",
]
openblas-system = [
    "ndarray-linalg/openblas-system",
    "openblas-src/system",
]

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

[dependencies.blas]
version = "0.23.0"

[dependencies.cblas-sys]
version = "0.2.0"

[dependencies.gnuplot]
version = "0.0.39"

[dependencies.intel-mkl-src]
version = "0.8.1"
optional = true
default-features = false

[dependencies.katexit]
version = "0.1.5"

[dependencies.lapack]
version = "0.19.0"

[dependencies.ndarray]
version = "0.17.2"
features = [
    "rayon",
    "serde",
]

[dependencies.ndarray-linalg]
version = "0.18.0"
default-features = false

[dependencies.netlib-src]
version = "0.9.0"
features = ["cblas"]
optional = true
default-features = false

[dependencies.num-complex]
version = "0.4.4"

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

[dependencies.openblas-src]
version = "0.10.4"
features = ["cblas"]
optional = true
default-features = false

[dependencies.rayon]
version = "1.8.0"

[dependencies.serde]
version = "1.0.215"
features = ["derive"]

[dependencies.thiserror]
version = "2.0.12"

[profile.release]
lto = "fat"
codegen-units = 1