Skip to content

Commit

Permalink
Allow serving HTTP and HTTPS at the same time
Browse files Browse the repository at this point in the history
  • Loading branch information
casey committed Aug 31, 2022
1 parent 99dc2cd commit 5310ea3
Show file tree
Hide file tree
Showing 6 changed files with 357 additions and 64 deletions.
7 changes: 5 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ rayon = "1.5.1"
redb = { version = "0.5.0", git = "https://github.com/cberner/redb", branch = "master" }
rust-embed = "6.4.0"
rustls = "0.20.6"
rustls-acme = { version = "0.4.0-beta2", features = ["axum"] }
rustls-acme = { version = "0.5.0", features = ["axum"] }
serde = { version = "1.0.137", features = ["derive"] }
serde_cbor = "0.11.2"
serde_json = "1.0.81"
Expand All @@ -51,6 +51,7 @@ hex = "0.4.3"
log = "0.4.14"
nix = "0.24.1"
pretty_assertions = "1.2.1"
rcgen = { version = "0.9.3", features = ["x509-parser"] }
regex = "1.6.0"
reqwest = { version = "0.11.10", features = ["blocking"] }
tempfile = "3.2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ use {
thread,
time::{Duration, Instant},
},
tokio::runtime::Runtime,
tokio::{runtime::Runtime, task},
tower_http::cors::{Any, CorsLayer},
};

Expand Down
Loading

0 comments on commit 5310ea3

Please sign in to comment.