Niklas Adolfsson
0eaa2c73d0
nits ( #39 )
...
* Use b`x` instead of `x` as u8 -> no casting required
* Use more human-friendly repr of hex value
2018-07-05 11:33:55 +02:00
kingoflolz
94b28c822e
add *Assign operators, make most operators work on Into<type> and make most operators work on references on uint ( #31 )
2018-06-04 14:49:30 +02:00
Andrew Jones
1ecd83247f
Prefix `0x` for lower hex with alternate flag ( #33 )
...
* Prefix `Ox` for lower hex for alternate flag
Should fix https://github.com/paritytech/parity/issues/8393
As per https://doc.rust-lang.org/std/fmt/trait.LowerHex.html
* Use hex alternate format for debug
2018-05-21 12:02:09 +02:00
debris
f539c7c34c
impl AsRef<Self> for primitives
2018-02-21 14:09:10 +01:00
Maximilian Krüger
b56f2618ac
fix percentages in comment explaining uint arbitrary impl
2018-02-16 10:17:51 +01:00
Maximilian Krüger
b0ae4eeb9f
add comment explaining arbitrary gen for uint
2018-02-16 09:59:00 +01:00
Maximilian Krüger
fc6e7df377
fix some indentation: spaces -> tabs
2018-02-16 09:34:52 +01:00
Maximilian Krüger
1d5a5416d3
expose feature gated quickcheck arbitrary impl for uints
2018-02-16 09:34:03 +01:00
Marek Kotewicz
3f68935681
Merge pull request #18 from paritytech/td-format
...
Add 0x when printing hex values.
2018-02-15 13:03:51 +01:00
Tomasz Drwięga
ad27e423a2
Add 0x when printing hex values.
2018-02-06 16:19:42 +01:00
Robert Habermeier
8dc457899a
no_std attributes
2018-02-06 12:56:51 +01:00
Tomasz Drwięga
7e874f4278
Merge branch 'master' into td-lower-hex
2018-02-02 11:12:57 +01:00
Tomasz Drwięga
58f0ca383d
Remove 0x to be aligned with std LowerHex.
2018-01-28 18:13:51 +01:00
Tomasz Drwięga
74106b51c0
Fix indentation.
2018-01-28 17:51:53 +01:00
Tomasz Drwięga
e0ef5fb804
Fix indentation.
2018-01-28 17:48:23 +01:00
Tomasz Drwięga
832362ba35
LowerHex and small cleanup.
2018-01-28 17:36:35 +01:00
Tomasz Drwięga
025a0c1eab
Checked ops.
2018-01-28 17:03:47 +01:00
snd
6c98370236
feature(asm) is only allowed in crate ( #8 )
...
* feature(asm) is only allowed in crate
* add tests/build.rs again - haven't found a way around it
2017-12-05 14:44:36 +01:00
snd
8a14926f6d
Issue 6 ( #7 )
...
* add rustc_version to build deps of ether types (needed by build script)
* ethereum-types: add build script that sets cargo:rustc-cfg=asm_available on nightly
* ethereum-types: #![cfg_attr(asm_available, feature(asm))]
* tests: add the whole feature asm build script to make it pass on nightly CI
* add #![cfg_attr(asm_available, feature(asm))] directly where needed
so users don't have to add it
* remove tests/build.rs since it should not be needed anymore
* move inner cfg_attr attributes to the right allowed position
* remove check for asm_available in contexts that already have check for that
2017-12-05 13:14:16 +01:00
debris
f8e4006ec1
ethereum-types refactor
2017-10-24 16:09:44 +08:00