# 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"
name = "mxr-search"
version = "0.4.60"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Internal: Tantivy lexical search index for mxr"
homepage = "https://github.com/planetaryescape/mxr"
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/planetaryescape/mxr"

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

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

[dependencies.mxr-core]
version = "0.4.54"

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

[dependencies.tantivy]
version = "0.22"

[dependencies.thiserror]
version = "2"

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

[dependencies.tracing]
version = "0.1"

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

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

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

[lints.clippy]
panic = "warn"
todo = "warn"
unwrap_used = "warn"

[lints.rust]
unsafe_code = "deny"
unused_must_use = "deny"
