Skip to content

Commit

Permalink
Downgrade der to v0.7 (#743)
Browse files Browse the repository at this point in the history
This unblocks a release by downgrading to the latest stable version so
we don't need to wait on a final release of v0.8.
  • Loading branch information
tarcieri authored Jan 20, 2025
1 parent b0e2657 commit 86f7031
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 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.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ rust-version = "1.83"
subtle = { version = "2.6", default-features = false }

# optional dependencies
der = { version = "0.8.0-rc.1", optional = true, default-features = false }
der = { version = "0.7", optional = true, default-features = false }
hybrid-array = { version = "0.2", optional = true }
num-traits = { version = "0.2.19", default-features = false }
rand_core = { version = "0.6.4", optional = true }
Expand Down
2 changes: 0 additions & 2 deletions src/uint/encoding/der.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ 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 86f7031

Please sign in to comment.