# 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 = "2018" name = "viz-middleware" version = "0.1.2" authors = ["Fangdun Tsai "] description = "Viz Middleware" license = "Apache-2.0/MIT" resolver = "2" [dependencies.async-compression] version = "0.3" features = ["tokio"] optional = true [dependencies.bytes] version = "1.0" optional = true [dependencies.cfg-if] version = "1.0" [dependencies.jsonwebtoken] version = "7.2" optional = true [dependencies.nano-id] version = "0.2" optional = true [dependencies.pin-project-lite] version = "0.2.7" optional = true [dependencies.serde] version = "1.0" [dependencies.sessions] version = "0.2.3" optional = true [dependencies.tokio] version = "1.12" features = ["time"] optional = true [dependencies.tokio-util] version = "0.6" features = ["io"] optional = true [dependencies.uuid] version = "0.8" features = ["v4"] optional = true default-features = false [dependencies.viz-core] version = "0.1.2" [dependencies.viz-utils] version = "0.1.2" [features] auth = [] auth-basic = [] auth-bearer = [] compression = ["bytes", "pin-project-lite", "tokio-util/io", "async-compression/tokio"] compression-brotli = ["async-compression/brotli"] compression-deflate = ["async-compression/deflate"] compression-gzip = ["async-compression/gzip"] cookies = [] cors = [] default = ["logger", "recover", "timeout", "request-nanoid", "jwt"] full = ["logger", "recover", "request-nanoid", "timeout", "auth", "cookies", "cors", "compression", "compression-brotli", "jwt", "jwt-header"] jwt = ["jsonwebtoken"] jwt-cookie = [] jwt-header = [] jwt-param = [] jwt-query = [] logger = [] recover = ["pin-project-lite"] request-nanoid = ["nano-id"] request-uuid = ["uuid/v4"] sessions-memory = ["sessions/memory"] sessions-redis = ["sessions/redis"] timeout = ["tokio/time"]