# 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 = "servlin" version = "0.6.0" authors = ["Michael Leonhard "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Modular HTTP server library, threaded handlers and async performance" readme = "README.md" keywords = [ "web", "http", "server", "async", "threaded", ] categories = [ "network-programming", "web-programming::http-server", "web-programming::websocket", ] license = "MIT OR Apache-2.0" repository = "https://github.com/mleonhard/servlin" [lib] name = "servlin" path = "src/lib.rs" [[example]] name = "async-handler" path = "examples/async-handler.rs" [[example]] name = "events-sse" path = "examples/events-sse.rs" [[example]] name = "html_form" path = "examples/html_form.rs" required-features = ["urlencoded"] [[example]] name = "http-put" path = "examples/http-put.rs" [[example]] name = "json_api" path = "examples/json_api.rs" required-features = ["json"] [[example]] name = "minimal" path = "examples/minimal.rs" [[test]] name = "cookie" path = "tests/cookie.rs" [[test]] name = "event" path = "tests/event.rs" [[test]] name = "handler" path = "tests/handler.rs" [[test]] name = "head" path = "tests/head.rs" [[test]] name = "http_conn" path = "tests/http_conn.rs" [[test]] name = "json" path = "tests/json.rs" [[test]] name = "request" path = "tests/request.rs" [[test]] name = "request_cookies" path = "tests/request_cookies.rs" [[test]] name = "server" path = "tests/server.rs" [[test]] name = "test_util" path = "tests/test_util.rs" [[test]] name = "time" path = "tests/time.rs" [[test]] name = "urlencoded" path = "tests/urlencoded.rs" [[test]] name = "with_set_cookie" path = "tests/with_set_cookie.rs" [dependencies.async-fs] version = "2" [dependencies.async-net] version = "2" [dependencies.fixed-buffer] version = "1" features = ["futures-io"] [dependencies.futures-io] version = "0.3" [dependencies.futures-lite] version = "2" [dependencies.include_dir] version = "0.7" optional = true [dependencies.permit] version = "^0.2" [dependencies.rand] version = "0.8" features = ["small_rng"] [dependencies.safe-regex] version = "0.3" [dependencies.safina] version = "0.6" features = [ "executor", "sync", "timer", ] [dependencies.serde] version = "1" features = ["derive"] optional = true [dependencies.serde_json] version = "1" optional = true [dependencies.serde_urlencoded] version = "0.7" optional = true [dependencies.temp-dir] version = "0.1" [dependencies.temp-file] version = "0.1" [dependencies.url] version = "2" [dev-dependencies.safina] version = "0.6" features = ["async_test"] [features] default = [] json = [ "serde", "serde_json", ] urlencoded = [ "serde", "serde_urlencoded", ]