inference-engine 0.1.0-alpha.2

Native Rust inference foundation with checked RDF rule-profile compilation
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! Backend stores need not be Sync to execute on a multithreaded runtime.

use inference_engine::reasoning::{Reasoner, ReasoningStore};
use std::future::Future;

fn require_send(_: impl Future + Send) {}

#[allow(dead_code)]
fn executor_future_is_send<S: ReasoningStore>(reasoner: &Reasoner, store: &mut S) {
    require_send(reasoner.run(store));
}