Skip to content

Commit cbbb4bf

Browse files
committed
Add PyO3
1 parent 1f6b31a commit cbbb4bf

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ license-file = "LICENSE"
1111

1212
[dependencies]
1313
libc = "0.2"
14-
cpython = "0.1"
15-
python3-sys = "0.1"
1614
num-complex = "0.1"
1715
ndarray = "0.10"
16+
pyo3 = "0.2"

src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
extern crate cpython;
21
extern crate libc;
32
extern crate ndarray;
43
extern crate num_complex;
5-
extern crate python3_sys as pyffi;
4+
extern crate pyo3;
65

76
pub mod array;
87
pub mod convert;

0 commit comments

Comments
 (0)