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

let's encrypt - wip

This commit is contained in:
jwdeitch 2019-08-06 23:12:48 -04:00
parent 3821d511d0
commit e1ee3a1c32
5 changed files with 36 additions and 0 deletions

View File

@ -17,6 +17,7 @@ edition = "2018"
members = [
"actix-codec",
"actix-connect",
"actix-lets-encrypt",
"actix-rt",
"actix-service",
"actix-server",

View File

@ -0,0 +1,21 @@
[package]
name = "actix-lets-encrypt"
version = "0.1.0"
authors = ["Jordan Deitch <jd@rsa.pub>"]
description = "Actix Let's Encrypt"
keywords = ["network", "framework", "async", "futures"]
homepage = "https://actix.rs"
repository = "https://github.com/actix/actix-net.git"
documentation = "https://docs.rs/actix-lets-encrypt/"
categories = ["network-programming", "asynchronous"]
license = "MIT/Apache-2.0"
exclude = [".gitignore", ".travis.yml", ".cargo/config", "appveyor.yml"]
edition = "2018"
workspace = ".."
[lib]
name = "actix_lets_encrypt"
path = "src/lib.rs"
[dependencies]
acme-client = {version = "0.5", default-features = false}

View File

View File

@ -0,0 +1,12 @@
struct CertificateRequest<'a> {
domains: &'a [&'a str]
}
impl<'a> CertificateRequest<'a> {
fn new(domains: &'a [&'a str]) -> Self {
return CertificateRequest { domains };
}
}

View File

@ -0,0 +1,2 @@
mod certificate_signer;
mod authorization;