# 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 = "hypertext" version = "0.5.2" authors = ["Vidhan Bhatt "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A blazing fast type-checked HTML macro crate." homepage = "https://github.com/vidhanio/hypertext" documentation = "https://docs.rs/hypertext" readme = "README.md" keywords = [ "html", "macro", ] categories = ["template-engine"] license = "MIT" repository = "https://github.com/vidhanio/hypertext" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "hypertext" path = "src/lib.rs" [[test]] name = "main" path = "tests/main.rs" [dependencies.actix-web] version = "4" optional = true [dependencies.axum-core] version = "0.4" optional = true [dependencies.html-escape] version = "0.2" optional = true default-features = false [dependencies.http] version = "1" optional = true [dependencies.hypertext-macros] version = "0.5.0" [dependencies.itoa] version = "1" optional = true [dependencies.ryu] version = "1" optional = true [features] actix = [ "alloc", "dep:actix-web", ] alloc = [ "dep:html-escape", "dep:itoa", "dep:ryu", ] axum = [ "alloc", "dep:axum-core", "dep:http", ] default = ["alloc"] [lints.clippy] cargo = "warn" nursery = "warn" pedantic = "warn" [lints.rust] missing_copy_implementations = "warn" missing_debug_implementations = "warn" missing_docs = "warn" unsafe_code = "forbid"