parity-common icon indicating copy to clipboard operation
parity-common copied to clipboard

Collection of crates used in Parity projects

Results 63 parity-common issues
Sort by recently updated
recently updated
newest added

Hello! I'm having a hard time silencing the warns from uint initialization. I tried adding `allow = ["clippy::ptr_offset_with_cast"]` to `.clippy.toml` but this hides another warns from the code. If you...

Benchmark: ``` from_str time: [372.11 ns 373.23 ns 374.35 ns] change: [-44.782% -44.174% -43.681%] (p = 0.00 < 0.05) Performance has improved. Found 1 outliers among 100 measurements (1.00%) 1...

# How to reproduce here is snippet ```rust // fixed-hash is 0.7.0 (latest) use fixed_hash::construct_fixed_hash; construct_fixed_hash! {struct H160(20);} fn main() { let hash = H160::zero(); // Debug formatting println!("{:?}", hash);...

It would be nice to have the From trait implemented for conversions that can't fail, such as U64 -> u64. ```rust // Today let a: u64 = U64::MAX.try_into().unwrap(); let b:...

I was using `U256` as an argument with `clap` and I found out that my input was parsed as hexadecimal number. I was expecting the following, however the first assert...

Z1-question

Having a `abs_diff` would be great. It can be the same API as the one from Rust introduced in 1.60.0: https://doc.rust-lang.org/std/primitive.usize.html#method.abs_diff. Would be great it we could make it const,...

F8-enhancement
Q2-easy

`Value::String` was used for the visit implementation, because it's the most convienient format to use while tracing, AFAIK being the main motivation for the `valuable` crate.

Updates the requirements on [tikv-jemalloc-ctl](https://github.com/tikv/jemallocator) to permit the latest version. Changelog Sourced from tikv-jemalloc-ctl's changelog. 0.4.2 - 2021-08-09 Fixed prof not working under certain condition (#9) (#12) Updated paste to...

A2-insubstantial
M5-dependencies

Hi, is there any plan to support BorshSerialize and BorshDeserialize for the ethereum-types. I notice that borsh is used in NEAR and in Solana which provides compatibility with ethereum.