# 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 = "thruster" version = "1.3.13" authors = ["Pete Mertz "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A middleware based http async web server." homepage = "https://thruster.pete.pm" documentation = "https://docs.rs/thruster" readme = "README.md" keywords = [ "thruster", "router", "fast", "http", "hyper", ] license = "MIT" repository = "https://github.com/trezm/thruster" [lib] name = "thruster" path = "src/lib.rs" [[example]] name = "actix_most_basic" path = "examples/actix_most_basic.rs" required-features = ["actix_server"] [[example]] name = "chainable_functions" path = "examples/chainable_functions.rs" required-features = [] [[example]] name = "custom_cors" path = "examples/custom_cors.rs" required-features = [] [[example]] name = "custom_middleware_with_auth" path = "examples/custom_middleware_with_auth.rs" required-features = [ "hyper_server", "thruster-jab", ] [[example]] name = "error_handling" path = "examples/error_handling.rs" required-features = [] [[example]] name = "fast_homegrown" path = "examples/fast_homegrown.rs" [[example]] name = "fast_hyper" path = "examples/fast_hyper.rs" required-features = ["hyper_server"] [[example]] name = "headers" path = "examples/headers.rs" required-features = ["hyper_server"] [[example]] name = "hello_world" path = "examples/hello_world.rs" required-features = [] [[example]] name = "hyper_most_basic" path = "examples/hyper_most_basic.rs" required-features = ["hyper_server"] [[example]] name = "hyper_most_basic_ssl" path = "examples/hyper_most_basic_ssl/main.rs" required-features = [ "hyper_server", "tls", ] [[example]] name = "json" path = "examples/json.rs" required-features = ["hyper_server"] [[example]] name = "middleware" path = "examples/middleware.rs" required-features = ["hyper_server"] [[example]] name = "most_basic_ssl" path = "examples/most_basic_ssl/main.rs" required-features = ["tls"] [[example]] name = "multiple_services" path = "examples/multiple_services.rs" required-features = [] [[example]] name = "mutable_state" path = "examples/mutable_state.rs" required-features = ["hyper_server"] [[example]] name = "nesting" path = "examples/nesting.rs" required-features = ["hyper_server"] [[example]] name = "profiling" path = "examples/profiling.rs" required-features = [] [[example]] name = "query_params" path = "examples/query_params.rs" required-features = ["hyper_server"] [[example]] name = "route_params" path = "examples/route_params.rs" required-features = ["hyper_server"] [[example]] name = "static_file" path = "examples/static_file/main.rs" required-features = [ "hyper_server", "file", ] [[example]] name = "unix_socket" path = "examples/unix_socket.rs" required-features = ["unix_hyper_server"] [[example]] name = "using_state" path = "examples/using_state.rs" required-features = ["hyper_server"] [[test]] name = "integration_async" path = "src/integration_async_tests.rs" [[bench]] name = "app" path = "benches/app.rs" harness = false [dependencies.actix-compat-bytes] version = "0.5.6" package = "bytes" [dependencies.actix-rt] version = "2.2.0" optional = true [dependencies.actix-service] version = "=2.0.0-beta.5" optional = true [dependencies.actix-web] version = "=4.0.0-beta.5" optional = true [dependencies.async-trait] version = "0.1" [dependencies.bytes] version = "1.0.1" [dependencies.dashmap] version = "4.0.2" optional = true [dependencies.fnv] version = "1.0.3" [dependencies.futures] version = "0.3" [dependencies.http] version = "0.2.4" [dependencies.httparse] version = "1.3.4" [dependencies.httplib] version = "0.1.7" package = "http" [dependencies.hyper] version = "0.14.8" features = [ "http1", "http2", "runtime", "server", "stream", ] optional = true [dependencies.hyperlocal] version = "0.8.0" optional = true [dependencies.lazy_static] version = "1.4.0" [dependencies.log] version = "0.4" [dependencies.net2] version = "0.2" [dependencies.num_cpus] version = "1.0" [dependencies.paste] version = "1.0.3" [dependencies.pki-types] version = "1" optional = true package = "rustls-pki-types" [dependencies.rustls-pemfile] version = "0.2.1" optional = true [dependencies.serde] version = "1.0.159" [dependencies.serde_derive] version = "1.0.159" [dependencies.serde_json] version = "1.0.95" [dependencies.smallvec] version = "1.6.1" [dependencies.socket2] version = "0.4.0" features = ["all"] [dependencies.templatify] version = "0.2.3" [dependencies.thruster-jab] version = "0.1.0" optional = true [dependencies.thruster-proc] version = "1.3.13" [dependencies.time] version = "0.1" [dependencies.tokio] version = "1.6.1" features = ["full"] [dependencies.tokio-rustls] version = "0.25" optional = true [dependencies.tokio-stream] version = "0.1.6" features = ["net"] [dependencies.tokio-util] version = "0.6.7" features = ["full"] [dev-dependencies.criterion] version = "0.3.5" [dev-dependencies.diesel] version = "1.3" features = [ "postgres", "r2d2", ] [dev-dependencies.dotenv] version = "0.15.0" [dev-dependencies.env_logger] version = "0.7.1" [dev-dependencies.frank_jwt] version = "3.1.2" [dev-dependencies.http] version = "0.2" [dev-dependencies.snafu] version = "0.4.1" [features] actix_server = [ "actix-web", "actix-service", "actix-rt", ] default = [] file = ["dashmap"] hyper_server = ["hyper"] tls = [ "tokio-rustls", "rustls-pemfile", "pki-types", ] unix_hyper_server = [ "hyper_server", "hyperlocal", ]