Use ngrok's built in tunnel

This commit is contained in:
2023-04-11 05:44:19 +02:00
parent 279b70e063
commit 69ab2b8a0c
4 changed files with 234 additions and 38 deletions

View File

@@ -7,6 +7,10 @@ license = "AGPL-3.0-or-later"
[profile.dev.package.sqlx-macros]
opt-level = 3
[features]
default = ["ngrok"]
ngrok = ["dep:ngrok"]
[dependencies]
anyhow = "1.0.70"
axum = "0.6.9"
@@ -44,3 +48,4 @@ url = "2.3.1"
ureq = { version = "2.6.2", features = ["json"] }
uuid = "1.3.0"
rand = "0.8.5"
ngrok = { version = "0.11.3", features = ["axum"], optional = true }