# 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"
name = "miyabi-knowledge"
version = "1.1.0"
authors = ["Shunsuke Hayashi <supernovasyun@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Knowledge management system for Miyabi - Vector database, embeddings, and search"
readme = "README.md"
keywords = [
    "knowledge",
    "vector-db",
    "embeddings",
    "search",
    "ai",
]
categories = [
    "development-tools",
    "database",
]
license = "Apache-2.0"
repository = "https://github.com/ShunsukeHayashi/Miyabi"

[features]
default = []
server = [
    "axum",
    "tower-http",
    "futures-util",
]

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

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

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

[dependencies.anyhow]
version = "1.0"

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

[dependencies.axum]
version = "0.7"
features = ["ws"]
optional = true

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

[dependencies.dirs]
version = "6.0"

[dependencies.futures]
version = "0.3"

[dependencies.futures-util]
version = "0.3"
optional = true

[dependencies.miyabi-core]
version = "1.1.0"

[dependencies.miyabi-llm]
version = "1.1.0"

[dependencies.miyabi-types]
version = "1.1.0"

[dependencies.pulldown-cmark]
version = "0.13"

[dependencies.qdrant-client]
version = "1.9"

[dependencies.regex]
version = "1.10"

[dependencies.reqwest]
version = "0.12"
features = ["json"]

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.40"
features = [
    "rt-multi-thread",
    "macros",
    "fs",
    "process",
    "io-util",
    "sync",
    "time",
    "signal",
]

[dependencies.tower-http]
version = "0.5"
features = [
    "fs",
    "cors",
]
optional = true

[dependencies.tracing]
version = "0.1"

[dependencies.tree-sitter]
version = "0.25"

[dependencies.tree-sitter-rust]
version = "0.24"

[dependencies.uuid]
version = "1.0"
features = [
    "v4",
    "serde",
]

[dependencies.walkdir]
version = "2.4"

[dev-dependencies.mockito]
version = "1.5"

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

[dev-dependencies.tokio]
version = "1.40"
features = [
    "rt-multi-thread",
    "macros",
    "fs",
    "process",
    "io-util",
    "sync",
    "time",
    "signal",
    "test-util",
]
