terraphim_automata 1.16.13

Automata for searching and processing knowledge graphs
Documentation
[package]
name = "terraphim_automata"
version = "1.16.13"
edition.workspace = true
authors = ["Terraphim Contributors"]
description = "Automata for searching and processing knowledge graphs"
documentation = "https://terraphim.ai"
homepage = "https://terraphim.ai"
repository = "https://github.com/terraphim/terraphim-ai"
keywords = ["personal-assistant", "ai", "privacy", "agent", "automata"]
license = "Apache-2.0"
readme = "README.md"


[dependencies]
terraphim_types = { path = "../terraphim_types", version = "1.0.0" }
terraphim-markdown-parser = { path = "../terraphim-markdown-parser", version = "1.0.0" }

ahash = { version = "0.8.6", features = ["serde"] }
aho-corasick = "1.0.2"
regex = "1.12"
fst = "0.4"
bincode = "1.3"
reqwest = { workspace = true, features = ["json", "rustls-tls"], optional = true }

serde = { workspace = true, features = ["derive"] }

serde_json = { workspace = true }

thiserror = { workspace = true }

tokio = { workspace = true, features = ["io-util", "time","macros","rt","rt-multi-thread", "process"], optional = true }

strsim = "0.11"
log = { workspace = true }

wasm-bindgen-futures = { version = "0.4.1", optional = true }
wasm-bindgen = { version = "0.2.51", optional = true }
cached = { version = "0.56.0", features = ["proc_macro", "async", "serde", "ahash"] }
tsify = { version = "0.5", features = ["js"], optional = true }
walkdir = "2.5"
daachorse = { version = "1.0", optional = true }
zstd = { version = "0.13", optional = true }
anyhow = { workspace = true, optional = true }


# WASM-specific dependencies
[target.'cfg(target_arch = "wasm32")'.dependencies]
getrandom = { version = "0.3", features = ["wasm_js"] }

[[bench]]
name = "autocomplete_bench"
harness = false

[features]
default = []
remote-loading = ["tokio", "reqwest"]
tokio-runtime = ["tokio"]
typescript = ["tsify", "dep:wasm-bindgen"]
wasm = ["typescript", "dep:wasm-bindgen", "dep:wasm-bindgen-futures"]
medical = ["daachorse", "zstd", "anyhow"]

[dev-dependencies]
criterion = "0.8"
tempfile = { workspace = true }

tokio = { workspace = true, features = ["io-util", "time","macros","rt","rt-multi-thread"] }