hypersteeldb 0.1.0

A database that compiles questions instead of guessing answers: typed vocabulary discovered from your documents, queries type-checked before they run, roaring-bitmap set algebra over reified hyperedges, and Dempster-Shafer evidence with an explicit conflict guard.
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.75"
name = "hypersteeldb"
version = "0.1.0"
authors = ["SteelDB contributors"]
build = false
exclude = [
    "app/",
    "duckdb/",
    "models/",
    "spaces/",
    "benchmark_corpus/",
    "pokemon_corpus/",
    "train/",
    "target/",
    "*.token",
    "*.key",
    "PROBLEM_FORMULATION.md",
    "PAPER.tex",
    "*.pem",
    "assets/registeel.jpg",
    ".env",
    ".claude/",
    "**/*.log",
    "tmp/",
    "hf.token",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A database that compiles questions instead of guessing answers: typed vocabulary discovered from your documents, queries type-checked before they run, roaring-bitmap set algebra over reified hyperedges, and Dempster-Shafer evidence with an explicit conflict guard."
homepage = "https://huggingface.co/spaces/cp500/steeldb-ontology-sensing"
documentation = "https://docs.rs/steeldb"
readme = "README.md"
keywords = [
    "hypergraph",
    "bitmap",
    "retrieval",
    "dempster-shafer",
    "llm",
]
categories = [
    "database-implementations",
    "data-structures",
    "text-processing",
]
license = "MIT"
repository = "https://huggingface.co/spaces/cp500/steeldb-ontology-sensing"

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

[features]
agent = ["dep:tokio"]
bedrock = [
    "agent",
    "dep:aws-config",
    "dep:aws-sdk-bedrockruntime",
    "dep:aws-smithy-types",
]
docs = [
    "onnx",
    "dep:pdf-extract",
    "dep:zip",
    "dep:quick-xml",
]
embed = ["dep:tokenizers"]
native = [
    "agent",
    "embed",
    "dep:candle-core",
    "dep:candle-nn",
    "dep:candle-transformers",
]
needle = [
    "agent",
    "dep:reqwest",
]
ocr = [
    "docs",
    "dep:image",
]
onnx = [
    "dep:ort",
    "embed",
]
paddock = [
    "agent",
    "dep:reqwest",
]
tui = [
    "agent",
    "embed",
    "dep:ratatui",
]
wasm = ["dep:wasm-bindgen"]

[lib]
name = "steeldb"
crate-type = [
    "cdylib",
    "rlib",
]
path = "src/lib.rs"

[[bin]]
name = "agent"
path = "src/bin/agent.rs"
required-features = ["agent"]

[[bin]]
name = "bench"
path = "src/bin/bench.rs"

[[bin]]
name = "discover"
path = "src/bin/discover.rs"
required-features = ["paddock"]

[[bin]]
name = "eval_agent"
path = "src/bin/eval_agent.rs"
required-features = ["paddock"]

[[bin]]
name = "export_spans"
path = "src/bin/export_spans.rs"
required-features = [
    "onnx",
    "embed",
]

[[bin]]
name = "gen_benchmark_corpus"
path = "src/bin/gen_benchmark_corpus.rs"

[[bin]]
name = "gen_dsl_trajectories"
path = "src/bin/gen_dsl_trajectories.rs"

[[bin]]
name = "gen_pokemon_corpus"
path = "src/bin/gen_pokemon_corpus.rs"

[[bin]]
name = "gen_trajectories"
path = "src/bin/gen_trajectories.rs"

[[bin]]
name = "gen_trajectories_teacher"
path = "src/bin/gen_trajectories_teacher.rs"
required-features = ["bedrock"]

[[bin]]
name = "ontology"
path = "src/bin/ontology.rs"
required-features = ["tui"]

[[bin]]
name = "score_benchmark"
path = "src/bin/score_benchmark.rs"

[[bin]]
name = "sense_ontology"
path = "src/bin/sense_ontology.rs"

[[bin]]
name = "steeldb"
path = "src/bin/steeldb.rs"
required-features = [
    "tui",
    "needle",
    "onnx",
]

[[bin]]
name = "synth_prose"
path = "src/bin/synth_prose.rs"

[[bin]]
name = "tui"
path = "src/bin/tui.rs"
required-features = [
    "tui",
    "needle",
    "onnx",
]

[[test]]
name = "holdout"
path = "tests/holdout.rs"

[[test]]
name = "layers"
path = "tests/layers.rs"

[[test]]
name = "ocr"
path = "tests/ocr.rs"

[[test]]
name = "onnx"
path = "tests/onnx.rs"

[[test]]
name = "projectors"
path = "tests/projectors.rs"

[[test]]
name = "text"
path = "tests/text.rs"

[dependencies.async-trait]
version = "0.1"

[dependencies.aws-config]
version = "1.8.18"
optional = true

[dependencies.aws-sdk-bedrockruntime]
version = "1.135.0"
optional = true

[dependencies.aws-smithy-types]
version = "1.5.0"
optional = true

[dependencies.candle-core]
version = "0.9"
optional = true

[dependencies.candle-nn]
version = "0.9"
optional = true

[dependencies.candle-transformers]
version = "0.9"
optional = true

[dependencies.csv]
version = "1"

[dependencies.image]
version = "0.25"
features = ["png"]
optional = true
default-features = false

[dependencies.ort]
version = "2.0.0-rc.13"
optional = true

[dependencies.pdf-extract]
version = "0.7"
optional = true

[dependencies.quick-xml]
version = "0.36"
optional = true

[dependencies.ratatui]
version = "0.29"
optional = true

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls",
]
optional = true
default-features = false

[dependencies.roaring]
version = "0.10"

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

[dependencies.serde_json]
version = "1"

[dependencies.tokenizers]
version = "0.20"
features = ["onig"]
optional = true
default-features = false

[dependencies.tokio]
version = "1.53.1"
features = [
    "rt-multi-thread",
    "macros",
]
optional = true

[dependencies.wasm-bindgen]
version = "0.2"
optional = true

[dependencies.zip]
version = "2"
features = ["deflate"]
optional = true
default-features = false

[target.'cfg(target_os = "macos")'.dependencies.candle-core]
version = "0.9"
features = ["metal"]
optional = true

[profile.release]
opt-level = 3
lto = "thin"
codegen-units = 1