Skip to content

Commit ab4adcf

Browse files
committed
Bump to version 0.4.7
1 parent c583ffb commit ab4adcf

File tree

3 files changed

+22
-3
lines changed

3 files changed

+22
-3
lines changed

CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,25 @@ Released YYYY-MM-DD.
2828

2929
--------------------------------------------------------------------------------
3030

31+
## 0.4.7
32+
33+
Released 2020-10-14.
34+
35+
### Added
36+
37+
* Added an optimization to avoid unnecessarily consuming bytes from the
38+
underlying data when there is only one possible choice in
39+
`Unstructured::{int_in_range, choose, etc..}`.
40+
41+
* Added license files to the derive crate.
42+
43+
### Changed
44+
45+
* The `Arbitrary` implementation for `std::time::Duration` should now be faster
46+
and produce durations with a more-uniform distribution of nanoseconds.
47+
48+
--------------------------------------------------------------------------------
49+
3150
## 0.4.6
3251

3352
Released 2020-08-22.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "arbitrary"
3-
version = "0.4.6" # Make sure this matches the derive crate version
3+
version = "0.4.7" # Make sure this matches the derive crate version
44
authors = ["The Rust-Fuzz Project Developers", "Nick Fitzgerald <fitzgen@gmail.com>", "Manish Goregaokar <manishsmail@gmail.com>", "Simonas Kazlauskas <arbitrary@kazlauskas.me>", "Brian L. Troutwine <brian@troutwine.us>"]
55
categories = ["development-tools::testing"]
66
edition = "2018"
@@ -12,7 +12,7 @@ repository = "https://github.com/nagisa/rust_arbitrary/"
1212
documentation = "https://docs.rs/arbitrary/"
1313

1414
[dependencies]
15-
derive_arbitrary = { version = "=0.4.6", path = "./derive", optional = true }
15+
derive_arbitrary = { version = "=0.4.7", path = "./derive", optional = true }
1616

1717
[dev-dependencies]
1818

derive/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "derive_arbitrary"
3-
version = "0.4.6" # Make sure it matches the version of the arbitrary crate itself.
3+
version = "0.4.7" # Make sure it matches the version of the arbitrary crate itself.
44
authors = ["The Rust-Fuzz Project Developers", "Nick Fitzgerald <fitzgen@gmail.com>", "Manish Goregaokar <manishsmail@gmail.com>", "Andre Bogus <bogusandre@gmail.com>"]
55
categories = ["development-tools::testing"]
66
edition = "2018"

0 commit comments

Comments
 (0)