# 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 = "argan" version = "0.1.2" authors = ["Shohruh Adham"] build = false exclude = [".github"] autobins = false autoexamples = false autotests = false autobenches = false description = "A web framework for Rust." readme = "README.md" keywords = [ "web", "framework", "server", "http", ] categories = [ "web-programming", "web-programming::http-server", "web-programming::websocket", "network-programming", "asynchronous", ] license = "MIT OR Apache-2.0" repository = "https://github.com/argan-rs/argan" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "argan" path = "src/lib.rs" [[bench]] name = "request_routing" path = "benches/request_routing.rs" harness = false [dependencies.argan-core] version = "0.1" [dependencies.base64] version = "0.22" optional = true [dependencies.brotli] version = "6" optional = true [dependencies.bytes] version = "1" [dependencies.cookie] version = "0.18" features = ["percent-encode"] optional = true [dependencies.fastwebsockets] version = "0.7" features = ["upgrade"] optional = true [dependencies.flate2] version = "1" optional = true [dependencies.futures-util] version = "0.3" [dependencies.http] version = "1" [dependencies.http-body] version = "1" [dependencies.http-body-util] version = "0.1" [dependencies.httparse] version = "1" [dependencies.httpdate] version = "1" [dependencies.hyper] version = "1" features = ["full"] [dependencies.hyper-util] version = "0.1" features = [ "server-auto", "server-graceful", "tokio", ] [dependencies.mime] version = "0.3" [dependencies.mime_guess] version = "2" optional = true [dependencies.multer] version = "3" optional = true [dependencies.percent-encoding] version = "2" [dependencies.pin-project] version = "1" [dependencies.rand] version = "0.8" features = ["small_rng"] optional = true default-features = false [dependencies.regex] version = "1" optional = true [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_json] version = "1" optional = true [dependencies.serde_urlencoded] version = "0.7" optional = true [dependencies.sha1] version = "0.10" optional = true [dependencies.thiserror] version = "1" [dependencies.tokio] version = "1" features = [ "macros", "signal", ] [dependencies.tokio-rustls] version = "0.26" optional = true default-features = false [dependencies.tower-layer] version = "0.3" [dependencies.tower-service] version = "0.3" [dev-dependencies.criterion] version = "0.5" features = ["async_tokio"] [dev-dependencies.rustls] version = "0.23" features = ["aws_lc_rs"] default-features = false [dev-dependencies.rustls-pemfile] version = "2" [dev-dependencies.rustls-pki-types] version = "1" [dev-dependencies.tokio] version = "1" features = [ "rt-multi-thread", "macros", "test-util", "parking_lot", ] [dev-dependencies.tower-http] version = "0.5" features = [ "compression-gzip", "decompression-gzip", "timeout", ] [features] cookies = ["dep:cookie"] default = [ "private-cookies", "query-params", "json", "form", ] file-stream = [ "dep:rand", "dep:mime_guess", "dep:flate2", "dep:brotli", ] form = ["dep:serde_urlencoded"] full = [ "regex", "private-cookies", "signed-cookies", "query-params", "json", "form", "multipart-form", "sse", "file-stream", "websockets", "peer-addr", "tls", ] json = [ "dep:serde_json", "multer/json", ] multipart-form = ["dep:multer"] peer-addr = [] private-cookies = [ "cookies", "cookie/private", "cookie/key-expansion", ] query-params = ["dep:serde_urlencoded"] signed-cookies = [ "cookies", "cookie/signed", "cookie/key-expansion", ] sse = [] tls = ["dep:tokio-rustls"] websockets = [ "dep:fastwebsockets", "dep:base64", "dep:sha1", ]