[package]
edition = "2024"
rust-version = "1.99.1"
name = "inference-engine"
version = "0.1.0-alpha.14"
authors = ["Jacobus Geluk <jacobus.geluk@dataroad.com>"]
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",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Native Rust RDF inference engine with a shared command-line interface"
documentation = "https://docs.rs/inference-engine"
readme = "README.md"
keywords = [
"rdf",
"rdfs",
"owl",
"datalog",
"reasoning",
]
categories = [
"science",
"data-structures",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/legra-ai/inference-engine"
[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",
]
[features]
cli = [
"dep:anyhow",
"dep:clap",
"dep:redb",
"dep:oxrdf",
"dep:oxrdfio",
"dep:postcard",
"dep:tempfile",
"dep:tokio",
"dep:url",
]
default = ["cli"]
oxigraph-disk-tests = ["oxigraph/rocksdb"]
[lib]
name = "inference_engine"
path = "src/lib.rs"
[[bin]]
name = "inference-engine"
path = "src/main.rs"
required-features = ["cli"]
[[test]]
name = "catalogue_identity"
path = "tests/catalogue_identity.rs"
[[test]]
name = "cli"
path = "tests/cli.rs"
[[test]]
name = "cooperative"
path = "tests/cooperative.rs"
[[test]]
name = "datatype_conflicts"
path = "tests/datatype_conflicts.rs"
[[test]]
name = "literal_typing"
path = "tests/literal_typing.rs"
[[test]]
name = "occurrence_typing"
path = "tests/occurrence_typing.rs"
[[test]]
name = "occurrences"
path = "tests/occurrences.rs"
[[test]]
name = "proposition_candidates"
path = "tests/proposition_candidates.rs"
[[test]]
name = "proposition_chain"
path = "tests/proposition_chain.rs"
[[test]]
name = "proposition_entailment"
path = "tests/proposition_entailment.rs"
[[test]]
name = "propositions"
path = "tests/propositions.rs"
[[test]]
name = "public_api"
path = "tests/public_api.rs"
[[test]]
name = "rdf12_authored"
path = "tests/rdf12_authored.rs"
[[test]]
name = "rdf12_axioms"
path = "tests/rdf12_axioms.rs"
[[test]]
name = "rdf12_literals"
path = "tests/rdf12_literals.rs"
[[test]]
name = "rdf12_witnesses"
path = "tests/rdf12_witnesses.rs"
[[test]]
name = "rdfs_context"
path = "tests/rdfs_context.rs"
[[test]]
name = "rdfs_core"
path = "tests/rdfs_core.rs"
[[test]]
name = "rdfs_source"
path = "tests/rdfs_source.rs"
[[test]]
name = "rdfs_triple_term_refutation"
path = "tests/rdfs_triple_term_refutation.rs"
[[test]]
name = "recursive_literals"
path = "tests/recursive_literals.rs"
[[test]]
name = "schema_free_datatype_refutation"
path = "tests/schema_free_datatype_refutation.rs"
[[test]]
name = "schema_free_ground"
path = "tests/schema_free_ground.rs"
[[test]]
name = "schema_free_ground_disk"
path = "tests/schema_free_ground_disk.rs"
[[test]]
name = "schema_free_projection"
path = "tests/schema_free_projection.rs"
[[test]]
name = "schema_free_property_refutation"
path = "tests/schema_free_property_refutation.rs"
[[test]]
name = "send_future"
path = "tests/send_future.rs"
[[test]]
name = "shacl12_bounds"
path = "tests/shacl12_bounds.rs"
[[test]]
name = "shacl12_order"
path = "tests/shacl12_order.rs"
[[test]]
name = "shacl12_schedule"
path = "tests/shacl12_schedule.rs"
[[test]]
name = "shacl12_w3c"
path = "tests/shacl12_w3c.rs"
[[test]]
name = "simple_entailment"
path = "tests/simple_entailment.rs"
[[test]]
name = "source_literal_consistency"
path = "tests/source_literal_consistency.rs"
[[test]]
name = "subclass"
path = "tests/subclass.rs"
[[test]]
name = "target_construction"
path = "tests/target_construction.rs"
[[test]]
name = "target_construction_limits"
path = "tests/target_construction_limits.rs"
[[test]]
name = "w3c_simple"
path = "tests/w3c_simple.rs"
[dependencies.anyhow]
version = "1"
optional = true
[dependencies.clap]
version = "4.6"
features = ["derive"]
optional = true
[dependencies.datalog-structural-model]
version = "=3.2.2"
[dependencies.oxrdf]
version = "=0.3.5"
features = ["rdf-12"]
optional = true
[dependencies.oxrdfio]
version = "=0.2.7"
features = ["rdf-12"]
optional = true
[dependencies.postcard]
version = "1"
features = ["alloc"]
optional = true
[dependencies.rdf-reasoning]
version = "=2.17.5"
[dependencies.rdf-structural-model]
version = "=0.7.1"
[dependencies.redb]
version = "=5.0.0"
optional = true
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.shacl-structural-model]
version = "=6.5.3"
[dependencies.tempfile]
version = "3"
optional = true
[dependencies.tokio]
version = "1.54.1"
features = ["rt"]
optional = true
[dependencies.url]
version = "2.5"
optional = true
[dev-dependencies.iri-rfc3987]
version = "=0.3.9"
[dev-dependencies.oxigraph]
version = "=0.5.13"
features = ["rdf-12"]
default-features = false
[dev-dependencies.oxrdf]
version = "=0.3.5"
features = ["rdf-12"]
[dev-dependencies.oxttl]
version = "=0.2.5"
features = ["rdf-12"]
[dev-dependencies.postcard]
version = "1"
features = ["alloc"]
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.sha2]
version = "0.11"
[dev-dependencies.tokio]
version = "1.54.1"
features = [
"macros",
"rt",
"fs",
]
[dev-dependencies.toml]
version = "1.2.1"
[build-dependencies.rhusky]
version = "=2.0.12"
[build-dependencies.toml]
version = "1.2.1"
[lints.clippy]
all = "deny"
[lints.rust]
missing_docs = "deny"