[package]
edition = "2021"
rust-version = "1.83"
name = "numpy"
version = "0.28.0"
authors = [
"The rust-numpy Project Developers",
"PyO3 Project and Contributors <https://github.com/PyO3>",
]
build = "build.rs"
exclude = [
".github/*",
".gitignore",
"codecov.yml",
"x.py",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "PyO3-based Rust bindings of the NumPy C-API"
documentation = "https://docs.rs/numpy"
readme = "README.md"
keywords = [
"python",
"numpy",
"ffi",
"pyo3",
]
categories = [
"api-bindings",
"development-tools::ffi",
"science",
]
license = "BSD-2-Clause"
repository = "https://github.com/PyO3/rust-numpy"
[package.metadata.docs.rs]
all-features = true
[lib]
name = "numpy"
path = "src/lib.rs"
[[test]]
name = "array"
path = "tests/array.rs"
[[test]]
name = "array_like"
path = "tests/array_like.rs"
[[test]]
name = "borrow"
path = "tests/borrow.rs"
[[test]]
name = "sum_products"
path = "tests/sum_products.rs"
[[test]]
name = "to_py"
path = "tests/to_py.rs"
[[bench]]
name = "array"
path = "benches/array.rs"
[[bench]]
name = "borrow"
path = "benches/borrow.rs"
[dependencies.half]
version = "2.0"
optional = true
default-features = false
[dependencies.libc]
version = "0.2"
[dependencies.nalgebra]
version = ">=0.30, <0.35"
optional = true
default-features = false
[dependencies.ndarray]
version = ">= 0.15, <=0.17"
[dependencies.num-complex]
version = ">= 0.2, < 0.5"
[dependencies.num-integer]
version = "0.1"
[dependencies.num-traits]
version = "0.2"
[dependencies.pyo3]
version = "0.28.0"
features = ["macros"]
default-features = false
[dependencies.rustc-hash]
version = "2.0"
[dev-dependencies.nalgebra]
version = ">=0.30, <0.35"
features = ["std"]
default-features = false
[dev-dependencies.pyo3]
version = "0.28.0"
features = ["auto-initialize"]
default-features = false
[build-dependencies.pyo3-build-config]
version = "0.28"
features = ["resolve-config"]
[lints.clippy]
needless-lifetimes = "allow"
[lints.rust]
elided-lifetimes-in-paths = "deny"