Skip to content

Commit

Permalink
Update pyo3 to version 0.8.2 due to rust specialization changes in 1.…
Browse files Browse the repository at this point in the history
  • Loading branch information
luxrck committed Nov 8, 2019
1 parent f54e139 commit 9a0b46f
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 14 deletions.
21 changes: 11 additions & 10 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ edition = "2018"

[lib]
name = "distances"
crate-type = ["cdylib", "rlib"]
crate-type = ["cdylib"]

[dependencies]
ndarray = {version = "0.13.0", features = ["rayon"]}
numpy = {version = "0.7.0", optional = true}
pyo3 = {version = "0.8.0", optional = true, features = ["extension-module"]}
pyo3 = {version = "0.8.2", optional = true, features = ["extension-module"]}

[features]
default = []
python = ["pyo3", "numpy"]
python = ["pyo3", "numpy"]
2 changes: 1 addition & 1 deletion src/python.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use pyo3::ffi::{PyUnicode_AsUnicodeAndSize, PyUnicode_FromObject};
use pyo3::prelude::*;
use pyo3::wrap_pyfunction;
use std::ffi::CString;
use std::time::SystemTime;
//use std::time::SystemTime;

use crate::distances;

Expand Down

0 comments on commit 9a0b46f

Please sign in to comment.