Skip to content

Commit

Permalink
Pin serde to <1.0.172
Browse files Browse the repository at this point in the history
  • Loading branch information
newpavlov committed Aug 19, 2023
1 parent c04c654 commit 5713330
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## UNRELEASED
### Changed
- Pin upper version of `serde` to <1.0.172 to work around [serde-rs/serde#2538] ([#359])

[#359]: https://github.com/RustCrypto/RSA/pull/359
[serde-rs/serde#2538]: https://github.com/serde-rs/serde/issues/2538

## 0.9.2 (2023-05-08)
### Fixed
- pkcs1v15: have `fmt` impls call `SignatureEncoding::to_bytes` ([#330])
Expand Down
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@ spki = { version = "0.7.2", default-features = false, features = ["alloc"] }
zeroize = { version = "1.5", features = ["alloc"] }

# optional dependencies
serde = { version = "1.0.103", optional = true, default-features = false, features = ["derive"] }
sha1 = { version = "0.10.5", optional = true, default-features = false, features = ["oid"] }
sha2 = { version = "0.10.6", optional = true, default-features = false, features = ["oid"] }
# Pin upper version of serde to work around https://github.com/serde-rs/serde/issues/2538
serde = { version = "1.0.103, <1.0.171", optional = true, default-features = false, features = ["derive"] }

[dev-dependencies]
base64ct = { version = "1", features = ["alloc"] }
Expand Down

0 comments on commit 5713330

Please sign in to comment.