# 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" rust-version = "1.64" name = "kvarn" version = "0.6.3" authors = ["Icelk "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A forward-thinking fast web server designed to fit your needs, efficiently." homepage = "https://kvarn.org/" readme = "README.md" keywords = [ "web", "web-server", "web-application", "web-framework", ] categories = [ "web-programming", "web-programming::http-server", "web-programming::websocket", ] license = "Apache-2.0" repository = "https://github.com/Icelk/kvarn/" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [profile.dev.package.fancy-regex] opt-level = 3 [profile.dev.package.regex] opt-level = 3 [profile.distribution] lto = true inherits = "release" strip = true [lib] name = "kvarn" path = "src/lib.rs" [[test]] name = "byte-ranges" path = "tests/byte-ranges.rs" [[test]] name = "cors" path = "tests/cors.rs" [[test]] name = "extensions" path = "tests/extensions.rs" [[test]] name = "nonce" path = "tests/nonce.rs" [[test]] name = "shutdown" path = "tests/shutdown.rs" [dependencies.base64] version = "0.22" optional = true [dependencies.brotli] version = "7" optional = true [dependencies.bytes] version = "1" [dependencies.compact_str] version = "0.8.0" [dependencies.dashmap] version = "6" [dependencies.flate2] version = "1" optional = true [dependencies.futures-util] version = "0.3" features = ["sink"] optional = true default-features = false [dependencies.h2] version = "0.4.5" optional = true default-features = false [dependencies.h3] version = "0.0.6" optional = true [dependencies.h3-quinn] version = "0.0.7" optional = true [dependencies.http] version = "1.0" [dependencies.kvarn_async] version = "0.6.1" [dependencies.kvarn_signal] version = "0.2.1" optional = true [dependencies.kvarn_utils] version = "0.6.1" [dependencies.log] version = "0.4" [dependencies.memchr] version = "2" optional = true [dependencies.mime] version = "0.3" [dependencies.mime_guess] version = "2" [dependencies.moka] version = "0.12" features = ["sync"] default-features = false [dependencies.percent-encoding] version = "2" [dependencies.quinn] version = "0.11.1" features = [ "rustls", "log", "runtime-tokio", ] optional = true default-features = false [dependencies.rand] version = "0.8" features = ["small_rng"] optional = true [dependencies.rustls] version = "0.23.8" features = [ "std", "ring", "logging", "tls12", ] optional = true default-features = false [dependencies.rustls-pemfile] version = "2.1" optional = true [dependencies.rustls-webpki] version = "0.102" features = [ "ring", "std", ] optional = true default-features = false [dependencies.sha-1] version = "0.10" optional = true [dependencies.socket2] version = "0.5.3" features = ["all"] optional = true [dependencies.time] version = "0.3" features = [ "parsing", "formatting", "macros", ] [dependencies.tokio] version = "1.24" features = [ "rt", "io-util", "fs", "sync", "parking_lot", "time", "macros", ] [dependencies.tokio-tungstenite] version = "0.24" optional = true default-features = false [dependencies.tokio-uring] version = "0.4.0-alpha1" features = ["bytes"] optional = true package = "kvarn-tokio-uring" [dependencies.tree_magic_mini] version = "3" features = ["tree_magic_db"] [dependencies.zstd] version = "0.13" optional = true default-features = false [dev-dependencies.kvarn_testing] version = "0.6.1" [features] all-compression = [ "br", "gzip", "zstd", ] all-http = [ "https", "http2", "http3", ] async-networking = [ "tokio/net", "socket2", ] base = [ "async-networking", "handover", ] br = ["brotli"] default = ["full"] full = [ "all-http", "all-compression", "graceful-shutdown", "nonce", "websocket", "base", ] graceful-shutdown = ["handover"] gzip = ["flate2"] handover = ["kvarn_signal"] http2 = [ "h2", "https", ] http3 = [ "h3", "h3-quinn", "quinn", "https", ] https = [ "rustls", "rustls-pemfile", "rustls-webpki", "async-networking", ] nonce = [ "rand", "base64", "memchr", ] uring = [ "tokio-uring", "kvarn_signal/uring", "async-networking", ] websocket = [ "tokio-tungstenite", "sha-1", "base64", "futures-util", ] zstd = ["dep:zstd"] zstd-multithread = ["zstd/zstdmt"] [target."cfg(unix)".dependencies.libc] version = "0.2" default-features = false