refeff-io 0.2.0

FEFF file-format readers and writers (feff.inp, .dat/.bin handoffs, PAD encoding) for the refeff FEFF10 port
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.95"
name = "refeff-io"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "FEFF file-format readers and writers (feff.inp, .dat/.bin handoffs, PAD encoding) for the refeff FEFF10 port"
homepage = "https://github.com/Ameyanagi/refeff"
readme = "README.md"
keywords = [
    "xafs",
    "exafs",
    "xanes",
    "feff",
    "spectroscopy",
]
categories = ["science"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Ameyanagi/refeff"

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

[[example]]
name = "parse_feff_inp"
path = "examples/parse_feff_inp.rs"

[[example]]
name = "read_spectrum"
path = "examples/read_spectrum.rs"

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

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

[dependencies.ndarray]
version = "0.17.2"
features = [
    "approx",
    "rayon",
]
default-features = true

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

[dependencies.rayon]
version = "1.10.0"

[dependencies.refeff-core]
version = "0.2.0"

[dependencies.thiserror]
version = "2.0.12"

[dev-dependencies.anyhow]
version = "1.0.98"

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

[dev-dependencies.proptest]
version = "1"

[dev-dependencies.tempfile]
version = "3.20.0"

[lints.clippy]
expect_used = "warn"
panic = "warn"
todo = "warn"
unimplemented = "warn"
unwrap_used = "warn"

[lints.clippy.all]
level = "allow"
priority = -1

[lints.clippy.pedantic]
level = "allow"
priority = -1

[lints.rust]
unsafe_code = "deny"