Skip to content

Commit 04ccf7a

Browse files
Switch Python bindings to triblespace
1 parent b4a66cb commit 04ccf7a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ crate-type = ["cdylib"]
1010

1111
[dependencies]
1212
pyo3 = "0.23.3"
13-
tribles = "0.5.1"
13+
triblespace = { path = "../tribles-rust" }
1414
hex = "0.4.3"
1515
parking_lot = {version = "0.12.3", features=["arc_lock", "send_guard"]}
1616
macro_pub = "0.1.0"

src/lib.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ use pyo3::{
1212
prelude::*,
1313
types::{PyBytes, PyType},
1414
};
15-
use tribles::metadata::metadata;
16-
use tribles::{
15+
use triblespace::metadata::metadata;
16+
use triblespace::{
1717
id::IdOwner,
1818
prelude::*,
1919
query::{
@@ -201,7 +201,7 @@ pub fn register_from_blob_converter(
201201

202202
#[pyfunction]
203203
pub fn metadata_description() -> PyTribleSet {
204-
PyTribleSet(Mutex::new(tribles::metadata::metadata::description()))
204+
PyTribleSet(Mutex::new(triblespace::metadata::metadata::description()))
205205
}
206206

207207
#[derive(Debug, Copy, Clone)]
@@ -669,7 +669,7 @@ pub fn solve(projected: Vec<Py<PyVariable>>, constraint: &PyConstraint) -> PyRes
669669
vec
670670
}) as Box<dyn Fn(&Binding) -> Vec<PyValue> + Send>;
671671

672-
let query = tribles::query::Query::new(constraint, postprocessing);
672+
let query = triblespace::query::Query::new(constraint, postprocessing);
673673

674674
Ok(PyQuery {
675675
query: Mutex::new(query),

0 commit comments

Comments
 (0)