diff --git a/Cargo.toml b/Cargo.toml index 4eccca7..ca248fe 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,10 @@ license = "MIT" repository = "https://github.com/luizfonseca/acme-v2" readme = "README.md" version = "0.9.1" -authors = ["Luiz Fonseca ", "Martin Algesten "] +authors = [ + "Luiz Fonseca ", + "Martin Algesten ", +] keywords = ["letsencrypt", "acme"] categories = ["web-programming", "api-bindings"] edition = "2018" diff --git a/README.md b/README.md index 053f4ea..d253509 100644 --- a/README.md +++ b/README.md @@ -12,9 +12,9 @@ This library is a fork of [acme-lib](https://github.com/algesten/acme-lib) while ## Example ```rust -use acme_lib::{Error, Directory, DirectoryUrl}; -use acme_lib::persist::FilePersist; -use acme_lib::create_p384_key; +use acme_v2::{Error, Directory, DirectoryUrl}; +use acme_v2::persist::FilePersist; +use acme_v2::create_p384_key; fn request_cert() -> Result<(), Error> { diff --git a/src/lib.rs b/src/lib.rs index b325ec9..c356371 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -7,9 +7,9 @@ //! # Example //! //! ```no_run -//! use acme_lib::{Error, Directory, DirectoryUrl}; -//! use acme_lib::persist::FilePersist; -//! use acme_lib::create_p384_key; +//! use acme_v2::{Error, Directory, DirectoryUrl}; +//! use acme_v2::persist::FilePersist; +//! use acme_v2::create_p384_key; //! //! fn request_cert() -> Result<(), Error> { //! diff --git a/src/order/auth.rs b/src/order/auth.rs index 802312a..6670ec7 100644 --- a/src/order/auth.rs +++ b/src/order/auth.rs @@ -66,9 +66,9 @@ impl Auth

{ /// The challenge will be accessed over HTTP (not HTTPS), for obvious reasons. /// /// ```no_run - /// use acme_lib::persist::Persist; - /// use acme_lib::order::Auth; - /// use acme_lib::Error; + /// use acme_v2::persist::Persist; + /// use acme_v2::order::Auth; + /// use acme_v2::Error; /// use std::fs::File; /// use std::io::Write; /// @@ -103,9 +103,9 @@ impl Auth

{ /// The contains the signed token proving this account update it. /// /// ```no_run - /// use acme_lib::persist::Persist; - /// use acme_lib::order::Auth; - /// use acme_lib::Error; + /// use acme_v2::persist::Persist; + /// use acme_v2::order::Auth; + /// use acme_v2::Error; /// /// fn dns_authorize(auth: &Auth

) -> Result<(), Error> { /// let challenge = auth.dns_challenge();