diff --git a/Cargo.toml b/Cargo.toml index 26eb48a..3e9d41c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sha256" -version = "1.2.1" +version = "1.2.2" authors = ["baoyachi "] edition = "2018" description = "sha256 crypto digest" diff --git a/src/lib.rs b/src/lib.rs index 751a89e..da31016 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -65,10 +65,6 @@ pub fn digest(input: D) -> String { /// let val = try_digest(input).unwrap(); /// assert_eq!(val,"433855b7d2b96c23a6f60e70c655eb4305e8806b682a9596a200642f947259b1") /// ``` -#[deprecated( - since = "1.2.0", - note = "Use new function `try_async_digest()` instead" -)] pub fn try_digest(input: D) -> Result { input.digest() }