[package]
edition = "2024"
name = "rustnum"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "NumPy-style n-dimensional arrays for Rust: one array type, NumPy names, pure Rust."
readme = "README.md"
keywords = [
"numpy",
"ndarray",
"array",
"linear-algebra",
"scientific",
]
categories = [
"science",
"mathematics",
"data-structures",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/shauryaaojha/rustnum"
[features]
default = ["rayon"]
rayon = ["dep:rayon"]
[lib]
name = "rustnum"
path = "src/lib.rs"
[[example]]
name = "gemm_probe"
path = "examples/gemm_probe.rs"
[[example]]
name = "heavy_matmul"
path = "examples/heavy_matmul.rs"
[[example]]
name = "heavy_matmul_fused"
path = "examples/heavy_matmul_fused.rs"
[[example]]
name = "image_ops"
path = "examples/image_ops.rs"
[[example]]
name = "kmeans"
path = "examples/kmeans.rs"
[[example]]
name = "linear_regression"
path = "examples/linear_regression.rs"
[[example]]
name = "memory_probe"
path = "examples/memory_probe.rs"
[[example]]
name = "pca"
path = "examples/pca.rs"
[[example]]
name = "quickstart"
path = "examples/quickstart.rs"
[[example]]
name = "simd_accuracy"
path = "examples/simd_accuracy.rs"
[[test]]
name = "alloc"
path = "tests/alloc.rs"
[[test]]
name = "core"
path = "tests/core.rs"
[[test]]
name = "extra"
path = "tests/extra.rs"
[[test]]
name = "fft_poly"
path = "tests/fft_poly.rs"
[[test]]
name = "io"
path = "tests/io.rs"
[[test]]
name = "linalg"
path = "tests/linalg.rs"
[[test]]
name = "memory_reuse"
path = "tests/memory_reuse.rs"
[[test]]
name = "misc"
path = "tests/misc.rs"
[[test]]
name = "npy_python"
path = "tests/npy_python.rs"
[[test]]
name = "parity"
path = "tests/parity.rs"
[[test]]
name = "perf_tests"
path = "tests/perf_tests.rs"
[[test]]
name = "pool"
path = "tests/pool.rs"
[[test]]
name = "random"
path = "tests/random.rs"
[[test]]
name = "readme_quickstart"
path = "tests/readme_quickstart.rs"
[[test]]
name = "simd_ufunc"
path = "tests/simd_ufunc.rs"
[[bench]]
name = "core"
path = "benches/core.rs"
harness = false
[dependencies.rayon]
version = "1.12"
optional = true
[dev-dependencies.criterion]
version = "0.8"
[dev-dependencies.proptest]
version = "1"