1
0
mirror of https://github.com/actix/examples synced 2025-06-28 18:00:37 +02:00

use rustls v0.21

This commit is contained in:
Rob Ede
2023-08-29 18:28:12 +01:00
parent 9ac242138a
commit cfea68d5c7
12 changed files with 66 additions and 50 deletions

View File

@ -7,7 +7,7 @@ edition = "2021"
actix-web = { workspace = true, features = ["openssl"] }
actix-files.workspace = true
acme-micro = "0.12"
acme-lib = "0.8"
anyhow = "1"
env_logger.workspace = true
log.workspace = true

View File

@ -1,6 +1,6 @@
use std::{fs, time::Duration};
use acme_micro::{create_p384_key, Certificate, Directory, DirectoryUrl};
use acme_lib::{create_p384_key, Certificate, Directory, DirectoryUrl};
use actix_files::Files;
use actix_web::{rt, web, App, HttpRequest, HttpServer, Responder};
use anyhow::anyhow;