parent
7456525b19
commit
41ad855d30
@ -1,3 +1,5 @@
|
|||||||
/sha1-0.2.0.crate
|
/sha1-0.2.0.crate
|
||||||
/sha1-0.4.0.crate
|
/sha1-0.4.0.crate
|
||||||
/sha1-0.6.0.crate
|
/sha1-0.6.0.crate
|
||||||
|
/sha1-0.10.0.crate
|
||||||
|
/sha1-0.10.1.crate
|
||||||
|
@ -0,0 +1,4 @@
|
|||||||
|
[DEFAULT]
|
||||||
|
unwanted-features =
|
||||||
|
asm
|
||||||
|
sha1-asm
|
@ -1,25 +0,0 @@
|
|||||||
From 27c7f771d43fdab5a54af6bad190830262d12474 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Igor Gnatenko <ignatenko@redhat.com>
|
|
||||||
Date: Thu, 26 Apr 2018 09:35:50 +0200
|
|
||||||
Subject: [PATCH] guard hexdigest() doctest by cfg(feature=std)
|
|
||||||
|
|
||||||
Fixes: https://github.com/mitsuhiko/rust-sha1/issues/34
|
|
||||||
---
|
|
||||||
src/lib.rs | 1 +
|
|
||||||
1 file changed, 1 insertion(+)
|
|
||||||
|
|
||||||
diff --git a/src/lib.rs b/src/lib.rs
|
|
||||||
index 446c98b..a83e1e6 100644
|
|
||||||
--- a/src/lib.rs
|
|
||||||
+++ b/src/lib.rs
|
|
||||||
@@ -26,6 +26,7 @@
|
|
||||||
//! ```
|
|
||||||
//! extern crate sha1;
|
|
||||||
//! # fn main() {
|
|
||||||
+//! #[cfg(feature="std")]
|
|
||||||
//! assert_eq!(sha1::Sha1::from("Hello World!").hexdigest(),
|
|
||||||
//! "2ef7bde608ce5404e97d5f042f95f89f1c232871");
|
|
||||||
//! # }
|
|
||||||
--
|
|
||||||
2.17.0
|
|
||||||
|
|
@ -1 +1 @@
|
|||||||
SHA512 (sha1-0.6.0.crate) = 32081c99a0cd5fd6e651deb711eb4c9a8bc71c12e26b25a72b2dba9a3286502e56b23d068a2899764ce1cc0c615c2c1b22a6c7aae63e07a758745b533e70ff0c
|
SHA512 (sha1-0.10.1.crate) = 5f32cfff707d08dfcf0c826ddd723fbdb7e1e29614f6b303c2707dd75ef3b599a5e2b48ebdd570e2e731b02dbcbe2557e91f2d1c5cb44d0afb3d8a46c38c89a4
|
||||||
|
Loading…
Reference in new issue