Skip to content

Commit c2f13c8

Browse files
authored
Merge pull request rust-random#18 from dhardy/master
Prepare 0.1.1 release
2 parents d2a9729 + aa2bde5 commit c2f13c8

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

77

8+
## [0.1.1] - 2019-04-05
9+
- Enable std functionality for CloudABI by default.
10+
811
## [0.1.0] - 2019-03-23
912
Publish initial implementation.
1013

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "getrandom"
3-
version = "0.1.0"
3+
version = "0.1.1"
44
edition = "2018"
55
authors = ["The Rand Project Developers"]
66
license = "MIT OR Apache-2.0"

tests/mod.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@ extern crate getrandom;
22

33
use getrandom::getrandom;
44

5+
#[test]
6+
fn test_zero() {
7+
// Test that APIs are happy with zero-length requests
8+
getrandom(&mut [0u8; 0]).unwrap();
9+
}
10+
511
#[test]
612
fn test_diff() {
713
let mut v1 = [0u8; 1000];

0 commit comments

Comments
 (0)