Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md example to match what's in lib.rs #298

Merged
merged 2 commits into from
Nov 18, 2024
Merged

Conversation

ghenry
Copy link
Contributor

@ghenry ghenry commented Nov 18, 2024

Thanks!

README.md Outdated
@@ -7,14 +7,15 @@
Simple Rust library to generate X.509 certificates.

```Rust
use rcgen::generate_simple_self_signed;
extern crate rcgen;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's skip the extern crate rcgen; line, which hasn't been needed in a long time (feel free to remove it from lib.rs, too).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@djc djc added this pull request to the merge queue Nov 18, 2024
Merged via the queue into rustls:main with commit 12d6533 Nov 18, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants