# 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.91"
name = "mnm-retrieval"
version = "0.2.0"
authors = ["Midnight Network Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Hybrid (FTS + vector) retrieval, RRF merging, and trust × relevance scoring."
homepage = "https://midnight.network"
readme = false
license = "Apache-2.0 OR MIT"
repository = "https://github.com/devrelaicom/midnight-manual"

[features]
integration = []

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

[[test]]
name = "filter_properties"
path = "tests/filter_properties.rs"

[[test]]
name = "proptest_rrf"
path = "tests/proptest_rrf.rs"

[dependencies.mnm-core]
version = "0.2.0"

[dependencies.mnm-store]
version = "0.2.0"

[dependencies.semver]
version = "1"

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.time]
version = "0.3"
features = [
    "serde",
    "formatting",
    "parsing",
    "macros",
    "serde-human-readable",
]

[dependencies.tracing]
version = "0.1"

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

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

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

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

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

[lints.rust]
missing_docs = "warn"
unsafe_code = "deny"
unused_imports = "warn"
