mirror of
https://github.com/actix/examples
synced 2024-11-27 16:02:57 +01:00
remove unneeded deps
This commit is contained in:
parent
22b4255fac
commit
fce8c007a2
481
Cargo.lock
generated
481
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@ -67,6 +67,9 @@ members = [
|
|||||||
]
|
]
|
||||||
resolver = "2"
|
resolver = "2"
|
||||||
|
|
||||||
|
[workspace.package]
|
||||||
|
edition = "2021"
|
||||||
|
|
||||||
[workspace.dependencies]
|
[workspace.dependencies]
|
||||||
actix = "0.13"
|
actix = "0.13"
|
||||||
actix-broker = "0.4"
|
actix-broker = "0.4"
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "tls-acme"
|
name = "tls-acme"
|
||||||
version = "1.0.0"
|
version = "1.0.0"
|
||||||
edition = "2021"
|
publish = false
|
||||||
|
edition.workspace = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
acme-rfc8555 = "0.1"
|
acme-rfc8555 = "0.1"
|
||||||
@ -11,7 +12,6 @@ color-eyre = "0.6"
|
|||||||
env_logger.workspace = true
|
env_logger.workspace = true
|
||||||
eyre = "0.6"
|
eyre = "0.6"
|
||||||
log.workspace = true
|
log.workspace = true
|
||||||
reqwest = "0.11"
|
|
||||||
rustls = "0.21"
|
rustls = "0.21"
|
||||||
rustls-pemfile = "1"
|
rustls-pemfile = "1"
|
||||||
tokio = { workspace = true, feature = ["fs"] }
|
tokio = { workspace = true, feature = ["fs"] }
|
||||||
|
@ -137,6 +137,7 @@ async fn index(_req: HttpRequest) -> impl Responder {
|
|||||||
#[actix_web::main]
|
#[actix_web::main]
|
||||||
async fn main() -> eyre::Result<()> {
|
async fn main() -> eyre::Result<()> {
|
||||||
env_logger::init_from_env(env_logger::Env::new().default_filter_or("info"));
|
env_logger::init_from_env(env_logger::Env::new().default_filter_or("info"));
|
||||||
|
color_eyre::install()?;
|
||||||
|
|
||||||
// Load keys
|
// Load keys
|
||||||
// ==============================================
|
// ==============================================
|
||||||
|
Loading…
Reference in New Issue
Block a user