[package]
edition = "2021"
rust-version = "1.87"
name = "lattix"
version = "0.5.4"
authors = ["Arc <attobop@gmail.com>"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Knowledge graph substrate: core types + basic algorithms + formats"
homepage = "https://github.com/arclabs561/lattix"
documentation = "https://docs.rs/lattix"
readme = "README.md"
keywords = [
"knowledge-graph",
"graph",
"rdf",
"pagerank",
]
categories = [
"data-structures",
"algorithms",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/arclabs561/lattix"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
algo = [
"dep:graphops",
"dep:rand",
"dep:rand_xorshift",
"dep:rayon",
]
binary = ["dep:bincode"]
default = [
"formats",
"algo",
]
formats = [
"dep:oxttl",
"dep:oxrdf",
"dep:csv",
]
sophia = ["dep:sophia_api"]
[lib]
name = "lattix"
path = "src/lib.rs"
[[example]]
name = "hypergraph"
path = "examples/hypergraph.rs"
[[example]]
name = "pagerank_demo"
path = "examples/pagerank_demo.rs"
[[example]]
name = "random_walks"
path = "examples/random_walks.rs"
[[example]]
name = "triples"
path = "examples/triples.rs"
[[example]]
name = "us_states_pagerank"
path = "examples/us_states_pagerank.rs"
[[test]]
name = "centrality_integration"
path = "tests/centrality_integration.rs"
[[test]]
name = "property_tests"
path = "tests/property_tests.rs"
[[test]]
name = "qa_exercise"
path = "tests/qa_exercise.rs"
[[test]]
name = "qa_v050_probe"
path = "tests/qa_v050_probe.rs"
[[bench]]
name = "graph_bench"
path = "benches/graph_bench.rs"
harness = false
[[bench]]
name = "random_walk_bench"
path = "benches/random_walk_bench.rs"
harness = false
[dependencies.bincode]
version = "1.3.3"
optional = true
[dependencies.csv]
version = "1.4.0"
optional = true
[dependencies.graphops]
version = "0.1.0"
features = ["petgraph"]
optional = true
[dependencies.oxrdf]
version = "0.3.3"
optional = true
[dependencies.oxttl]
version = "0.2.3"
optional = true
[dependencies.petgraph]
version = "0.6"
features = ["serde-1"]
[dependencies.rand]
version = "0.9"
optional = true
[dependencies.rand_xorshift]
version = "0.4.0"
optional = true
[dependencies.rayon]
version = "1.10"
optional = true
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.sophia_api]
version = "0.8"
optional = true
[dependencies.thiserror]
version = "2.0"
[dev-dependencies.criterion]
version = "0.7"
[dev-dependencies.proptest]
version = "1.9"
[lints.clippy.correctness]
level = "deny"
priority = -1
[lints.clippy.perf]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"