[package]
edition = "2024"
rust-version = "1.99"
name = "nuvec-io"
version = "0.6.1"
authors = ["hupe1980"]
build = false
exclude = ["tests/fixtures"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "safetensors, npy and IDX I/O for nuvec: load and save any tree of arrays"
homepage = "https://hupe1980.github.io/nuvec"
readme = "README.md"
keywords = [
"mlx",
"metal",
"apple-silicon",
"machine-learning",
"tensor",
]
categories = [
"science",
"mathematics",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/hupe1980/nuvec"
[package.metadata.docs.rs]
targets = ["aarch64-apple-darwin"]
[lib]
name = "nuvec_io"
path = "src/lib.rs"
[[test]]
name = "fuzz"
path = "tests/fuzz.rs"
[[test]]
name = "io"
path = "tests/io.rs"
[[test]]
name = "safetensors"
path = "tests/safetensors.rs"
[[test]]
name = "tree"
path = "tests/tree.rs"
[[bench]]
name = "load"
path = "benches/load.rs"
harness = false
[dependencies.nuvec-core]
version = "0.6.1"
[dev-dependencies.nuvec-gpu]
version = "0.6.1"
[lints.clippy]
missing_safety_doc = "deny"
multiple_unsafe_ops_per_block = "deny"
undocumented_unsafe_blocks = "deny"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unreachable_pub = "warn"
unsafe_op_in_unsafe_fn = "deny"