Skip to content

Commit

Permalink
Cargo: add missing x500 feature
Browse files Browse the repository at this point in the history
This was being ref'd in `oid_db.rs`, producing a clippy error of the
form:

```
error: unexpected `cfg` condition value: `x500`
   --> /home/runner/work/oid-registry/oid-registry/target/debug/build/oid-registry-fa6fec30f9e743c7/out/oid_db.rs:411:11
    |
411 |     #[cfg(feature = "x500")]
    |           ^^^^^^^^^^------
    |                     |
    |                     help: there is a expected value with a similar name: `"x509"`
    |
    = note: expected values for `feature` are: `crypto`, `default`, `kdf`, `ms_spc`, `nist_algs`, `pkcs1`, `pkcs12`, `pkcs7`, `pkcs9`, `registry`, `x509`, and `x962`
```
  • Loading branch information
cpu authored and chifflier committed Aug 2, 2024
1 parent 34f5437 commit 1bb14b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ pkcs1 = []
pkcs7 = []
pkcs9 = []
pkcs12 = []
x500 = []
x509 = []
x962 = []

Expand Down

0 comments on commit 1bb14b4

Please sign in to comment.