[dependencies.chrono]
features = ["serde"]
version = "=0.4.42"
[dependencies.docbox-secrets]
version = "0.4.0"
[dependencies.moka]
features = ["future"]
version = "=0.12.12"
[dependencies.serde]
features = ["derive"]
version = "=1.0.228"
[dependencies.serde_json]
version = "=1.0.148"
[dependencies.sqlx]
default-features = false
features = ["runtime-tokio", "tls-rustls", "macros", "postgres", "uuid", "chrono", "json"]
version = "=0.8.6"
[dependencies.strum]
features = ["derive"]
version = "=0.27.2"
[dependencies.thiserror]
version = "=2.0.17"
[dependencies.tokio]
features = ["macros"]
version = "=1.48.0"
[dependencies.tracing]
version = "=0.1.44"
[dependencies.utoipa]
features = ["url", "uuid", "chrono", "axum_extras"]
version = "=5.4.0"
[dependencies.uuid]
features = ["v4", "serde"]
version = "=1.19.0"
[dev-dependencies.testcontainers-modules]
features = ["postgres"]
version = "=0.14.0"
[lib]
name = "docbox_database"
path = "src/lib.rs"
[package]
authors = ["Jacobtread <jacobtread@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "Docbox database structures, logic, and migrations"
edition = "2024"
license = "MIT"
name = "docbox-database"
readme = "README.md"
repository = "https://github.com/docbox-nz/docbox"
resolver = "2"
version = "0.7.0"
[[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"