# 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 = "2018" name = "twinstar" version = "0.4.0" authors = ["panicbit "] description = "Gemini server implementation (previously called \"northstar\")" documentation = "https://docs.rs/twinstar" license = "MIT OR Apache-2.0" repository = "https://github.com/panicbit/twinstar" [[example]] name = "serve_dir" required-features = ["serve_dir"] [dependencies.anyhow] version = "1.0.33" [dependencies.futures-core] version = "0.3.7" [dependencies.lazy_static] version = "1.4.0" [dependencies.log] version = "0.4.11" [dependencies.mime] version = "0.3.16" [dependencies.mime_guess] version = "2.0.3" optional = true [dependencies.percent-encoding] version = "2.1.0" [dependencies.rustls] version = "0.18.1" features = ["dangerous_configuration"] [dependencies.tokio] version = "0.3.1" features = [ "io-util", "net", "time", "rt", ] [dependencies.tokio-rustls] version = "0.20.0" [dependencies.uriparse] version = "0.6.3" [dependencies.webpki] version = "0.21.0" [dev-dependencies.env_logger] version = "0.8.1" [dev-dependencies.futures-util] version = "0.3.7" [dev-dependencies.tokio] version = "0.3.1" features = [ "macros", "rt-multi-thread", "sync", ] [features] default = ["serve_dir"] serve_dir = [ "mime_guess", "tokio/fs", ]