# 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 = "frontend-environment" version = "0.1.0" authors = ["Maximilian Goisser "] description = "Inject \"environment variables\" for frontend applications by injecting a script tag into HTML" keywords = [ "environment", "frontend", "rewrite", "axum", ] license = "MIT OR Apache-2.0" repository = "https://github.com/hobofan-toolbox/frontend-environment" [dependencies.axum] version = "0.6.18" features = ["headers"] optional = true [dependencies.http-body] version = "0.4.5" optional = true [dependencies.lol_html] version = "1.0.1" [dependencies.tower-http] version = "0.4.0" features = ["fs"] optional = true [features] axum = [ "dep:axum", "dep:http-body", "dep:tower-http", ] default = ["axum"]