[package]
edition = "2024"
name = "rumpy"
version = "0.1.1"
authors = ["Bowan Foryt <bowan@valstad.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A reimplementation of NumPy for use with rustpython in embedded interpreters"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/oh-yes-0-fps/rumpy"
[features]
default = []
no-panic = ["dep:no-panic"]
safe-locks = ["rustpython-vm/threading"]
stdlib = [
"dep:rustpython-stdlib",
"dep:rustpython-pylib",
"rustpython-pylib/freeze-stdlib",
]
[lib]
name = "rumpy"
path = "src/lib.rs"
[[test]]
name = "api_coverage"
path = "tests/api_coverage.rs"
[[test]]
name = "bug_hunt"
path = "tests/bug_hunt.rs"
[[test]]
name = "compare_numpy"
path = "tests/compare_numpy.rs"
[[test]]
name = "dtype_extensions"
path = "tests/dtype_extensions.rs"
[[test]]
name = "dtypes"
path = "tests/dtypes.rs"
[[test]]
name = "extra_compare"
path = "tests/extra_compare.rs"
[[test]]
name = "extras"
path = "tests/extras.rs"
[[test]]
name = "finale"
path = "tests/finale.rs"
[[test]]
name = "indexing"
path = "tests/indexing.rs"
[[test]]
name = "linalg_faer"
path = "tests/linalg_faer.rs"
[[test]]
name = "more"
path = "tests/more.rs"
[[test]]
name = "niche"
path = "tests/niche.rs"
[[test]]
name = "perf"
path = "tests/perf.rs"
[[test]]
name = "round2_edges"
path = "tests/round2_edges.rs"
[[test]]
name = "rust_api"
path = "tests/rust_api.rs"
[[test]]
name = "saveload"
path = "tests/saveload.rs"
[[test]]
name = "scalars"
path = "tests/scalars.rs"
[[test]]
name = "string_dtype"
path = "tests/string_dtype.rs"
[[test]]
name = "typing"
path = "tests/typing.rs"
[dependencies.chrono]
version = "0.4"
features = ["std"]
default-features = false
[dependencies.faer]
version = "0.24"
features = [
"std",
"linalg",
]
default-features = false
[dependencies.half]
version = "2"
features = ["num-traits"]
[dependencies.ndarray]
version = "0.17.2"
[dependencies.no-panic]
version = "0.1.36"
optional = true
[dependencies.num-complex]
version = "0.4"
[dependencies.num-traits]
version = "0.2"
[dependencies.rand]
version = "0.10.1"
features = [
"std",
"std_rng",
]
default-features = false
[dependencies.rand_distr]
version = "0.6"
features = ["std_math"]
default-features = false
[dependencies.rustfft]
version = "6.4"
[dependencies.rustpython-pylib]
version = "0.5.0"
optional = true
default-features = false
[dependencies.rustpython-stdlib]
version = "0.5.0"
features = ["compiler"]
optional = true
default-features = false
[dependencies.rustpython-vm]
version = "0.5.0"
features = ["compiler"]
default-features = false
[dev-dependencies.approx]
version = "0.5"
[dev-dependencies.numpy]
version = "0.28"
[dev-dependencies.pyo3]
version = "0.28"
features = ["auto-initialize"]
[dev-dependencies.rustpython-vm]
version = "0.5.0"
features = [
"compiler",
"stdio",
]
default-features = false