# 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 = "axum_typed_multipart" version = "0.13.2" authors = ["Lorenzo Murarotto "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Type safe multipart/form-data handling for axum." readme = "README.md" keywords = [ "axum", "form", "multipart", ] categories = ["web-programming"] license = "MIT" repository = "https://github.com/murar8/axum_typed_multipart" [lib] name = "axum_typed_multipart" path = "src/lib.rs" [[example]] name = "basic" path = "examples/basic.rs" [[example]] name = "custom_error" path = "examples/custom_error.rs" [[example]] name = "type_safe_enums" path = "examples/type_safe_enums.rs" [[example]] name = "upload" path = "examples/upload.rs" [dependencies.anyhow] version = "1.0.72" [dependencies.axum] version = "0.7.0" features = ["multipart"] [dependencies.axum_typed_multipart_macros] version = "0.13.2" [dependencies.bytes] version = "1.4.0" [dependencies.chrono_0_4] version = "0.4.0" optional = true package = "chrono" [dependencies.futures-core] version = "0.3.31" [dependencies.futures-util] version = "0.3.31" [dependencies.tempfile_3] version = "3.1.0" optional = true package = "tempfile" [dependencies.thiserror] version = "2.0.0" [dependencies.tokio] version = "1.25.0" features = [ "fs", "io-util", ] optional = true [dependencies.uuid_1] version = "1.0.0" optional = true package = "uuid" [dev-dependencies.axum-test-helper] version = "0.4.0" [dev-dependencies.reqwest] version = "0.11.23" [dev-dependencies.serde] version = "1.0.193" features = ["derive"] [dev-dependencies.tokio] version = "1.25.0" features = [ "macros", "rt-multi-thread", ] [features] chrono_0_4 = ["dep:chrono_0_4"] default = [ "chrono_0_4", "tempfile_3", "uuid_1", ] tempfile_3 = [ "dep:tempfile_3", "dep:tokio", ] uuid_1 = ["dep:uuid_1"] [lints.rust.unexpected_cfgs] level = "warn" priority = 0 check-cfg = ["cfg(coverage,coverage_nightly)"]