# 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 = "laurus-mcp"
version = "0.7.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "MCP (Model Context Protocol) server for the Laurus search engine"
homepage = "https://github.com/mosuka/laurus"
documentation = "https://docs.rs/laurus"
readme = "README.md"
keywords = [
    "search",
    "mcp",
    "indexing",
]
categories = ["text-processing"]
license = "MIT"
repository = "https://github.com/mosuka/laurus"
resolver = "2"

[features]
embeddings-all = [
    "embeddings-candle",
    "embeddings-multimodal",
    "embeddings-openai",
]
embeddings-candle = [
    "laurus/embeddings-candle",
    "laurus-server/embeddings-candle",
]
embeddings-multimodal = [
    "laurus/embeddings-multimodal",
    "laurus-server/embeddings-multimodal",
]
embeddings-openai = [
    "laurus/embeddings-openai",
    "laurus-server/embeddings-openai",
]

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

[dependencies.anyhow]
version = "1.0.102"

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

[dependencies.laurus]
version = "0.7.0"
features = ["native"]
default-features = false

[dependencies.laurus-server]
version = "0.7.0"

[dependencies.rmcp]
version = "1.3.0"
features = [
    "server",
    "transport-io",
]

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

[dependencies.serde_json]
version = "1.0.149"

[dependencies.thiserror]
version = "2.0.18"

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

[dependencies.tonic]
version = "0.14.5"

[dependencies.tracing]
version = "0.1.44"

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