Skip to content

Commit

Permalink
pkcs12: Cargo.toml cleanups (RustCrypto#1162)
Browse files Browse the repository at this point in the history
- Remove unused `cfg-if` dependency
- Whitespace fixups
- Move features before docs.rs metadata
- Remove category `data-structures` which is more for data structure
  algorithms than data format decoders/encoders
  • Loading branch information
tarcieri authored Jul 23, 2023
1 parent ad234de commit 4e07915
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
1 change: 0 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 5 additions & 7 deletions pkcs12/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,26 +8,24 @@ Personal Information Exchange Syntax v1.1 (RFC7292)
authors = ["RustCrypto Developers"]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/RustCrypto/formats/tree/master/pkcs12"
categories = ["cryptography", "data-structures", "encoding", "no-std", "parser-implementations"]
categories = ["cryptography", "encoding", "no-std", "parser-implementations"]
keywords = ["crypto", "key", "pkcs", "private"]
readme = "README.md"
edition = "2021"
rust-version = "1.65"

[dependencies]
cfg-if = "1.0.0"
digest = { version = "0.10.7", features=["alloc"], optional = true }
digest = { version = "0.10.7", features = ["alloc"], optional = true }
zeroize = "1.6.0"

[dev-dependencies]
hex-literal = "0.4"
sha2 = "0.10.7"
whirlpool = "0.10.4"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]

[features]
kdf = ["dep:digest"]

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]

0 comments on commit 4e07915

Please sign in to comment.