Commit Graph

27 Commits

Author SHA1 Message Date
kingoflolz 53eff543b7 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 ccb2bdd70b Increment `patch` for uint and ethereum-types 2018-05-21 11:32:45 +01:00
Andrew Jones f1912b8710 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
Tomasz Drwięga 10b77ed9ea Bump versions. 2018-03-15 10:06:43 +01:00
debris 3d43653d9f impl AsRef<Self> for primitives 2018-02-21 14:09:10 +01:00
Maximilian Krüger d541e8822f fix percentages in comment explaining uint arbitrary impl 2018-02-16 10:17:51 +01:00
Maximilian Krüger 37aabc3b6b add comment explaining arbitrary gen for uint 2018-02-16 09:59:00 +01:00
Maximilian Krüger c3624193af fix some indentation: spaces -> tabs 2018-02-16 09:34:52 +01:00
Maximilian Krüger 206529b7f9 expose feature gated quickcheck arbitrary impl for uints 2018-02-16 09:34:03 +01:00
Marek Kotewicz 08d458976c 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 6ff6c7810f Add 0x when printing hex values. 2018-02-06 16:19:42 +01:00
Robert Habermeier 24abdc843b no_std attributes 2018-02-06 12:56:51 +01:00
debris 1d70028a79 next release 2018-02-04 12:53:35 +01:00
Tomasz Drwięga 274b1830e9 Merge branch 'master' into td-lower-hex 2018-02-02 11:12:57 +01:00
Marek Kotewicz c88a97c19d Merge pull request #14 from rphmeier/uint-asm-with-feature
Uint ASM only with feature
2018-02-01 13:45:19 +01:00
Robert Habermeier 3059ca7128 use ASM only with feature 2018-01-31 21:48:47 +01:00
Tomasz Drwięga 68d0fab8a6 Remove 0x to be aligned with std LowerHex. 2018-01-28 18:13:51 +01:00
Tomasz Drwięga d0e82be286 Fix indentation. 2018-01-28 17:51:53 +01:00
Tomasz Drwięga 447984acf8 Fix indentation. 2018-01-28 17:48:23 +01:00
Tomasz Drwięga 6daac629e3 LowerHex and small cleanup. 2018-01-28 17:36:35 +01:00
Tomasz Drwięga ea29612eaa Checked ops. 2018-01-28 17:03:47 +01:00
debris 9e23e8f4a3 updated uint manifest 2017-12-29 17:23:16 +01:00
snd 45f721cf6e 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 83df0b7baa 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 91b87cd91e unify hash macro by renaming it to `construct_hash` 2017-11-14 15:38:09 +01:00
debris c3b2b5cfb2 ethereum-types refactor 2017-10-30 10:00:58 -07:00
debris c110f3eac9 ethereum-types refactor 2017-10-24 16:09:44 +08:00