dreid-kernel 0.4.1

A high-performance, no-std Rust library providing pure mathematical primitives and stateless energy kernels for the DREIDING force field.
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 = "dreid-kernel"
version = "0.4.1"
authors = [
    "Tony Kan <tonykan@caltech.edu>",
    "William A. Goddard III <wag@caltech.edu>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A high-performance, no-std Rust library providing pure mathematical primitives and stateless energy kernels for the DREIDING force field."
readme = "README.md"
keywords = [
    "chemistry",
    "physics",
    "molecular-dynamics",
    "force-field",
    "dreiding",
]
categories = [
    "science::computational-chemistry::molecular-simulation",
    "no-std",
]
license = "MIT"
repository = "https://github.com/caltechmsc/dreid-kernel"

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

[features]
default = ["std"]
libm = ["dep:libm"]
std = []

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

[[test]]
name = "consistency"
path = "tests/consistency.rs"

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

[dependencies.libm]
version = "0.2.16"
optional = true

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

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

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
panic = "abort"
strip = true