# 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-tool"
version = "1.8.44"
authors = ["izihawa"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CLI tools for Hermes - index management, simhash, sorting, and data processing"
homepage = "https://github.com/SpaceFrontiers/hermes"
readme = false
keywords = [
    "search",
    "full-text-search",
    "indexing",
    "ir",
]
categories = [
    "database",
    "text-processing",
]
license = "MIT"
repository = "https://github.com/SpaceFrontiers/hermes"
resolver = "2"

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

[dependencies.anyhow]
version = "1.0"

[dependencies.bincode]
version = "2.0"

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

[dependencies.crossbeam-channel]
version = "0.5"

[dependencies.hermes-core]
version = "1.8.44"
features = ["native"]
default-features = false

[dependencies.murmur3]
version = "0.5"

[dependencies.rayon]
version = "1.11"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sonic-rs]
version = "0.5"

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

[dependencies.tracing]
version = "0.1"

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

[target.'cfg(not(target_env = "msvc"))'.dependencies.tikv-jemalloc-ctl]
version = "0.7"
features = ["stats"]

[target.'cfg(not(target_env = "msvc"))'.dependencies.tikv-jemallocator]
version = "0.7"
features = [
    "stats",
    "background_threads",
]
