# 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 = "astra" version = "0.4.0" authors = ["Ibraheem Ahmed "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A blocking HTTP server built on hyper." readme = "README.md" keywords = [ "http", "hyper", "web", ] categories = [ "network-programming", "web-programming::http-server", ] license = "MIT" repository = "https://github.com/ibraheemdev/astra" [lib] name = "astra" path = "src/lib.rs" [[example]] name = "connection_info" path = "examples/connection_info.rs" [[example]] name = "hello_world" path = "examples/hello_world.rs" [[example]] name = "routing" path = "examples/routing.rs" [[example]] name = "state" path = "examples/state.rs" [dependencies.bytes] version = "1" [dependencies.http-body-util] version = "0.1" [dependencies.hyper] version = "1" features = [ "http1", "server", ] [dependencies.hyper-util] version = "0.1" features = [ "http1", "server", ] [dependencies.log] version = "0.4" [dependencies.mio] version = "1" features = [ "os-poll", "net", ] [dev-dependencies.matchit] version = "0.7.0" [features] default = [] http2 = [ "hyper/http2", "hyper-util/http2", ]