[package]
edition = "2024"
rust-version = "1.99"
name = "nuvec-core"
version = "0.1.0"
authors = ["hupe1980"]
build = false
exclude = ["tests/fixtures"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Lazy array graph, primitives, dtypes and evaluation for nuvec"
homepage = "https://hupe1980.github.io/nuvec"
readme = "README.md"
keywords = [
"mlx",
"metal",
"apple-silicon",
"machine-learning",
"llm",
]
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_core"
path = "src/lib.rs"
[[test]]
name = "autodiff"
path = "tests/autodiff.rs"
[[test]]
name = "custom"
path = "tests/custom.rs"
[[test]]
name = "donation"
path = "tests/donation.rs"
[[test]]
name = "fast"
path = "tests/fast.rs"
[[test]]
name = "gpu"
path = "tests/gpu.rs"
[[test]]
name = "kernel"
path = "tests/kernel.rs"
[[test]]
name = "lazy"
path = "tests/lazy.rs"
[[test]]
name = "mlx"
path = "tests/mlx.rs"
[[test]]
name = "quantized"
path = "tests/quantized.rs"
[[test]]
name = "reduce"
path = "tests/reduce.rs"
[[test]]
name = "scalars"
path = "tests/scalars.rs"
[[test]]
name = "semantics"
path = "tests/semantics.rs"
[[test]]
name = "vmap"
path = "tests/vmap.rs"
[[bench]]
name = "fast"
path = "benches/fast.rs"
harness = false
[[bench]]
name = "gemm"
path = "benches/gemm.rs"
harness = false
[[bench]]
name = "quant"
path = "benches/quant.rs"
harness = false
[[bench]]
name = "vs_mlx"
path = "benches/vs_mlx.rs"
harness = false
[dependencies.bytemuck]
version = "1"
features = [
"derive",
"extern_crate_alloc",
]
[dependencies.half]
version = "2.7"
features = ["bytemuck"]
[dependencies.nuvec-cpu]
version = "0.1.0"
[dependencies.nuvec-gpu]
version = "0.1.0"
[dependencies.smallvec]
version = "1"
features = [
"union",
"const_generics",
]
[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"