1
0
mirror of https://github.com/actix/examples synced 2024-11-23 22:41:07 +01:00

remove unneeded deps

This commit is contained in:
Rob Ede 2023-09-11 00:50:09 +01:00
parent 22b4255fac
commit fce8c007a2
No known key found for this signature in database
GPG Key ID: 97C636207D3EF933
4 changed files with 235 additions and 254 deletions

481
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -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"

View File

@ -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"] }

View File

@ -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
// ============================================== // ==============================================