Herobird
f76b9a4459
Improve some formatting of #[cfg(..)]
2018-11-13 11:27:50 +01:00
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
5308d515db
[ethereum-types] Remove H32, H64, H128 and H264 hash types
...
The only remaining hash types are now: H160, H256, H512 and H520
2018-11-12 20:28:16 +01:00
Herobird
146263d837
[ethereum-types] Improve formatting a bit
2018-11-12 20:27:16 +01:00
Herobird
4476efe535
[ethereum-types] Remove deprecated From impls for H64 and H160
2018-11-12 20:26:51 +01:00
Herobird
d59defc7e1
[ethereum-types] Remove bad feature gate usages
2018-11-12 20:26:32 +01:00
Herobird
f7895618a9
[ethereum-types] Use new From<u64> impls in tests
2018-11-12 20:26:19 +01:00
Herobird
6b57ca0c53
[ethereum-types] Add From<u64> impls for H160 and H256
2018-11-12 20:25:48 +01:00
Herobird
071b536273
[ethereum-types] Remove U64 definition
2018-11-12 20:25:01 +01:00
Herobird
de0a759f4a
[ethereum-types] Remove clean_0x function
2018-11-12 20:24:28 +01:00
Herobird
f78004a8cc
Update ethbloom and ethereum-types to new `fixed-hash` version `0.3.0-beta`
2018-11-05 17:03:12 +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
ad27e423a2
Add 0x when printing hex values.
2018-02-06 16:19:42 +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
Robert Habermeier
18e2f90688
build script and feature cleanup
2018-01-31 22:08:43 +01:00
debris
d053c5b6bf
add default serde serialization to ethereum-types
2018-01-23 14:25:15 +01:00
debris
0e8144ca78
ethbloom crate
2018-01-05 17:45:04 +01:00
debris
36f0ab750c
ethereum-types legacy clean_0x function, release 0.1.3
2018-01-04 13:14:53 +01:00
debris
f630ed38db
ethereum-types Public type, release 0.1.2
2018-01-02 16:04:11 +01:00
debris
17c3b51410
ethereum-types LogBloom type, release 0.1.1
2018-01-02 15:58:21 +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
c12e07c906
unify hash macro by renaming it to `construct_hash`
2017-11-14 15:38:09 +01:00
debris
6964a4b065
ethereum-types refactor
2017-10-30 10:00:58 -07:00
debris
f8e4006ec1
ethereum-types refactor
2017-10-24 16:09:44 +08:00