[package] name = "kanagawa" version = "0.1.3" description = "Web framework based on Tide with Proactive IO" authors = [ "Theo M. Bulut ", "Aaron Turon ", "Yoshua Wuyts ", "Wonwoo Choi ", ] documentation = "https://docs.rs/kanagawa" keywords = ["kanagawa", "http", "web", "framework", "async"] categories = [ "network-programming", "asynchronous", "web-programming::http-server" ] edition = "2018" license = "MIT OR Apache-2.0" readme = "README.md" repository = "https://github.com/vertexclique/kanagawa" [package.metadata.docs.rs] features = ["docs"] rustdoc-args = ["--cfg", "feature=\"docs\""] exclude = [ ".github/*", "examples/*", "tests/*", "art/*", "ci/*", "k8s/*", "benches/*", "doc/*", "docker/*", "docs/*", "*.png", "*.dot", "*.yml", ] [features] default = ["h1-server"] cookies = ["http-types/cookies"] h1-server = ["async-h1"] logger = [] docs = ["unstable"] sessions = ["async-session", "cookies"] sse = ["async-sse"] unstable = [] [dependencies] async-h1 = { version = "2.3.0", optional = true } async-session = { version = "3.0", optional = true } async-sse = { version = "5.1.0", optional = true } nuclei = "0.4" futures = "0.3" thiserror = "1.0" async-trait = "0.1" async-dup = "1.2" futures-util = "0.3.6" futures-timer = "3.0" http-client = { version = "6.1.0", default-features = false } http-types = { version = "2.11.0", default-features = false, features = ["fs"] } tracing = "0.1" log = { version = "0.4.13", features = ["kv_unstable_std"] } pin-project-lite = "0.2.0" serde = "1.0.117" serde_json = "1.0.59" routefinder = "0.5.0" regex = "1.5.5" cfg-if = "1.0.0" [dev-dependencies] criterion = "0.3.3" juniper = "0.14.2" kv-log-macro = "1.0.7" lazy_static = "1.4.0" logtest = "2.0.0" portpicker = "0.1.0" serde = { version = "1.0.117", features = ["derive"] } surf = { version = "2.0.0", default-features = false, features = ["h1-client"] } tempfile = "3.1.0" [[test]] name = "cookies" path = "tests/cookies.rs" required-features = ["cookies"] [[test]] name = "nested" path = "tests/nested.rs" required-features = ["unstable"] [[test]] name = "sessions" path = "tests/sessions.rs" required-features = ["sessions"] [[bench]] name = "router" harness = false [[bench]] name = "nest" harness = false [[example]] name = "cookies" required-features = ["cookies"] [[example]] name = "sessions" required-features = ["sessions"] [[example]] name = "sse" required-features = ["sse"]