Commit Graph

17 Commits

Author SHA1 Message Date
Herobird 2da14eca58 Improve panic messages by overflow for some uint From impls 2018-11-13 11:22:36 +01:00
Herobird 972b84ca04 Improve some #[cfg(..)] formattings 2018-11-13 11:22:19 +01:00
Herobird eb3ba0b8f0 Revert removals of some uint and hash types 2018-11-13 11:22:00 +01:00
Herobird 071b536273 [ethereum-types] Remove U64 definition 2018-11-12 20:25:01 +01:00
David Palm 334020970e Use new uint version
BREAKING CHANGE: Remove U1024 and H1024
Remove conversion facilities that moved to uint
Remove asm
Cleanup
2018-08-22 14:20:25 +02:00
David Palm 64c970af5d Split serialization tests and move to ethereum-types 2018-07-13 18:27:48 +02:00
David Palm ecd00d30a8 Move serialization tests to ethereum-types 2018-07-13 18:20:15 +02:00
David Palm fcaeb2e215 Move ethereum-specific tests from uint to ethereum-types 2018-07-13 17:42:54 +02:00
Tomasz Drwięga 1f9a36c78b
Fix missing serde impls for uints. 2018-02-21 10:17:11 +01:00
Tomasz Drwięga da2bbc045a
Add uint types for completeness. 2018-02-06 16:58:19 +01:00
Tomasz Drwięga bb33df436c
Fix indentation. 2018-02-02 13:47:33 +01:00
Tomasz Drwięga 90a3ada499
Stack-based allocation for serialization. 2018-02-02 13:42:25 +01:00
Tomasz Drwięga 942fbf392b
Avoid heap allocations in deserialization. 2018-02-02 13:02:36 +01:00
debris d053c5b6bf add default serde serialization to ethereum-types 2018-01-23 14:25:15 +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