Skip to content

Commit

Permalink
p521: remove pub from arithmetic module
Browse files Browse the repository at this point in the history
The relevant types from the `arithmetic` module are available via
re-exports, so direct access to the module is unnecessary. It was
accidentally exposed in the v0.13.1 release (#958).

Exposing the module directly is inconsistent with p192/p224/p256/p384,
so this removes it. This is technically a breaking change, but it was
added in v0.13.1 which was released a few minutes ago, and will be
yanked after this is released.
  • Loading branch information
tarcieri committed Nov 10, 2023
1 parent 4085b35 commit 6b291ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p521/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
)]

#[cfg(feature = "arithmetic")]
pub mod arithmetic;
mod arithmetic;

#[cfg(feature = "ecdh")]
pub mod ecdh;
Expand Down

0 comments on commit 6b291ad

Please sign in to comment.