Include the hex crate and ToHex import to the second example

This commit is contained in:
Zack Mullaly 2017-10-07 17:07:53 -04:00
parent f206eb6a4b
commit a33efaa349
1 changed files with 2 additions and 0 deletions

View File

@ -37,8 +37,10 @@
//!
//! ```rust
//! extern crate openssl;
//! extern crate hex;
//!
//! use openssl::sha::sha256;
//! use hex::ToHex;
//!
//! fn main() {
//! let hash = sha256(b"your data or message");