xraydb 0.1.2

X-ray reference data for the elements
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 = "xraydb"
version = "0.1.2"
authors = ["Ameyanagi <contact@ameyanagi.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "X-ray reference data for the elements"
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/Ameyanagi/xraydb-rs"

[features]
optics = ["dep:num-complex"]

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

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

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

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

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

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

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

[dependencies.chemical-formula]
version = "0.1.1"

[dependencies.num-complex]
version = "0.4"
optional = true

[dependencies.postcard]
version = "1"
features = ["alloc"]
default-features = false

[dependencies.ruzstd]
version = "0.8"

[dependencies.serde]
version = "1"
features = [
    "derive",
    "alloc",
]
default-features = false

[dependencies.xraydb-data]
version = "0.1.1"

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

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

[dev-dependencies.num-complex]
version = "0.4"