# 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 = "motorx-core" version = "0.0.10" publish = true description = "Build your own motorx binary." homepage = "https://github.com/tsar-boomba/motorx" readme = "README.md" keywords = [ "http", "server", "reverse-proxy", ] license = "MIT OR Apache-2.0" repository = "https://github.com/tsar-boomba/motorx" [dependencies.bytes] version = "1.3" [dependencies.futures-util] version = "0.3" optional = true [dependencies.http] version = "0.2.8" [dependencies.http-body] version = "1.0.0-rc.1" [dependencies.http-body-util] version = "0.1.0-rc.1" [dependencies.http-serde] version = "1.1.2" optional = true [dependencies.hyper] version = "1.0.0-rc.1" features = ["full"] optional = true [dependencies.hyper_wasi] version = "0.15.0" features = ["full"] optional = true [dependencies.once_cell] version = "1.17.0" features = ["parking_lot"] [dependencies.regex] version = "1.7" [dependencies.rustls] version = "0.20" optional = true default-features = false [dependencies.rustls-native-certs] version = "0.6" optional = true [dependencies.rustls-pemfile] version = "1.0" optional = true [dependencies.serde] version = "1" features = ["derive"] optional = true [dependencies.serde_json] version = "1" optional = true [dependencies.thiserror] version = "1" [dependencies.tokio] version = "1.21.2" features = [ "net", "rt", "macros", "parking_lot", ] optional = true [dependencies.tokio-rustls] version = "0.23" optional = true default-features = false [dependencies.tokio_wasi] version = "1.21.3" features = [ "net", "rt", "macros", "parking_lot", ] optional = true [dependencies.tracing] version = "0.1" optional = true [dependencies.wasmedge_wasi_socket] version = "0.4" optional = true [dependencies.webpki-roots] version = "0.22" optional = true [dev-dependencies.axum] version = "0.6" [dev-dependencies.reqwest] version = "0.11" [dev-dependencies.tokio] version = "1.21.2" features = ["full"] [dev-dependencies.tracing-subscriber] version = "0.3.16" features = ["env-filter"] [features] default = [ "tokio", "hyper", ] full = [ "logging", "serde-config", "tls", ] logging = ["tracing"] serde-config = [ "serde", "serde_json", "http-serde", ] tls = [ "rustls", "rustls-native-certs", "rustls-pemfile", "tokio-rustls", "webpki-roots", "futures-util", ] wasm = [ "hyper_wasi", "tokio_wasi", "wasmedge_wasi_socket", ]