omry-db 0.23.0-dev

Database abstractions used by the Omry backend.
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 = "2024"
rust-version = "1.96"
name = "omry-db"
version = "0.23.0-dev"
authors = ["Lake Hope"]
build = false
exclude = [
    "**/*.snap",
    "test/*",
    "**/proptest-regressions/*",
]
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Database abstractions used by the Omry backend."
homepage = "https://forgejo.e37a.net/flora/omry"
readme = "README.md"
keywords = [
    "archival",
    "iroh",
    "retrieval",
    "search",
    "web",
]
license = "AGPL-3.0"
repository = "https://forgejo.e37a.net/flora/omry"
resolver = "2"

[features]
connection = [
    "dep:deadpool-sqlite",
    "dep:rusqlite",
    "dep:tracing",
]
default = ["connection"]

[lib]
name = "omry_db"
path = "src/lib.rs"
doctest = false

[dependencies.chrono]
version = "0.4"

[dependencies.deadpool-sqlite]
version = "0.13.0"
features = ["tracing"]
optional = true

[dependencies.omry-archiving]
version = "0.23.0-dev"
features = ["marshal"]

[dependencies.rusqlite]
version = "0.38"
features = [
    "array",
    "bundled",
    "chrono",
]
optional = true

[dependencies.rusqlite_migration]
version = "2"

[dependencies.thiserror]
version = "2"

[dependencies.tracing]
version = "0.1.44"
optional = true

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

[dev-dependencies.insta]
version = "1.48"
features = [
    "redactions",
    "ron",
]

[dev-dependencies.pretty_assertions]
version = "1.4"

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

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

[dev-dependencies.tokio]
version = "1.53"
features = [
    "macros",
    "rt",
]

[lints.clippy]
clone_on_ref_ptr = "deny"
dbg_macro = "deny"
expect_used = "deny"
print_stderr = "deny"
print_stdout = "deny"
todo = "warn"
unwrap_used = "deny"

[lints.rust]
missing_docs = "deny"