Skip to content

Commit 18325fd

Browse files
authored
signature: remove std feature (#1829)
We've since migrated to `core::error::Error` (#1711)
1 parent e43a96f commit 18325fd

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

crypto/Cargo.toml

+1-4
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,7 @@ signature = { version = "3.0.0-pre", path = "../signature", optional = true, def
2525
universal-hash = { version = "0.6.0-rc.0", path = "../universal-hash", optional = true }
2626

2727
[features]
28-
std = [
29-
"elliptic-curve/std",
30-
"signature/std",
31-
]
28+
std = ["elliptic-curve/std"]
3229
os_rng = ["crypto-common/os_rng"]
3330
rand_core = ["crypto-common/rand_core"]
3431

signature/CHANGELOG.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,20 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7-
## 2.3.0 (UNRELEASED)
7+
## 3.0.0 (UNRELEASED)
88
### Added
99
- `RandomizedSignerMut` trait ([#1448])
1010

1111
### Changed
12+
- Replace `signature_derive` with blanket impls ([#1827])
1213
- Edition changed to 2024 and MSRV bumped to 1.85 ([#1759])
1314

15+
### Removed
16+
- `std` feature - replaced with `core::error::Error`
17+
1418
[#1448]: https://github.com/RustCrypto/traits/pull/1448
1519
[#1759]: https://github.com/RustCrypto/traits/pull/1759
20+
[#1827]: https://github.com/RustCrypto/traits/pull/1827
1621

1722
## 2.2.0 (2023-11-12)
1823
### Changed

signature/Cargo.toml

-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ sha2 = { version = "=0.11.0-pre.5", default-features = false }
2222

2323
[features]
2424
alloc = []
25-
# TODO: remove this feature in the next breaking release
26-
std = ["alloc", "rand_core?/std"]
2725
rand_core = ["dep:rand_core"]
2826

2927
[package.metadata.docs.rs]

0 commit comments

Comments
 (0)