# 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.89"
name = "mimir-librarian"
version = "0.1.0"
authors = ["Alain Dormehl <alaindormehl@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Mimir librarian for governed draft ingestion, validation, and canonical memory commits."
homepage = "https://github.com/buildepicshit/Mimir"
documentation = "https://docs.rs/mimir-librarian"
readme = "README.md"
keywords = [
    "mimir",
    "agent",
    "memory",
    "librarian",
    "claude",
]
categories = [
    "command-line-utilities",
    "data-structures",
]
license = "Apache-2.0"
repository = "https://github.com/buildepicshit/Mimir"

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

[[bin]]
name = "mimir-librarian"
path = "src/main.rs"

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

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

[dependencies.anyhow]
version = "1.0"

[dependencies.mimir-core]
version = "=0.1.0"

[dependencies.rusqlite]
version = "0.32"
features = ["bundled"]

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.11"

[dependencies.thiserror]
version = "2.0"

[dependencies.tracing]
version = "0.1"
features = [
    "std",
    "attributes",
]
default-features = false

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "std",
    "fmt",
    "json",
    "registry",
    "env-filter",
]
default-features = false

[dependencies.wait-timeout]
version = "0.2"

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

[lints.clippy]
dbg_macro = "deny"
expect_used = "deny"
panic = "warn"
todo = "warn"
unwrap_used = "deny"

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

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

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