modo-upload 0.3.2

File upload handling for modo with local and S3 storage
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 = "modo-upload"
version = "0.3.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "File upload handling for modo with local and S3 storage"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/dmitrymomot/modo"
resolver = "2"

[features]
default = ["local"]
local = []
opendal = ["dep:opendal"]

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

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

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

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

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

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

[dependencies.axum]
version = "0.8"
features = ["multipart"]

[dependencies.bytes]
version = "1"

[dependencies.futures-util]
version = "0.3"

[dependencies.infer]
version = "0.16"

[dependencies.modo]
version = "0.3"

[dependencies.modo-upload-macros]
version = "0.3"

[dependencies.opendal]
version = "0.53"
features = ["services-s3"]
optional = true

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

[dependencies.tokio]
version = "1"
features = [
    "fs",
    "io-util",
]

[dependencies.tokio-util]
version = "0.7"
features = ["io"]

[dependencies.tracing]
version = "0.1"

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

[dependencies.ulid]
version = "1"

[dev-dependencies.axum-extra]
version = "0.10"
features = ["cookie-signed"]

[dev-dependencies.opendal]
version = "0.53"
features = [
    "services-memory",
    "services-s3",
]

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

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

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

[dev-dependencies.tokio]
version = "1"
features = [
    "full",
    "test-util",
]

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