docs.rs failed to build numpy-0.3.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
numpy-0.21.0
rust-numpy
Rust binding of NumPy C-API
API documentation
Requirements
- current nightly rust (see https://github.com/PyO3/pyo3/issues/5 for nightly features, and https://github.com/PyO3/pyo3/blob/master/build.rs for minimum required version)
- some rust libraries
- rust-ndarray for rust-side matrix library
- pyo3 for cpython binding
- and more (see Cargo.toml)
- numpy installed in your python environments(e.g. via
pip install numpy
)
Note From 0.3, we migrated from rust-cpython to pyo3. If you want to use rust-cpython, use version 0.2.1 from crates.io.
Example
Please see example directory for a complete example
[lib]
name = "rust_ext"
crate-type = ["cdylib"]
[dependencies]
numpy = "0.3"
pyo3 = "^0.3.1"
ndarray = "0.11"
extern crate ndarray;
extern crate numpy;
extern crate pyo3;
use *;
use *;
use *;
Contribution
This project is in pre-alpha version. We need your feedback. Don't hesitate to open issues!
Version
-
v0.3.0
- Breaking Change: Migrated to pyo3 from rust-cpython
- Some api addition
- Static type checking with PhantomData
-
v0.2.1
- NEW: trait
IntoPyErr
,IntoPyResult
for error translation
- NEW: trait
-
v0.2.0
- NEW: traits
IntoPyArray
,ToPyArray
- MOD: Interface of
PyArray
creation functions are changed
- NEW: traits
-
v0.1.1
- Update documents
-
v0.1.0
- First Release
- Expose unsafe interfase of Array and UFunc API