# 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"
rust-version = "1.95"
name = "llm-wiki-engine"
version = "0.4.1"
authors = ["Jerome Guibert <jguibert@gmail.com>"]
build = false
exclude = [
    ".github/",
    "tests/",
    "tests-integration/",
    "docs/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Git-backed wiki engine with MCP/ACP server — bring your own LLM"
homepage = "https://github.com/geronimo-iia/llm-wiki"
documentation = "https://docs.rs/llm-wiki-engine"
readme = "README.md"
keywords = [
    "wiki",
    "knowledge-base",
    "mcp",
    "git",
    "acp",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/geronimo-iia/llm-wiki"

[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/{ target }.tar.gz"
bin-dir = "llm-wiki"

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

[[bin]]
name = "llm-wiki"
path = "src/main.rs"

[dependencies.agent-client-protocol]
version = "0.11"

[dependencies.anyhow]
version = "1"

[dependencies.axum]
version = "0.8"

[dependencies.chrono]
version = "0.4"
features = [
    "clock",
    "std",
]
default-features = false

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.git2]
version = "0.20"
features = ["vendored-libgit2"]
default-features = false

[dependencies.hex]
version = "0.4"

[dependencies.jsonschema]
version = "0.46"

[dependencies.notify]
version = "8"

[dependencies.petgraph]
version = "0.8"

[dependencies.petgraph-live]
version = "0.3.1"
features = [
    "snapshot-lz4",
    "snapshot-zstd",
]

[dependencies.regex]
version = "1"

[dependencies.rmcp]
version = "1.6"
features = [
    "server",
    "transport-io",
    "transport-streamable-http-server",
]

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.sha2]
version = "0.11"

[dependencies.tantivy]
version = "0.26"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tokio-util]
version = "0.7"
features = ["compat"]

[dependencies.toml]
version = "1.1"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-appender]
version = "0.2"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "json",
]

[dependencies.walkdir]
version = "2"

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

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
panic = "abort"
strip = true
