# 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 = "ngrok" version = "0.14.0-pre.14" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "The ngrok agent SDK" readme = "README.md" license = "MIT OR Apache-2.0" repository = "https://github.com/ngrok/ngrok-rust" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "ngrok" path = "src/lib.rs" [[example]] name = "axum" path = "examples/axum.rs" required-features = ["axum"] [[example]] name = "connect" path = "examples/connect.rs" [[example]] name = "labeled" path = "examples/labeled.rs" required-features = ["axum"] [[example]] name = "mingrok" path = "examples/mingrok.rs" required-features = ["hyper"] [[example]] name = "tls" path = "examples/tls.rs" required-features = ["axum"] [dependencies.arc-swap] version = "1.5.1" [dependencies.async-trait] version = "0.1.59" [dependencies.awaitdrop] version = "0.1.1" [dependencies.axum] version = "0.6.1" features = ["tokio"] optional = true [dependencies.base64] version = "0.21.7" [dependencies.bitflags] version = "2.4.2" [dependencies.bytes] version = "1.3.0" [dependencies.futures] version = "0.3.25" [dependencies.futures-rustls] version = "0.25.1" [dependencies.hostname] version = "0.3.1" [dependencies.hyper] version = "0.14.23" [dependencies.hyper-proxy] version = "0.9.1" features = ["rustls"] default-features = false [dependencies.muxado] version = "0.4" [dependencies.once_cell] version = "1.17.1" [dependencies.parking_lot] version = "0.12.1" [dependencies.pin-project] version = "1.1.3" [dependencies.proxy-protocol] version = "0.5.0" [dependencies.regex] version = "1.7.3" [dependencies.rustls-native-certs] version = "0.7.0" [dependencies.rustls-pemfile] version = "2.0.0" [dependencies.serde] version = "1.0.149" features = ["derive"] [dependencies.serde_json] version = "1.0.89" [dependencies.thiserror] version = "1.0.37" [dependencies.tokio] version = "1.23.0" features = [ "io-util", "net", "sync", "time", "rt", ] [dependencies.tokio-retry] version = "0.3.0" [dependencies.tokio-socks] version = "0.5.1" [dependencies.tokio-util] version = "0.7.4" features = ["compat"] [dependencies.tracing] version = "0.1.37" [dependencies.url] version = "2.4.0" [dev-dependencies.anyhow] version = "1.0.66" [dev-dependencies.flate2] version = "1.0.25" [dev-dependencies.paste] version = "1.0.11" [dev-dependencies.rand] version = "0.8.5" [dev-dependencies.reqwest] version = "0.11.13" [dev-dependencies.tokio] version = "1.23.0" features = ["full"] [dev-dependencies.tokio-tungstenite] version = "0.18.0" features = [ "rustls", "rustls-tls-webpki-roots", ] [dev-dependencies.tracing-subscriber] version = "0.3.16" features = ["env-filter"] [dev-dependencies.tracing-test] version = "0.2.3" [features] authenticated-tests = ["online-tests"] axum = [ "dep:axum", "hyper", ] default = [] hyper = [ "hyper/server", "hyper/http1", ] long-tests = ["online-tests"] online-tests = [ "axum", "hyper", ] paid-tests = ["authenticated-tests"] [target."cfg(windows)".dependencies.windows-sys] version = "0.45.0" features = ["Win32_Foundation"]