Skip to content

Commit

Permalink
docs: Clarify deps of root binary crate
Browse files Browse the repository at this point in the history
Signed-off-by: Joe Richey <joerichey@google.com>
  • Loading branch information
josephlr committed Sep 10, 2020
1 parent b8c0c8d commit e0c155e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/custom.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,11 @@ use core::num::NonZeroU32;
/// where helper crates define handlers/allocators but only the binary crate
/// actually _uses_ the functionality.
///
/// To register the function, we first depend on `getrandom` in `Cargo.toml`:
/// To register the function, we first depend on `failure-getrandom` _and_
/// `getrandom` in `Cargo.toml`:
/// ```toml
/// [dependencies]
/// failure-getrandom = "0.1"
/// getrandom = { version = "0.2", features = ["custom"] }
/// ```
///
Expand Down

0 comments on commit e0c155e

Please sign in to comment.