oxidecomputer / pki-playground

Tool for generating non-trivial X.509 certificate chains
Mozilla Public License 2.0
29 stars 2 forks source link

Allow the Sha_256 name #6

Closed garthy closed 1 year ago

garthy commented 1 year ago

The name of a variable causes a warning. Lets disable that

warning: variant `Sha_256` should have an upper camel case name
  --> src/config.rs:97:5
   |
97 |     Sha_256,
   |     ^^^^^^^ help: convert the identifier to upper camel case: `Sha256`
   |
   = note: `#[warn(non_camel_case_types)]` on by default

warning: `pki-playground` (lib) generated 1 warning