rustbrain-core 0.3.0

Core engine for rustbrain: SQLite knowledge graph, ranked FTS, CSR mmap cache, and graph-aware AI context
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.80"
name = "rustbrain-core"
version = "0.3.0"
authors = ["rustbrain contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core engine for rustbrain: SQLite knowledge graph, ranked FTS, CSR mmap cache, and graph-aware AI context"
homepage = "https://github.com/shan-alexander/rustbrain"
documentation = "https://docs.rs/rustbrain-core"
readme = "README.md"
keywords = [
    "knowledge-graph",
    "markdown",
    "sqlite",
    "fts",
    "second-brain",
]
categories = [
    "database",
    "text-processing",
    "development-tools",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/shan-alexander/rustbrain"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
ast = [
    "dep:tree-sitter",
    "dep:tree-sitter-rust",
]
default = [
    "ast",
    "obsidian",
    "mmap",
]
full = [
    "ast",
    "obsidian",
    "mmap",
    "watch",
    "jshift",
]
jshift = ["dep:jshift"]
mmap = ["dep:memmap2"]
obsidian = ["dep:serde_yaml_ng"]
watch = ["dep:notify"]

[lib]
name = "rustbrain_core"
path = "src/lib.rs"

[dependencies.blake3]
version = "1.5"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.dirs]
version = "6.0"

[dependencies.jshift]
version = "0.1"
optional = true

[dependencies.memmap2]
version = "0.9"
optional = true

[dependencies.notify]
version = "7.0"
optional = true

[dependencies.rusqlite]
version = "0.32"
features = ["bundled"]

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_yaml_ng]
version = "0.10"
optional = true

[dependencies.thiserror]
version = "2.0"

[dependencies.tree-sitter]
version = "0.24"
optional = true

[dependencies.tree-sitter-rust]
version = "0.23"
optional = true

[dev-dependencies.tempfile]
version = "3.15"