# 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" rust-version = "1.80" name = "actix-web-lab" version = "0.23.0" authors = ["Rob Ede "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "In-progress extractors and middleware for Actix Web" readme = "README.md" keywords = [ "actix", "http", "web", "framework", "async", ] categories = [ "network-programming", "asynchronous", "web-programming::http-server", "web-programming::websocket", ] license = "MIT OR Apache-2.0" repository = "https://github.com/robjtede/actix-web-lab" [package.metadata.cargo_check_external_types] allowed_external_types = [ "actix_http::*", "actix_service::*", "actix_utils::*", "actix_web_lab_derive::*", "actix_web::*", "arc_swap::*", "bytes::*", "bytestring::*", "futures_core::*", "http::*", "mime::*", "serde_json::*", "serde::*", "tokio::*", ] [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "actix_web_lab" path = "src/lib.rs" [[example]] name = "body_async_write" path = "examples/body_async_write.rs" [[example]] name = "body_channel" path = "examples/body_channel.rs" [[example]] name = "body_hmac" path = "examples/body_hmac.rs" [[example]] name = "cbor" path = "examples/cbor.rs" required-features = ["cbor"] [[example]] name = "discord_webhook" path = "examples/discord_webhook.rs" [[example]] name = "fork_request_payload" path = "examples/fork_request_payload.rs" [[example]] name = "from_fn" path = "examples/from_fn.rs" [[example]] name = "json" path = "examples/json.rs" [[example]] name = "map_response" path = "examples/map_response.rs" [[example]] name = "msgpack" path = "examples/msgpack.rs" required-features = ["msgpack"] [[example]] name = "ndjson" path = "examples/ndjson.rs" [[example]] name = "query" path = "examples/query.rs" [[example]] name = "req_sig" path = "examples/req_sig.rs" [[example]] name = "spa" path = "examples/spa.rs" required-features = ["spa"] [[example]] name = "sse" path = "examples/sse.rs" [dependencies.actix-files] version = "0.6" optional = true [dependencies.actix-http] version = "3" [dependencies.actix-router] version = "0.5" [dependencies.actix-service] version = "2" [dependencies.actix-utils] version = "3" [dependencies.actix-web] version = "4.9" default-features = false [dependencies.actix-web-lab-derive] version = "=0.23.0" optional = true [dependencies.ahash] version = "0.8" [dependencies.arc-swap] version = "1.1" [dependencies.bytes] version = "1" [dependencies.bytestring] version = "1" [dependencies.csv] version = "1.1" [dependencies.derive_more] version = "1" features = [ "display", "error", ] [dependencies.form_urlencoded] version = "1" [dependencies.futures-core] version = "0.3.17" [dependencies.futures-util] version = "0.3.31" features = ["std"] default-features = false [dependencies.http] version = "0.2.7" [dependencies.impl-more] version = "0.1.3" [dependencies.itertools] version = "0.13" [dependencies.local-channel] version = "0.1" [dependencies.mediatype] version = "0.19" [dependencies.mime] version = "0.3" [dependencies.pin-project-lite] version = "0.2.7" [dependencies.regex] version = "1.11.0" [dependencies.rmp-serde] version = "1" optional = true [dependencies.serde] version = "1" [dependencies.serde_cbor_2] version = "0.12.0-dev" optional = true [dependencies.serde_html_form] version = "0.2" [dependencies.serde_json] version = "1" [dependencies.serde_path_to_error] version = "0.1" [dependencies.tokio] version = "1.40.0" features = [ "sync", "macros", ] [dependencies.tokio-stream] version = "0.1.16" [dependencies.tracing] version = "0.1.30" features = ["log"] [dev-dependencies.actix-web] version = "4" features = ["rustls-0_23"] [dev-dependencies.actix-web-lab-derive] version = "=0.23.0" [dev-dependencies.async_zip] version = "0.0.17" features = [ "deflate", "tokio", ] [dev-dependencies.base64] version = "0.22" [dev-dependencies.digest] version = "0.10" [dev-dependencies.ed25519-dalek] version = "2" [dev-dependencies.env_logger] version = "0.11" [dev-dependencies.futures-util] version = "0.3.31" features = [ "std", "io", ] default-features = false [dev-dependencies.generic-array] version = "0.14" [dev-dependencies.hex] version = "0.4" [dev-dependencies.hex-literal] version = "0.4" [dev-dependencies.hmac] version = "0.12" features = ["reset"] [dev-dependencies.rand] version = "0.8" [dev-dependencies.rustls] version = "0.23" [dev-dependencies.rustls-pemfile] version = "2" [dev-dependencies.serde] version = "1" features = ["derive"] [dev-dependencies.sha2] version = "0.10" [dev-dependencies.static_assertions] version = "1.1" [dev-dependencies.time] version = "0.3" features = ["formatting"] [dev-dependencies.tokio] version = "1.40.0" features = ["full"] [dev-dependencies.tokio-util] version = "0.7" features = ["compat"] [features] cbor = ["serde_cbor_2"] default = ["derive"] derive = ["actix-web-lab-derive"] msgpack = ["rmp-serde"] spa = ["actix-files"] [lints.rust] future_incompatible = "warn" missing_debug_implementations = "warn" missing_docs = "warn" [lints.rust.nonstandard_style] level = "deny" priority = 5 [lints.rust.rust_2018_idioms] level = "deny" priority = 10