metatensor 0.3.0

Self-describing sparse tensor data format for atomistic machine learning and beyond
# 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 = "2021"
rust-version = "1.74"
name = "metatensor"
version = "0.3.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Self-describing sparse tensor data format for atomistic machine learning and beyond"
homepage = "https://docs.metatensor.org/latest/"
readme = "README.md"
license = "BSD-3-Clause"
repository = "https://github.com/metatensor/metatensor"

[features]
bench = ["dep:criterion"]
default = []
static = ["metatensor-sys/static"]

[lib]
name = "metatensor"
path = "src/lib.rs"
bench = false

[[test]]
name = "components-to-properties"
path = "tests/components-to-properties.rs"

[[test]]
name = "keys-to-properties"
path = "tests/keys-to-properties.rs"

[[test]]
name = "keys-to-samples"
path = "tests/keys-to-samples.rs"

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

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

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

[dependencies.criterion]
version = "0.8"
optional = true
default-features = false

[dependencies.dlpk]
version = "0.3.0"
features = [
    "ndarray",
    "half",
    "sync",
]

[dependencies.half]
version = "<2.5"

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

[dependencies.ndarray]
version = "0.17"

[dependencies.once_cell]
version = "1"

[dependencies.rayon]
version = "1"
optional = true

[dependencies.rayon-core]
version = "=1.12"
optional = true

[dev-dependencies.dlpk]
version = "0.3.0"
features = [
    "ndarray",
    "half",
    "sync",
]

[dev-dependencies.half]
version = "<2.5"

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