# 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 = "tosic-http" version = "0.0.3" authors = ["Emil Schütt "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A basic but powerful HTTP server implementation based on `actix-web`" homepage = "https://github.com/retrokiller543/tosic-http" readme = "README.md" keywords = [ "http", "async", ] license = "MIT" repository = "https://github.com/retrokiller543/tosic-http" [profile.release] lto = true codegen-units = 1 [lib] name = "tosic_http" path = "src/lib.rs" [[example]] name = "basic" path = "examples/basic.rs" [[example]] name = "device_id" path = "examples/device_id.rs" [dependencies.bytes] version = "1.8.0" [dependencies.clap] version = "4.5.20" features = ["derive"] [dependencies.console-subscriber] version = "0.4.1" optional = true [dependencies.flate2] version = "1.0.34" [dependencies.futures] version = "0.3.31" [dependencies.http] version = "1.1.0" [dependencies.httparse] version = "1.9.5" [dependencies.itertools] version = "0.13.0" [dependencies.mime] version = "0.3.17" [dependencies.paste] version = "1.0.15" [dependencies.pin-project-lite] version = "0.2.15" [dependencies.serde] version = "1.0.188" features = ["derive"] [dependencies.serde_json] version = "1.0.107" [dependencies.serde_urlencoded] version = "0.7.1" [dependencies.thiserror] version = "2.0.0" [dependencies.tokio] version = "1.41.1" features = ["full"] [dependencies.tokio-util] version = "0.7.12" features = ["full"] [dependencies.tosic-http-macro] version = "0.0.3" [dependencies.tower] version = "0.5.1" features = ["full"] [dependencies.tracing] version = "0.1.37" features = ["log"] [dependencies.tracing-subscriber] version = "0.3.18" features = ["env-filter"] optional = true [features] console-subscriber = ["dep:console-subscriber"] default = [ "log-subscriber", "gzip", ] gzip = [] log-subscriber = ["dep:tracing-subscriber"] trace = [] utils = []