doido-storage 0.0.15

Attached-file storage — blobs, polymorphic attachments and pluggable services (disk, memory, S3, Cloudflare R2, Azure Blob) in ActiveStorage fashion for Doido.
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"
name = "doido-storage"
version = "0.0.15"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Attached-file storage — blobs, polymorphic attachments and pluggable services (disk, memory, S3, Cloudflare R2, Azure Blob) in ActiveStorage fashion for Doido."
readme = false
license = "MIT"

[features]
default = []
mysql = ["doido-model/mysql"]
postgres = ["doido-model/postgres"]
sqlite = ["doido-model/sqlite"]
storage-azure = [
    "dep:azure_storage",
    "dep:azure_storage_blobs",
]
storage-gcs = ["dep:gcloud-storage"]
storage-image = ["dep:imagesize"]
storage-jobs = ["dep:doido-jobs"]
storage-s3 = ["dep:aws-sdk-s3"]

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.async-trait]
version = "0.1"

[dependencies.aws-sdk-s3]
version = "1"
features = [
    "behavior-version-latest",
    "rt-tokio",
    "sigv4a",
    "http-1x",
    "default-https-client",
]
optional = true
default-features = false

[dependencies.azure_storage]
version = "0.21"
optional = true

[dependencies.azure_storage_blobs]
version = "0.21"
optional = true

[dependencies.base64]
version = "0.23"

[dependencies.chrono]
version = "0.4"
features = ["clock"]

[dependencies.doido-controller]
version = "=0.0.15"

[dependencies.doido-core]
version = "=0.0.15"

[dependencies.doido-jobs]
version = "=0.0.15"
optional = true

[dependencies.doido-model]
version = "=0.0.15"
default-features = false

[dependencies.gcloud-storage]
version = "1.3"
features = [
    "rustls-tls",
    "auth",
    "jwt-rust-crypto",
]
optional = true
default-features = false

[dependencies.hmac]
version = "0.13"

[dependencies.imagesize]
version = "0.15"
optional = true

[dependencies.md-5]
version = "0.11"

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_norway]
version = "0.9"

[dependencies.sha2]
version = "0.11"

[dependencies.thiserror]
version = "2"

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

[dependencies.tracing]
version = "0.1"

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

[dev-dependencies.doido-controller]
version = "=0.0.15"

[dev-dependencies.doido-model]
version = "=0.0.15"
features = ["sqlite"]
default-features = false

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

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

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

[dev-dependencies.tower]
version = "0.5"
features = ["util"]