# 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 = "submillisecond" version = "0.4.1" description = "A lunatic web framework for Rust." readme = "Readme.md" keywords = [ "http", "web", "framework", ] categories = [ "network-programming", "web-programming", ] license = "Apache-2.0/MIT" repository = "https://github.com/lunatic-solutions/submillisecond" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] targets = ["wasm32-wasi"] [[bench]] name = "router" harness = false [dependencies.ansi_term] version = "0.12" optional = true [dependencies.askama] version = "0.11" optional = true [dependencies.base64ct] version = "1.5" features = ["alloc"] optional = true [dependencies.cookie] version = "0.17" features = [ "percent-encode", "signed", "private", ] optional = true [dependencies.headers] version = "0.3" [dependencies.http] version = "0.2.7" [dependencies.httparse] version = "1.7.1" [dependencies.lunatic] version = "0.13" [dependencies.lunatic-log] version = "0.4" optional = true [dependencies.mime] version = "0.3.16" [dependencies.paste] version = "1.0" [dependencies.percent-encoding] version = "2.1" [dependencies.serde] version = "1.0.132" features = ["derive"] [dependencies.serde_bytes] version = "0.11" [dependencies.serde_json] version = "1.0" optional = true [dependencies.serde_urlencoded] version = "0.7" optional = true [dependencies.sha1] version = "0.10" optional = true [dependencies.submillisecond_macros] version = "0.3" [dependencies.tungstenite] version = "0.19" optional = true [dev-dependencies.base64] version = "0.21.0" [dev-dependencies.ron] version = "0.8" [dev-dependencies.uuid] version = "1.0.0" features = [ "v4", "serde", ] [features] cookies = [ "dep:cookie", "serde_json", ] default = ["logging"] json = ["serde_json"] logging = [ "ansi_term", "lunatic-log", ] query = ["serde_urlencoded"] template = ["askama"] websocket = [ "base64ct", "sha1", "tungstenite", ]