parity-common
parity-common copied to clipboard
Collection of crates used in Parity projects
Hello, first of all, i'm new with rust, so i could miss some concept... i have a MerkleTree in rust, and i was using the [ethnum](https://docs.rs/ethnum/latest/ethnum/) library. the library was...
The fixed-hash crate has been updated to use the dependency `arbitrary = "1.0"` about one year ago but no release has been created after this. This is a problem because...
Otherwise we're unable to turn on the `std` feature without also pulling in all of the Parity codec dependencies which are unnecessary in non-substrate related usecases.
`ethbloom` pulls in `tiny-keccak` and `scale-info`, which may not be necessary for all `ethereum-types` users.
> It already outperforms many well-known coverage-guided fuzzers in Google's fuzzbench[^1] benchmark, including honggfuzz, libfuzzer/entropic, as well as old-skool afl. On top, LibAFL[^2] scales better across cores and machines. [^1]:...
## repro example ```rs #[derive(rlp_derive::RlpEncodable)] struct DoubleVec { data: Vec, } // Just to note that this also fails. #[derive(rlp_derive::RlpEncodableWrapper)] struct DoubleVec2 { data: Vec, } ``` ## Expected outcome...
An example of such an iterator: ```rs struct MaliciousIterator { type Item = u8; fn size_hint(&self) -> (usize, Option) { (20, Some(20)) } fn next(&mut self) -> Option { match...
Most ways to construct values seem not to be usable in constants except for `zero()` and `MAX`. I wonder if it would be possible/desirable to have some way to construct...
Hello, Is there a reason why `U*` types do not implement `From`/`Into` from each other? At least to be able to cast upwards. Example, ```rust impl From for U128 {...
Trying to create a `U4096` type with: ```rust use uint::construct_uint; construct_uint! { pub struct U4096(64); } ``` Rust-analyzer produces various errors: ``` arrays only have std trait implementations for lengths...