Skip to content

Commit

Permalink
Bump der dependency to v0.8.0-rc.1 (#671)
Browse files Browse the repository at this point in the history
Uses the latest prerelease
  • Loading branch information
tarcieri committed Sep 10, 2024
1 parent 9cc3e4a commit a0b45d8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
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 @@ -20,12 +20,12 @@ rust-version = "1.73"
subtle = { version = "2.6", default-features = false }

# optional dependencies
der = { version = "0.7", optional = true, default-features = false }
der = { version = "0.8.0-rc.1", optional = true, default-features = false }
hybrid-array = { version = "0.2.0-rc.8", optional = true }
num-traits = { version = "0.2.19", default-features = false }
rand_core = { version = "0.6.4", optional = true }
rlp = { version = "0.5", optional = true, default-features = false }
serdect = { version = "=0.3.0-rc.0", optional = true, default-features = false }
serdect = { version = "0.3.0-rc.0", optional = true, default-features = false }
zeroize = { version = "1", optional = true, default-features = false }

[dev-dependencies]
Expand Down
2 changes: 2 additions & 0 deletions src/uint/encoding/der.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ impl<'a, const LIMBS: usize> DecodeValue<'a> for Uint<LIMBS>
where
Uint<LIMBS>: ArrayEncoding,
{
type Error = der::Error;

fn decode_value<R: der::Reader<'a>>(reader: &mut R, header: der::Header) -> der::Result<Self> {
UintRef::decode_value(reader, header)?.try_into()
}
Expand Down

0 comments on commit a0b45d8

Please sign in to comment.