# 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"
rust-version = "1.90"
name = "dynomite-search"
version = "0.0.3"
authors = ["The Dynomite Rust Port Authors"]
build = false
include = [
    "/src/**/*.rs",
    "/Cargo.toml",
    "/README.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "RediSearch FT.* command surface for the Dynomite engine: vector + text indexing, schema, registry, k-NN coordinator, and RESP wire codec."
homepage = "https://github.com/gburd/dynomite"
documentation = "https://docs.rs/dynomite-search"
readme = "README.md"
keywords = [
    "search",
    "vector",
    "redisearch",
    "hnsw",
    "trigram",
]
categories = [
    "database-implementations",
    "text-processing",
    "data-structures",
]
license = "Apache-2.0"
repository = "https://github.com/gburd/dynomite"

[package.metadata.docs.rs]
all-features = false
targets = ["x86_64-unknown-linux-gnu"]

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

[dependencies.dynomite]
version = "0.0.3"
package = "dynomite-engine"

[dependencies.dynomite-text]
version = "0.0.2"

[dependencies.dynomite-vec]
version = "0.0.2"

[dependencies.gen-fsm]
version = "0.0.1"

[dependencies.parking_lot]
version = "0.12"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2.0"

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

[dependencies.tracing]
version = "0.1"

[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]

[dev-dependencies.hegeltest]
version = "0.14"
features = ["native"]

[dev-dependencies.hex]
version = "0.4"

[dev-dependencies.regex]
version = "1"

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

[dev-dependencies.tokio]
version = "1.52"
features = [
    "full",
    "full",
    "test-util",
]

[lints.clippy]
doc_markdown = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"

[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(loom)"]
