# 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 = "kvarn-extensions" version = "0.6.2" authors = ["Icelk "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Extensions for the Kvarn web server. Features HTTP/2 automatic push and a templating engine." readme = "README.md" keywords = [ "http-push", "template", "php", ] categories = ["template-engine"] license = "Apache-2.0" repository = "https://github.com/Icelk/kvarn/tree/main/kvarn_extensions/" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "kvarn_extensions" path = "src/lib.rs" [[test]] name = "reverse-proxy" path = "tests/reverse-proxy.rs" [[test]] name = "templates" path = "tests/templates.rs" [dependencies.async_chunked_transfer] version = "1.4" [dependencies.dashmap] version = "6" optional = true [dependencies.futures-util] version = "0.3" [dependencies.kvarn] version = "0.6.2" default-features = false [dependencies.kvarn-fastcgi-client] version = "0.9" optional = true [dependencies.memchr] version = "2" [dependencies.percent-encoding] version = "2" optional = true [dependencies.rand] version = "0.8" optional = true [dependencies.rcgen] version = "0.13" optional = true [dependencies.ron] version = "0.8" optional = true [dependencies.rustls] version = "0.23.8" features = ["ring"] optional = true default-features = false [dependencies.rustls-pemfile] version = "2" optional = true [dependencies.small-acme] version = "0.2.2" optional = true [dependencies.tokio] version = "1.24" features = ["fs"] [dependencies.tokio-uring] version = "0.4.0-alpha1" features = ["bytes"] optional = true package = "kvarn-tokio-uring" [dependencies.url-crawl] version = "0.2" optional = true [dependencies.x509-parser] version = "0.16" optional = true [dev-dependencies.kvarn_testing] version = "0.6" [dev-dependencies.tokio] version = "1.24" features = [ "net", "io-util", "macros", ] [features] certificate = [ "small-acme", "x509-parser", "rustls", "rustls-pemfile", "ron", "rcgen", "kvarn/https", "rand", ] connection = [ "tokio/net", "tokio/io-util", ] default = [ "php", "templates", "push", "view-counter", ] php = [ "kvarn-fastcgi-client", "connection", "percent-encoding", ] push = [ "url-crawl", "kvarn/http2", ] reverse-proxy = [ "connection", "url-crawl", ] templates = [] uring = [ "kvarn/uring", "tokio-uring", ] view-counter = ["dashmap"]