# 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"
name = "ohkami"
version = "0.18.2"
authors = ["kanarus <kanarus786@gmail.com>"]
description = "Build web app in intuitive and declarative code"
homepage = "https://crates.io/crates/ohkami"
documentation = "https://docs.rs/ohkami"
readme = "README.md"
keywords = [
    "async",
    "http",
    "web",
    "server",
    "framework",
]
categories = [
    "asynchronous",
    "web-programming::http-server",
]
license = "MIT"
repository = "https://github.com/kana-rus/ohkami"

[package.metadata.docs.rs]
features = ["rt_tokio"]

[dependencies.async-std]
version = "1"
optional = true

[dependencies.byte_reader]
version = "3.0"
features = ["text"]

[dependencies.hmac]
version = "0.12.1"
default-features = false

[dependencies.ohkami_lib]
version = "=0.2.3"

[dependencies.ohkami_macros]
version = "=0.7.3"

[dependencies.rustc-hash]
version = "1.1"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.10.8"
default-features = false

[dependencies.tokio]
version = "1"
features = [
    "net",
    "rt",
    "io-util",
    "sync",
    "time",
]
optional = true

[dependencies.worker]
version = "0.2.0"
features = [
    "d1",
    "queue",
]
optional = true

[features]
DEBUG = [
    "tokio?/macros",
    "tokio?/rt-multi-thread",
    "async-std?/attributes",
]
default = ["testing"]
nightly = []
rt_async-std = ["dep:async-std"]
rt_tokio = ["dep:tokio"]
rt_worker = [
    "dep:worker",
    "ohkami_macros/worker",
]
testing = []
