Add arbitrary trait implementation#378
Conversation
Signed-off-by: Kirk Baird <baird.k@outlook.com>
|
It looks like @kirk-baird hasn't signed our Contributor License Agreement, yet.
You can read and sign our full Contributor License Agreement at the following URL: https://cla.parity.io Once you've signed, please reply to this thread with Many thanks, Parity Technologies CLA Bot |
|
[clabot:check] |
|
It looks like @kirk-baird signed our Contributor License Agreement. 👍 Many thanks, Parity Technologies CLA Bot |
dvdplm
left a comment
There was a problem hiding this comment.
Thanks!
Can you please document the feature in the README?
Signed-off-by: Kirk Baird <baird.k@outlook.com>
Signed-off-by: Kirk Baird <baird.k@outlook.com>
Signed-off-by: Kirk Baird <baird.k@outlook.com>
Signed-off-by: Kirk Baird <baird.k@outlook.com>
My pleasure! It's updated. |
|
|
I think |
Signed-off-by: Kirk Baird <baird.k@outlook.com>
Co-Authored-By: Andronik Ordian <write@reusable.software>
This is a patch update I'd say. What we usually do is add unpublished changes to the Speaking of releases: do you have an immediate need for this? |
Co-Authored-By: David <dvdplm@gmail.com>
Signed-off-by: Kirk Baird <baird.k@outlook.com>
Do I need to make any changes to the
It's not mission critical, I'm currently using a patch to point to my branch. |
We can handle that, no worries. |
Co-Authored-By: David <dvdplm@gmail.com>
Co-Authored-By: David <dvdplm@gmail.com>
* master: (56 commits) primitive-types: add no_std support for serde feature (#385) Add Rocksdb Secondary Instance Api (#384) kvdb-rocksdb: update rocksdb to 0.14 (#379) prepare releases for a few crates (#382) uint: fix UB in uint::from_big_endian (#381) Fix limit prefix delete case (#368) Add arbitrary trait implementation (#378) kvdb-rocksdb: optimize and rename iter_from_prefix (#365) bump parity-util-mem (#376) parity-util-mem: fix for windows (#375) keccak-hash: fix bench and add one for range (#372) [parity-crypto] Release 0.6.1 (#373) keccak-hash: bump version to 0.5.1 (#371) keccak-hash: add keccak256_range and keccak512_range functions (#370) Allow pubkey recovery for all-zero messages (#369) Delete by prefix operator in kvdb (#360) kvdb: no overlay (#313) Ban duplicates of parity-uil-mem from being linked into the same program (#363) Use correct license ID (#362) Memtest example for Rocksdb (#349) ...
What has been done
I've added an implementation of the trait
Arbitrary. It is hidden behind a feature flagarbitrary.The implementation is pretty much the same as
quickselectwhich implements a slightly differentArbitrary.Additional comments
I'm not sure of the versioning so I left the version as is whether it's worth maybe a patch or minor update.