# 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 believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)

[package]
edition = "2018"
name = "tide"
version = "0.15.1"
authors = ["Aaron Turon <aturon@mozilla.com>", "Yoshua Wuyts <yoshuawuyts@gmail.com>", "Wonwoo Choi <chwo9843@gmail.com>"]
description = "A minimal and pragmatic Rust web application framework built for rapid development"
documentation = "https://docs.rs/tide"
readme = "README.md"
keywords = ["tide", "http", "web", "framework", "async"]
categories = ["network-programming", "asynchronous", "web-programming::http-server"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/http-rs/tide"
[package.metadata.docs.rs]
features = ["docs"]
rustdoc-args = ["--cfg", "feature=\"docs\""]

[[example]]
name = "cookies"
required-features = ["cookies"]

[[example]]
name = "sessions"
required-features = ["sessions"]

[[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
[dependencies.async-h1]
version = "2.1.2"
optional = true

[dependencies.async-session]
version = "2.0.1"
optional = true

[dependencies.async-sse]
version = "4.0.1"

[dependencies.async-std]
version = "1.6.5"
features = ["unstable"]

[dependencies.async-trait]
version = "0.1.41"

[dependencies.femme]
version = "2.1.1"
optional = true

[dependencies.futures-util]
version = "0.3.6"

[dependencies.http-client]
version = "6.1.0"
default-features = false

[dependencies.http-types]
version = "2.5.0"

[dependencies.kv-log-macro]
version = "1.0.7"

[dependencies.log]
version = "0.4.13"
features = ["kv_unstable_std"]

[dependencies.pin-project-lite]
version = "0.1.10"

[dependencies.route-recognizer]
version = "0.2.0"

[dependencies.serde]
version = "1.0.117"

[dependencies.serde_json]
version = "1.0.59"
[dev-dependencies.async-std]
version = "1.6.5"
features = ["unstable", "attributes"]

[dev-dependencies.criterion]
version = "0.3.3"

[dev-dependencies.juniper]
version = "0.14.2"

[dev-dependencies.lazy_static]
version = "1.4.0"

[dev-dependencies.logtest]
version = "2.0.0"

[dev-dependencies.portpicker]
version = "0.1.0"

[dev-dependencies.serde]
version = "1.0.117"
features = ["derive"]

[dev-dependencies.surf]
version = "2.0.0"
features = ["h1-client"]
default-features = false

[dev-dependencies.tempfile]
version = "3.1.0"

[features]
cookies = []
default = ["h1-server", "cookies", "logger", "sessions"]
docs = ["unstable"]
h1-server = ["async-h1"]
logger = ["femme"]
sessions = ["async-session", "cookies"]
unstable = []
