rustls / rcgen

Generate X.509 certificates, CSRs
Other
346 stars 109 forks source link

Split KeyPairAlgorithm, make non-CLI part public #267

Closed divergentdave closed 7 months ago

divergentdave commented 7 months ago

This addresses #266 by splitting KeyPairAlgorithm into two enums, a public one that is now re-exported from the library crate, and one that we use the Bpaf derive macro on. Conversions are defined between the two. The binary crate now gets KeyPairAlgorithm and CertificateBuilder from the library crate, rather than by including cert.rs.

Closes #266.

djc commented 7 months ago

(See comments in #266.)