diff --git a/README.md b/README.md index bf6fae2a..8ac9f54b 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,6 @@ Simple Rust library to generate X.509 certificates. ```Rust -extern crate rcgen; use rcgen::{generate_simple_self_signed, CertifiedKey}; // Generate a certificate that's valid for "localhost" and "hello.world.example" let subject_alt_names = vec!["hello.world.example".to_string(), diff --git a/rcgen/src/lib.rs b/rcgen/src/lib.rs index 4f8fb639..e99540a7 100644 --- a/rcgen/src/lib.rs +++ b/rcgen/src/lib.rs @@ -14,7 +14,6 @@ a key pair to call [`CertificateParams::signed_by()`] or [`CertificateParams::se ## Example ``` -extern crate rcgen; use rcgen::{generate_simple_self_signed, CertifiedKey}; # fn main () { // Generate a certificate that's valid for "localhost" and "hello.world.example"