Skip to content

Commit

Permalink
Use pki-types 1.9 for PEM decoding
Browse files Browse the repository at this point in the history
  • Loading branch information
ctz committed Sep 30, 2024
1 parent b2104d8 commit 7bbc08e
Show file tree
Hide file tree
Showing 5 changed files with 101 additions and 259 deletions.
11 changes: 2 additions & 9 deletions Cargo.lock

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

5 changes: 2 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,14 @@ repository = "https://github.com/rustls/pemfile"
categories = ["network-programming", "cryptography"]

[dependencies]
base64 = { version = "0.22", default-features = false, features = ["alloc"] }
pki-types = { package = "rustls-pki-types", version = "1.7" }
pki-types = { package = "rustls-pki-types", version = "1.9" }

[dev-dependencies]
bencher = "0.1.5"

[features]
default = ["std"]
std = ["base64/std"]
std = ["pki-types/std"]

[[bench]]
name = "benchmark"
Expand Down
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ extern crate std;
#[cfg(feature = "std")]
mod tests;

/// --- Main crate APIs:
mod pemfile;
#[cfg(feature = "std")]
pub use pemfile::{read_all, read_one};
Expand Down
Loading

0 comments on commit 7bbc08e

Please sign in to comment.