Version 0.1.1. Allow no_std.
This commit is contained in:
parent
3c3f5cec9a
commit
fb06a53884
|
@ -1,7 +1,7 @@
|
|||
[package]
|
||||
name = "rand04_compat"
|
||||
description = "Wrappers for compatibility with rand 0.4."
|
||||
version = "0.1.0"
|
||||
version = "0.1.1"
|
||||
license = "MIT/Apache-2.0"
|
||||
repository = "https://github.com/poanetwork/rand04_compat"
|
||||
readme = "README.md"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
[package]
|
||||
name = "rand04"
|
||||
description = "Re-export of rand 0.4, so it can be used together with a later version of rand."
|
||||
version = "0.1.0"
|
||||
version = "0.1.1"
|
||||
license = "MIT/Apache-2.0"
|
||||
repository = "https://github.com/poanetwork/rand04_compat"
|
||||
readme = "README.md"
|
||||
|
|
|
@ -3,4 +3,6 @@
|
|||
//! This can be used instead of the deprecated [rand](https://crates.io/crates/rand) 0.4 in crates
|
||||
//! that for reasons of compatibility need to depend on both a current version and 0.4.
|
||||
|
||||
#![no_std]
|
||||
|
||||
pub use rand::*;
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
//! # Wrappers for compatibility with rand 0.4
|
||||
|
||||
use std::marker::PhantomData;
|
||||
#![no_std]
|
||||
|
||||
use core::marker::PhantomData;
|
||||
|
||||
use rand::Rng;
|
||||
pub use rand04;
|
||||
|
|
Loading…
Reference in New Issue