terraphim_automata 1.10.0

Automata for searching and processing knowledge graphs
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 = "2024"
name = "terraphim_automata"
version = "1.10.0"
authors = ["Terraphim Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Automata for searching and processing knowledge graphs"
homepage = "https://terraphim.ai"
documentation = "https://terraphim.ai"
readme = "README.md"
keywords = [
    "personal-assistant",
    "ai",
    "privacy",
    "agent",
    "automata",
]
license = "Apache-2.0"
repository = "https://github.com/terraphim/terraphim-ai"
resolver = "2"

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

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

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

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

[[bench]]
name = "autocomplete_bench"
path = "benches/autocomplete_bench.rs"
harness = false

[dependencies.ahash]
version = "0.8.6"
features = ["serde"]

[dependencies.aho-corasick]
version = "1.0.2"

[dependencies.anyhow]
version = "1.0"
optional = true

[dependencies.bincode]
version = "1.3"

[dependencies.cached]
version = "0.56.0"
features = [
    "proc_macro",
    "async",
    "serde",
    "ahash",
]

[dependencies.daachorse]
version = "1.0"
optional = true

[dependencies.fst]
version = "0.4"

[dependencies.log]
version = "0.4"

[dependencies.regex]
version = "1.10"

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

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

[dependencies.serde_json]
version = "1"

[dependencies.strsim]
version = "0.11"

[dependencies.terraphim_types]
version = "1.0.0"

[dependencies.thiserror]
version = "1.0.30"

[dependencies.tokio]
version = "1"
features = [
    "io-util",
    "time",
    "macros",
    "rt",
    "rt-multi-thread",
    "process",
]
optional = true

[dependencies.tsify]
version = "0.5"
features = ["js"]
optional = true

[dependencies.walkdir]
version = "2.5"

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

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

[dependencies.zstd]
version = "0.13"
optional = true

[dev-dependencies.criterion]
version = "0.8"

[dev-dependencies.lazy_static]
version = "1.4.0"

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

[dev-dependencies.tokio]
version = "1"
features = [
    "io-util",
    "time",
    "macros",
    "rt",
    "rt-multi-thread",
]

[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
version = "0.3"
features = ["wasm_js"]