From 5af77377fb9cae3a8b7a56178474ef0b30fdb553 Mon Sep 17 00:00:00 2001 From: Tony Arcieri Date: Wed, 20 Aug 2025 16:15:36 -0600 Subject: [PATCH] base16ct: remove `std` feature It's no longer used now that we support `core::error::Error` --- .github/workflows/base16ct.yml | 4 ++-- base16ct/Cargo.toml | 1 - base16ct/src/lib.rs | 2 -- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/base16ct.yml b/.github/workflows/base16ct.yml index 9d48b6c15..3b18c0107 100644 --- a/.github/workflows/base16ct.yml +++ b/.github/workflows/base16ct.yml @@ -40,12 +40,12 @@ jobs: toolchain: ${{ matrix.rust }} targets: ${{ matrix.target }} - uses: RustCrypto/actions/cargo-hack-install@master - - run: cargo hack build --target ${{ matrix.target }} --feature-powerset --exclude-features std + - run: cargo hack build --target ${{ matrix.target }} --feature-powerset minimal-versions: uses: RustCrypto/actions/.github/workflows/minimal-versions.yml@master with: - working-directory: ${{ github.workflow }} + working-directory: ${{ github.workflow }} test: runs-on: ubuntu-latest diff --git a/base16ct/Cargo.toml b/base16ct/Cargo.toml index 4dbe56e94..eb3ddddc2 100644 --- a/base16ct/Cargo.toml +++ b/base16ct/Cargo.toml @@ -19,7 +19,6 @@ rust-version = "1.85" [features] alloc = [] -std = ["alloc"] [package.metadata.docs.rs] all-features = true diff --git a/base16ct/src/lib.rs b/base16ct/src/lib.rs index 435c50134..296a70ba0 100644 --- a/base16ct/src/lib.rs +++ b/base16ct/src/lib.rs @@ -62,8 +62,6 @@ #[cfg(feature = "alloc")] #[macro_use] extern crate alloc; -#[cfg(feature = "std")] -extern crate std; /// Function for decoding and encoding lower Base16 (hex) pub mod lower;