[package]
edition = "2024"
rust-version = "1.94"
name = "rto-graph"
version = "2.0.0"
authors = ["The Roteiro Project Team"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Provenance-tagged codebase knowledge graph store for Roteiro. Implementation detail of the roteiro CLI; no API stability guarantee."
homepage = "https://roteiro.dev"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/OffeneDatenmodellierung/Roteiro"
[features]
audio-metadata = ["dep:symphonia"]
audio-transcribe = [
"models",
"dep:rto-llama",
"rto-llama/llama",
]
image-ocr = [
"models",
"dep:ocrs",
"dep:rten",
"dep:image",
]
image-vision = [
"models",
"dep:rto-llama",
"rto-llama/llama",
"dep:image",
]
inference = []
models = ["dep:sha2"]
pdf-text = ["dep:pdf-extract"]
[lib]
name = "rto_graph"
path = "src/lib.rs"
[[test]]
name = "agent_cache"
path = "tests/agent_cache.rs"
[[test]]
name = "agent_memory"
path = "tests/agent_memory.rs"
[[test]]
name = "audio_fixtures"
path = "tests/audio_fixtures.rs"
[[test]]
name = "audio_ingest"
path = "tests/audio_ingest.rs"
[[test]]
name = "audio_metadata"
path = "tests/audio_metadata.rs"
[[test]]
name = "cache_gc"
path = "tests/cache_gc.rs"
[[test]]
name = "findings"
path = "tests/findings.rs"
[[test]]
name = "media_content"
path = "tests/media_content.rs"
[[test]]
name = "memory_recall"
path = "tests/memory_recall.rs"
[[test]]
name = "review_corpus"
path = "tests/review_corpus.rs"
[[test]]
name = "roundtrip"
path = "tests/roundtrip.rs"
[[test]]
name = "sync"
path = "tests/sync.rs"
[[test]]
name = "sync_tree"
path = "tests/sync_tree.rs"
[[test]]
name = "workspace"
path = "tests/workspace.rs"
[dependencies.gix]
version = "0.86.0"
features = [
"sha1",
"status",
"dirwalk",
"revision",
]
default-features = false
[dependencies.image]
version = "0.25"
features = [
"png",
"jpeg",
]
optional = true
default-features = false
[dependencies.ocrs]
version = "0.12"
optional = true
[dependencies.pdf-extract]
version = "0.12"
optional = true
[dependencies.pulldown-cmark]
version = "0.13.4"
default-features = false
[dependencies.rten]
version = "0.24"
optional = true
[dependencies.rto-llama]
version = "2.0.0"
optional = true
[dependencies.rusqlite]
version = "0.39"
features = ["bundled"]
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.sha2]
version = "0.11"
optional = true
[dependencies.streaming-iterator]
version = "0.1"
[dependencies.symphonia]
version = "0.6.1"
features = [
"flac",
"mp3",
"wav",
"id3v1",
"id3v2",
"ape",
]
optional = true
default-features = false
[dependencies.thiserror]
version = "2.0"
[dependencies.toml]
version = "1.1"
[dependencies.tree-sitter]
version = "0.26.12"
[dependencies.tree-sitter-bash]
version = "0.25.1"
[dependencies.tree-sitter-c]
version = "0.24.2"
[dependencies.tree-sitter-c-sharp]
version = "0.23.5"
[dependencies.tree-sitter-cpp]
version = "0.23.4"
[dependencies.tree-sitter-elixir]
version = "0.3.5"
[dependencies.tree-sitter-go]
version = "0.25.0"
[dependencies.tree-sitter-java]
version = "0.23.5"
[dependencies.tree-sitter-javascript]
version = "0.25.0"
[dependencies.tree-sitter-ocaml]
version = "0.25.0"
[dependencies.tree-sitter-php]
version = "0.24.2"
[dependencies.tree-sitter-python]
version = "0.25.0"
[dependencies.tree-sitter-ruby]
version = "0.23.1"
[dependencies.tree-sitter-rust]
version = "0.24.2"
[dependencies.tree-sitter-scala]
version = "0.26.2"
[dependencies.tree-sitter-sequel]
version = "0.3.11"
[dependencies.tree-sitter-tags]
version = "0.26.12"
[dependencies.tree-sitter-typescript]
version = "0.23.2"
[dependencies.yaml-rust2]
version = "0.11.0"
[dev-dependencies.serde_json]
version = "1.0"
[lints.clippy.all]
level = "deny"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"