Commit Graph

12 Commits

Author SHA1 Message Date
Wei Tang 1564dc1f63 Remove serialize crate (replaced by serde) and use impl-serde in ethbloom 2018-12-02 22:34:58 +08: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
Niklas Adofsson f84cc4a180 Replace `rustc-hex` with `hex-literal` in tests 2018-08-23 13:21:30 +02:00
Niklas Adofsson 0d1133ef75 Use `rustc-hex v2.0` with explicit types
The issue was that the trait `FromHex` has changed and is now using
`FromIterator<u8>` instead of `FromIterator<Vec<u8>>` and was `inferred`
to `[u8]` instead of `Vec<u8>`. Thus, has not compile-time size and
won't work!

Well, this could be improved to be stack allocated because
we know the `size` of the hexstring but in this case I think
is sufficient and only used in tests!
2018-08-23 12:03:11 +02:00
Niklas Adolfsson 5441e9fab2 ethereum-types `make it work in no_std` (#42)
* fix error on nightly

* make it work on no-std by disabling default ft
2018-07-05 11:33:17 +02: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 2e10eb3e76 use ASM only with feature 2018-01-31 21:48:47 +01:00
debris 60271c08e4 add conditionals to ethbloom 2018-01-23 14:53:23 +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