# 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 = "roa" version = "0.6.1" authors = ["Hexilee "] description = "async web framework inspired by koajs, lightweight but powerful.\n" homepage = "https://github.com/Hexilee/roa/wiki" documentation = "https://docs.rs/roa" readme = "./README.md" keywords = ["http", "web", "framework", "async"] categories = ["network-programming", "asynchronous", "web-programming::http-server"] license = "MIT" repository = "https://github.com/Hexilee/roa" [package.metadata.docs.rs] features = ["docs"] rustdoc-args = ["--cfg", "feature=\"docs\""] [dependencies.askama] version = "0.10" optional = true [dependencies.async-compression] version = "0.3.8" features = ["all-algorithms", "futures-io"] optional = true [dependencies.async-trait] version = "0.1.51" [dependencies.bytes] version = "1.1" [dependencies.bytesize] version = "1.0" [dependencies.cookie] version = "0.15" features = ["percent-encode"] optional = true [dependencies.doc-comment] version = "0.3.3" optional = true [dependencies.futures] version = "0.3" [dependencies.headers] version = "0.3" [dependencies.hyper] version = "0.14" features = ["stream", "server", "http1", "http2"] default-features = false [dependencies.jsonrpc-v2] version = "0.10" features = ["bytes-v10"] optional = true default-features = false [dependencies.jsonwebtoken] version = "7.2" optional = true [dependencies.mime] version = "0.3" optional = true [dependencies.mime_guess] version = "2.0" optional = true [dependencies.multer] version = "2.0" optional = true [dependencies.once_cell] version = "1.8" [dependencies.percent-encoding] version = "2.1" [dependencies.radix_trie] version = "0.2.1" optional = true [dependencies.regex] version = "1.5" optional = true [dependencies.roa-core] version = "0.6" [dependencies.rustls] version = "0.20" optional = true [dependencies.rustls-pemfile] version = "0.2" optional = true [dependencies.serde] version = "1" optional = true [dependencies.serde_json] version = "1.0" optional = true [dependencies.serde_urlencoded] version = "0.7" optional = true [dependencies.tokio] version = "1.15" [dependencies.tokio-rustls] version = "0.23" optional = true [dependencies.tokio-tungstenite] version = "0.15.0" optional = true default-features = false [dependencies.tokio-util] version = "0.6.9" features = ["io"] [dependencies.tracing] version = "0.1" features = ["log"] [dependencies.url] version = "2.2" [dev-dependencies.anyhow] version = "1.0" [dev-dependencies.askama] version = "0.10" [dev-dependencies.encoding] version = "0.2" [dev-dependencies.hyper] version = "0.14" [dev-dependencies.hyper-tls] version = "0.5" [dev-dependencies.mime] version = "0.3" [dev-dependencies.multimap] version = "0.8" [dev-dependencies.pretty_env_logger] version = "0.4" [dev-dependencies.reqwest] version = "0.11" features = ["json", "cookies", "gzip", "multipart"] [dev-dependencies.serde] version = "1" features = ["derive"] [dev-dependencies.slab] version = "0.4.5" [dev-dependencies.test-case] version = "1.2" [dev-dependencies.tokio] version = "1.15" features = ["full"] [dev-dependencies.tokio-native-tls] version = "0.3" [features] async_rt = ["runtime", "tcp"] compress = ["async-compression"] cookies = ["cookie"] default = ["async_rt"] docs = ["full", "roa-core/docs"] file = ["mime_guess", "tokio/fs"] full = ["default", "json", "urlencoded", "file", "multipart", "template", "tls", "router", "jwt", "cookies", "compress", "websocket", "jsonrpc"] json = ["serde", "serde_json"] jsonrpc = ["jsonrpc-v2"] jwt = ["jsonwebtoken", "serde", "serde_json"] multipart = ["multer", "mime"] router = ["radix_trie", "regex", "doc-comment"] runtime = ["roa-core/runtime"] tcp = ["tokio/net", "tokio/time"] template = ["askama"] tls = ["rustls", "tokio-rustls", "rustls-pemfile"] urlencoded = ["serde", "serde_urlencoded"] websocket = ["tokio-tungstenite"] [badges.codecov] repository = "Hexilee/roa"