[package]
edition = "2021"
rust-version = "1.70"
name = "oxirs-graphrag"
version = "0.2.2"
authors = ["KitaSan <info@kitasan.io>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "GraphRAG: Hybrid Vector + Graph Retrieval-Augmented Generation for OxiRS"
homepage = "https://github.com/cool-japan/oxirs"
readme = "README.md"
keywords = [
"graphrag",
"rag",
"knowledge-graph",
"vector-search",
"llm",
]
categories = [
"database",
"science",
"text-processing",
]
license = "Apache-2.0"
repository = "https://github.com/cool-japan/oxirs"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
community-detection = []
default = [
"community-detection",
"hierarchical-summarization",
]
hierarchical-summarization = []
sparql-extensions = []
streaming = ["oxirs-stream"]
[lib]
name = "oxirs_graphrag"
path = "src/lib.rs"
[[test]]
name = "cache_tests"
path = "tests/cache_tests.rs"
[[test]]
name = "community_detection_tests"
path = "tests/community_detection_tests.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.chrono]
version = "0.4.44"
features = ["serde"]
[dependencies.lru]
version = "0.16.3"
[dependencies.oxirs-core]
version = "0.2.2"
[dependencies.oxirs-embed]
version = "0.2.2"
[dependencies.oxirs-rule]
version = "0.2.2"
[dependencies.oxirs-stream]
version = "0.2.2"
optional = true
[dependencies.oxirs-vec]
version = "0.2.2"
[dependencies.petgraph]
version = "0.8"
[dependencies.regex]
version = "1.12.3"
[dependencies.reqwest]
version = "0.13"
features = [
"rustls",
"json",
"form",
"query",
"multipart",
"http2",
]
default-features = false
[dependencies.scirs2-core]
version = "0.3.1"
features = ["random"]
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.149"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1.50.0"
features = ["full"]
[dependencies.tracing]
version = "0.1"
[dev-dependencies.tempfile]
version = "3.27"
[dev-dependencies.tokio]
version = "1.50.0"
features = [
"full",
"test-util",
"macros",
]
[lints.clippy]
incompatible_msrv = "allow"
let_and_return = "allow"
manual_clamp = "allow"
new_without_default = "allow"
uninlined_format_args = "allow"
unwrap_or_default = "allow"
[lints.rust]
dead_code = "allow"
noop_method_call = "allow"
unsafe_code = "warn"
unused_imports = "allow"
unused_variables = "allow"