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 25, 2024
1 parent d58f3d4 commit e92f424
Show file tree
Hide file tree
Showing 5 changed files with 99 additions and 256 deletions.
7 changes: 0 additions & 7 deletions Cargo.lock

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

3 changes: 1 addition & 2 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.9", git = "https://github.com/rustls/pki-types.git", branch = "jbp-pem" }

[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 e92f424

Please sign in to comment.