Skip to content

Commit

Permalink
prepare 0.3 release
Browse files Browse the repository at this point in the history
  • Loading branch information
bluejekyll committed Nov 16, 2018
1 parent 873217b commit 2947527
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 8 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,16 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## 0.3.0

### Changed

- `GetKeyResult` and `GetAddressResult` return value no longer unwrap to Result #94 (@yjh0502)

### Added

- Win64 support #92 (@Speedy37)

## 0.2.0

### Added
Expand Down
7 changes: 3 additions & 4 deletions foundationdb-bench/src/bin/fdb-bench.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ extern crate stopwatch;
#[macro_use]
extern crate log;
extern crate env_logger;
#[macro_use]
extern crate structopt;

use std::sync::atomic::*;
Expand Down Expand Up @@ -154,16 +153,16 @@ impl Bench {
r: std::ops::Range<usize>,
counter: Counter,
) -> Box<Future<Item = (), Error = Error>> {
let runners = r.into_iter()
let runners = r
.into_iter()
.map(|n| {
// With deterministic Rng, benchmark with same parameters will overwrite same set
// of keys again, which makes benchmark result stable.
let seed = [n as u32, 0, 0, 1];
let mut rng = rand::XorShiftRng::new_unseeded();
rng.reseed(seed);
BenchRunner::new(self.db.clone(), rng, counter.clone(), &self.opt).run()
})
.collect::<Vec<_>>();
}).collect::<Vec<_>>();

let f = join_all(runners).map(|_| ());
Box::new(f)
Expand Down
2 changes: 1 addition & 1 deletion foundationdb-gen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ authors = ["Jihyun Yu <yjh0502@gmail.com>"]
[dependencies]
failure = "0.1"
Inflector = "0.11"
xml-rs = "0.7"
xml-rs = "0.8"
2 changes: 1 addition & 1 deletion foundationdb-sys/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "foundationdb-sys"
version = "0.1.1"
version = "0.2.0"
authors = ["Benjamin Fry <benjaminfry@me.com>"]

description = """
Expand Down
4 changes: 2 additions & 2 deletions foundationdb/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "foundationdb"
version = "0.2.0"
version = "0.3.0"
authors = ["Benjamin Fry <benjaminfry@me.com>"]

description = """
Expand All @@ -25,7 +25,7 @@ default = ["uuid"]
[dependencies]
failure = "0.1"
failure_derive = "0.1"
foundationdb-sys = { version = "0.1.0", path = "../foundationdb-sys" }
foundationdb-sys = { version = "0.2.0", path = "../foundationdb-sys" }
futures = "0.1"
lazy_static = "1.0"
byteorder = "1.2"
Expand Down

0 comments on commit 2947527

Please sign in to comment.