Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ jobs:
- name: Install toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: "1.71"
toolchain: "1.83"
- run: cargo check --locked --lib --all-features

cross:
Expand Down
4 changes: 2 additions & 2 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
categories = ["cryptography", "no-std"]
description = "Web PKI X.509 Certificate Verification."
edition = "2021"
rust-version = "1.71"
rust-version = "1.83"
license = "ISC"
name = "rustls-webpki"
readme = "README.md"
repository = "https://github.com/rustls/webpki"
version = "0.103.7"
version = "0.104.0"

include = [
"Cargo.toml",
Expand Down
2 changes: 1 addition & 1 deletion src/alg_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@ fn parse_test_signed_data(file_contents: &[u8]) -> TestSignedData {
}
}

use alloc::str::Lines;
use core::str::Lines;

fn read_pem_section(lines: &mut Lines<'_>, section_name: &str) -> Vec<u8> {
// Skip comments and header
Expand Down
2 changes: 1 addition & 1 deletion src/crl/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -921,7 +921,7 @@ impl TryFrom<u8> for RevocationReason {
#[cfg(feature = "alloc")]
#[cfg(test)]
mod tests {
use std::time::Duration;
use core::time::Duration;

use pki_types::CertificateDer;
use std::prelude::v1::*;
Expand Down
3 changes: 1 addition & 2 deletions src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -381,8 +381,7 @@ impl fmt::Display for Error {
}
}

#[cfg(feature = "std")]
impl ::std::error::Error for Error {}
impl core::error::Error for Error {}

/// Additional context for the `CertNotValidForName` error variant.
///
Expand Down
4 changes: 3 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@
elided_lifetimes_in_paths,
unnameable_types,
unreachable_pub,
clippy::use_self
clippy::alloc_instead_of_core,
clippy::use_self,
clippy::std_instead_of_core
)]
#![deny(missing_docs, clippy::as_conversions)]
#![allow(
Expand Down
2 changes: 1 addition & 1 deletion src/subject_name/ip_address.rs
Original file line number Diff line number Diff line change
Expand Up @@ -674,8 +674,8 @@ mod alloc_tests {

#[test]
fn presented_matches_constraint_test() {
use core::net::IpAddr;
use std::boxed::Box;
use std::net::IpAddr;

for (presented, constraint_address, constraint_mask, expected_result) in
PRESENTED_MATCHES_CONSTRAINT
Expand Down