[package]
edition = "2024"
name = "taco_format"
version = "0.1.4"
authors = ["TACO Format Developers"]
build = false
exclude = [
".*",
"*.npy",
"*.traj",
"*.npz",
".taco",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "TACO (Trajectory and Compressed Observables) Format for molecular dynamics data"
readme = "README.md"
keywords = [
"molecular-dynamics",
"compression",
"trajectory",
"simulation",
]
categories = [
"science",
"compression",
]
license = "MIT"
repository = "https://github.com/username/taco_format"
[package.metadata.maturin]
name = "taco_format"
[package.metadata.docs.rs]
features = ["python"]
[features]
async = ["dep:tokio"]
default = [
"python",
"rayon",
"async",
]
python = [
"pyo3/extension-module",
"dep:pyo3",
"dep:numpy",
"dep:pyo3-ffi",
]
rayon = ["dep:rayon"]
[lib]
name = "taco_format"
crate-type = [
"cdylib",
"rlib",
]
path = "src/lib.rs"
[[bin]]
name = "taco"
path = "src/bin/taco.rs"
[[example]]
name = "append_trajectory"
path = "examples/append_trajectory.rs"
[[example]]
name = "async_example"
path = "examples/async_example.rs"
[[example]]
name = "io_serial"
path = "examples/io_serial.rs"
[[test]]
name = "debug_test"
path = "tests/debug_test.rs"
[[test]]
name = "taco"
path = "tests/taco.rs"
[[test]]
name = "test_append"
path = "tests/test_append.rs"
[[test]]
name = "test_async"
path = "tests/test_async.rs"
[[test]]
name = "test_compression"
path = "tests/test_compression.rs"
[[test]]
name = "test_extra"
path = "tests/test_extra.rs"
[[test]]
name = "test_frame"
path = "tests/test_frame.rs"
[[test]]
name = "test_header"
path = "tests/test_header.rs"
[[test]]
name = "test_integration"
path = "tests/test_integration.rs"
[[test]]
name = "test_random_access"
path = "tests/test_random_access.rs"
[[bench]]
name = "compression_benchmarks"
path = "benches/compression_benchmarks.rs"
harness = false
[[bench]]
name = "frame_benchmarks"
path = "benches/frame_benchmarks.rs"
harness = false
[[bench]]
name = "io_benchmarks"
path = "benches/io_benchmarks.rs"
harness = false
[dependencies.anyhow]
version = "1.0"
[dependencies.byteorder]
version = "1.4"
[dependencies.clap]
version = "4.4"
features = ["derive"]
[dependencies.colored]
version = "3.0.0"
[dependencies.half]
version = "2.6"
[dependencies.memmap2]
version = "0.9"
[dependencies.ndarray]
version = "0.17"
[dependencies.numpy]
version = "0.28"
optional = true
[dependencies.pyo3]
version = "0.28"
features = [
"extension-module",
"auto-initialize",
]
optional = true
[dependencies.pyo3-ffi]
version = "0.28"
optional = true
[dependencies.rayon]
version = "1.10.0"
optional = true
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.serde_yaml]
version = "0.9"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1.0"
features = [
"fs",
"io-util",
"rt",
]
optional = true
[dependencies.zstd]
version = "0.13"
[dev-dependencies.approx]
version = "0.5"
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.pprof]
version = "0.15"
features = [
"flamegraph",
"criterion",
]
[dev-dependencies.tempfile]
version = "3.5"
[dev-dependencies.tokio]
version = "1.0"
features = [
"rt",
"macros",
]
[build-dependencies.pyo3-build-config]
version = "0.28"
[profile.bench]
debug = 2
[profile.release]
lto = true