# 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.60" name = "fun-html" version = "1.3.0" authors = ["Jonathan Cornaz"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "HTML as a rust function" readme = "README.md" keywords = [ "html", "html-rendering", "web", "functional", ] categories = ["template-engine"] license = "MIT" repository = "https://github.com/jcornaz/fun-html" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "fun_html" path = "src/lib.rs" [[test]] name = "model_spec" path = "tests/model_spec.rs" [[test]] name = "render_spec" path = "tests/render_spec.rs" [[test]] name = "rocket_v05_spec" path = "tests/rocket_v05_spec.rs" [dependencies.html-escape] version = "0.2" default-features = false [dependencies.rocket_v05] version = "0.5" optional = true default-features = false package = "rocket" [dev-dependencies.rstest] version = "0.23" default-features = false [features] default = ["std"] rocket_v05 = [ "std", "dep:rocket_v05", ] std = ["html-escape/std"]