[workspace]
members = ["bindings/python", "bindings/node"]
default-members = ["."]
resolver = "3"
[workspace.package]
version = "0.1.0-alpha.14"
edition = "2024"
rust-version = "1.99.1"
license = "MIT OR Apache-2.0"
repository = "https://github.com/legra-ai/inference-engine"
[package]
name = "inference-engine"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
repository.workspace = true
description = "Native Rust RDF inference engine with a shared command-line interface"
authors = ["Jacobus Geluk <jacobus.geluk@dataroad.com>"]
readme = "README.md"
documentation = "https://docs.rs/inference-engine"
keywords = ["rdf", "rdfs", "owl", "datalog", "reasoning"]
categories = ["science", "data-structures"]
build = "build.rs"
include = ["/Cargo.toml", "/Cargo.lock", "/build.rs", "/build_support.rs", "/README.md", "/LICENSE-APACHE", "/LICENSE-MIT", "/src/**/*.rs", "/tests/**", "/docs/install.md", "/docs/cli.md", "/docs/alpha-scope.md", "/docs/conformance.md", "/docs/rdfs-subclass.md", "/docs/rdfs-source.md", "/docs/rdfs-context.md", "/docs/shacl12.md", "/docs/rdfs-targets.md", "/docs/rdfs-ground.md", "!**/__pycache__/**", "!**/*.pyc"]
[dependencies]
anyhow = { version = "1", optional = true }
clap = { version = "4.6", features = ["derive"], optional = true }
redb = { version = "=5.0.0", optional = true }
oxrdf = { version = "=0.3.5", features = ["rdf-12"], optional = true }
oxrdfio = { version = "=0.2.7", features = ["rdf-12"], optional = true }
postcard = { version = "1", features = ["alloc"], optional = true }
tempfile = { version = "3", optional = true }
tokio = { version = "1.54.1", features = ["rt"], optional = true }
url = { version = "2.5", optional = true }
datalog-structural-model = "=3.2.2"
rdf-reasoning = "=2.17.5"
rdf-structural-model = "=0.7.1"
serde = { version = "1", features = ["derive"] }
shacl-structural-model = "=6.5.3"
[build-dependencies]
rhusky = "=2.0.12"
toml = "1.2.1"
[dev-dependencies]
iri-rfc3987 = "=0.3.9"
serde_json = "1"
postcard = { version = "1", features = ["alloc"] }
tokio = { version = "1.54.1", features = ["macros", "rt", "fs"] }
oxttl = { version = "=0.2.5", features = ["rdf-12"] }
oxrdf = { version = "=0.3.5", features = ["rdf-12"] }
sha2 = "0.11"
toml = "1.2.1"
oxigraph = { version = "=0.5.13", default-features = false, features = ["rdf-12"] }
[[bin]]
name = "inference-engine"
path = "src/main.rs"
required-features = ["cli"]
[features]
default = ["cli"]
cli = ["dep:anyhow", "dep:clap", "dep:redb", "dep:oxrdf", "dep:oxrdfio", "dep:postcard", "dep:tempfile", "dep:tokio", "dep:url"]
oxigraph-disk-tests = ["oxigraph/rocksdb"]
[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-{ target }.zip"
bin-dir = "{ bin }{ binary-ext }"
pkg-fmt = "zip"
disabled-strategies = ["quick-install", "compile"]
[package.metadata.version-info]
pre_bump_hooks = ["python3 scripts/sync-version.py {{version}}"]
additional_files = ["package.json", "package-lock.json"]
[lints.rust]
missing_docs = "deny"
[lints.clippy]
all = "deny"