# 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 = "gemfra" version = "0.1.0" authors = ["Benjamin Jacobs "] description = "A framework for writing gemini CGI scripts" readme = "readme.md" keywords = [ "gemini", "cgi", "scgi", ] categories = ["web-programming"] license = "MIT" repository = "https://github.com/ttocsneb/gemfra" resolver = "2" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [[example]] name = "scgi-routed" path = "examples/scgi-routed.rs" required-features = [ "routed", "scgi", ] [[example]] name = "cgi-simple" path = "examples/cgi-simple.rs" required-features = ["cgi"] [dependencies.async-trait] version = "0.1" [dependencies.bytes] version = "1.3" [dependencies.chrono] version = "0.4" [dependencies.gemfra-codegen] version = "0.1.0" optional = true [dependencies.route-recognizer] version = "0.3" optional = true [dependencies.tokio] version = "1" features = ["io-util"] [dev-dependencies.tokio] version = "1" features = ["full"] [dev-dependencies.tokio-test] version = "0.4" [features] cgi = [] default = ["cgi"] full = [ "cgi", "scgi", "routed", ] routed = [ "route-recognizer", "gemfra-codegen", ] scgi = [ "tokio/net", "tokio/rt", ]