docbox-database 0.10.2

Docbox database structures, logic, and migrations
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"
name = "docbox-database"
version = "0.10.2"
authors = ["Jacobtread <jacobtread@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Docbox database structures, logic, and migrations"
readme = "README.md"
license = "MIT"
repository = "https://github.com/docbox-nz/docbox"
resolver = "2"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.aws-config]
version = "1.8.12"
features = ["behavior-version-latest"]

[dependencies.aws-credential-types]
version = "1.2.11"

[dependencies.aws-sigv4]
version = "1.3.7"

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

[dependencies.docbox-secrets]
version = "0.5.0"

[dependencies.moka]
version = "0.12.12"
features = ["future"]

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

[dependencies.serde_json]
version = "1.0.149"

[dependencies.sqlx]
version = "0.8.6"
features = [
    "runtime-tokio",
    "tls-rustls",
    "macros",
    "postgres",
    "uuid",
    "chrono",
    "json",
]
default-features = false

[dependencies.strum]
version = "0.27.2"
features = ["derive"]

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tokio]
version = "1.49.0"
features = ["macros"]

[dependencies.tracing]
version = "0.1.44"

[dependencies.url]
version = "2.5.8"

[dependencies.utoipa]
version = "5.4.0"
features = [
    "url",
    "uuid",
    "chrono",
    "axum_extras",
]

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

[dev-dependencies.testcontainers-modules]
version = "0.14.0"
features = ["postgres"]