mnm-store 0.2.2

Postgres + pgvector storage layer for midnight-manual (sqlx-backed).
Documentation
# 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-store"
version = "0.2.2"
authors = ["Midnight Network Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Postgres + pgvector storage layer for midnight-manual (sqlx-backed)."
homepage = "https://midnight.network"
readme = false
license = "Apache-2.0 OR MIT"
repository = "https://github.com/devrelaicom/midnight-manual"

[features]
integration = []

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.pgvector]
version = "0.4"
features = [
    "sqlx",
    "postgres",
]

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

[dependencies.serde_json]
version = "1"

[dependencies.sqlx]
version = "0.8"
features = [
    "postgres",
    "runtime-tokio-rustls",
    "macros",
    "uuid",
    "time",
    "json",
    "migrate",
]
default-features = false

[dependencies.thiserror]
version = "2"

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

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "signal",
    "fs",
    "io-std",
]

[dependencies.tracing]
version = "0.1"

[dependencies.uuid]
version = "1"
features = [
    "v4",
    "serde",
]

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

[dev-dependencies.testcontainers]
version = "0.23"

[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"