[package] name = "http_file_uploader" version = "0.2.0" edition = "2021" repository = "https://github.com/vi/http_file_uploader" categories = ["command-line-utilities","network-programming","web-programming::http-server"] keywords = ["upload", "multipart", "file", "cli", "socket"] description = "Axum-based HTTP server focused on uploading files using multipart/form-data, saving them to a file, stdout or child process" license = "MIT OR Apache-2.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] anyhow = "1.0.66" axum = { version = "0.5.17", default-features = false, features = ["http1", "http2", "multipart", "original-uri"] } axum-macros = { version = "0.2.3", default-features = false } base64 = "0.13.1" bytes = "1.2.1" futures-util = "0.3.25" hyper = { version = "0.14.20", default-features = false, features = ["server"] } libc = "0.2.135" multer = "2.0.4" pin-project = "1.0.12" readwrite = { version = "0.2.0", features = ["tokio"] } tokio = { version = "1.21.2", features = ["rt", "net", "sync", "io-util", "fs", "process", "macros"] } tokio-util = { version = "0.7.4", features = ["io"] } tower = { version = "0.4.13", features = ["limit", "buffer", "load-shed", "util"] } xflags = "0.3.1" [profile.release] opt-level = "s" debug = 1 rpath = false lto = true debug-assertions = false codegen-units = 1 incremental = false panic = 'unwind'