# 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.92"
name = "hermes-server"
version = "1.8.39"
authors = ["izihawa"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "gRPC search server for Hermes"
homepage = "https://github.com/SpaceFrontiers/hermes"
readme = "README.md"
keywords = [
    "search",
    "full-text-search",
    "indexing",
    "ir",
]
categories = [
    "database",
    "text-processing",
]
license = "MIT"
repository = "https://github.com/SpaceFrontiers/hermes"
resolver = "2"

[[bin]]
name = "hermes-server"
path = "src/main.rs"

[[bin]]
name = "serve-index"
path = "src/bin/serve_index.rs"

[[bin]]
name = "test-doc-retrieval"
path = "src/bin/test_doc_retrieval.rs"

[dependencies.anyhow]
version = "1.0"

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

[dependencies.env_logger]
version = "0.11"

[dependencies.hermes-core]
version = "1.8.39"
features = [
    "native",
    "sync",
]
default-features = false

[dependencies.log]
version = "0.4"

[dependencies.num_cpus]
version = "1.16"

[dependencies.parking_lot]
version = "0.12"

[dependencies.prost]
version = "0.14"

[dependencies.rayon]
version = "1.11"

[dependencies.rustc-hash]
version = "2.1"

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

[dependencies.serde_json]
version = "1.0"

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

[dependencies.tonic]
version = "0.14"
features = [
    "gzip",
    "zstd",
]

[dependencies.tonic-prost]
version = "0.14"

[build-dependencies.tonic-build]
version = "0.14"

[build-dependencies.tonic-prost-build]
version = "0.14"
