Skip to content

Commit

Permalink
doc: add note regarding ruint::uint macro (#265)
Browse files Browse the repository at this point in the history
* doc: add note regarding ruint::uint macro

* update doc

---------

Co-authored-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com>
  • Loading branch information
prestwich and DaniPopes authored Sep 12, 2023
1 parent ea86ac5 commit b0cf804
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion crates/primitives/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,12 @@ pub use utils::keccak256;
pub use ::hex;
#[doc(no_inline)]
pub use hex_literal::{self, hex};
/// Re-export of [`ruint::uint`] for convenience. Note that users of this macro
/// must also add [`ruint`] to their `Cargo.toml` as a dependency.
#[doc(inline)]
pub use ruint::uint;
#[doc(no_inline)]
pub use ruint::{self, uint, Uint};
pub use ruint::{self, Uint};
#[doc(no_inline)]
pub use tiny_keccak::{self, Hasher, Keccak};

Expand Down

0 comments on commit b0cf804

Please sign in to comment.