Commit Graph

230 Commits

Author SHA1 Message Date
Robert Habermeier 853bb53158 get compiling for wasm 2018-02-05 22:07:14 +01:00
Marek Kotewicz ca6a5a2479
Merge pull request #16 from paritytech/next=release
next release
2018-02-05 10:51:13 +01:00
debris fe00aed256 bump minimum version of uint required to 0.1.2 2018-02-04 13:29:17 +01:00
debris 9d1d9a0ecd next release 2018-02-04 12:53:35 +01:00
Marek Kotewicz 0378495d31
Merge pull request #13 from paritytech/td-lower-hex
Lower hex and couple of cleanups
2018-02-04 12:43:44 +01:00
Marek Kotewicz 4c01801a8a
Merge pull request #15 from paritytech/td-improve-deser
Avoid allocations in serialization and deserialization
2018-02-04 12:42:40 +01:00
Tomasz Drwięga 50a858b735
Remove unused vec. 2018-02-02 23:03:01 +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 1320986642
Avoid heap allocations during serialization. 2018-02-02 13:26:01 +01:00
Tomasz Drwięga 942fbf392b
Avoid heap allocations in deserialization. 2018-02-02 13:02:36 +01:00
Tomasz Drwięga 7e874f4278
Merge branch 'master' into td-lower-hex 2018-02-02 11:12:57 +01:00
Marek Kotewicz c43a3bfed9
Merge pull request #14 from rphmeier/uint-asm-with-feature
Uint ASM only with feature
2018-02-01 13:45:19 +01:00
Marek Kotewicz 43817b2e6a
Merge pull request #11 from paritytech/checked
Checked ops.
2018-02-01 13:28:49 +01:00
Robert Habermeier 18e2f90688 build script and feature cleanup 2018-01-31 22:08:43 +01:00
Robert Habermeier 2e10eb3e76 use ASM only with feature 2018-01-31 21:48:47 +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
debris 30f15bb338 bump versions 2018-01-24 10:58:04 +01:00
Marek Kotewicz 323d51c30d
Merge pull request #10 from paritytech/serialize
add default serde serialization to ethereum-types
2018-01-24 10:44:52 +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 87912d868f fixed-hash 0.1.2 2018-01-20 21:21:15 +01:00
Marek Kotewicz 2a737bb750
Merge pull request #9 from paritytech/ethbloom
ethbloom crate
2018-01-11 14:37:20 +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
debris f625fc12ed fixed-hash implements heap-size, version 0.1.1 2018-01-02 15:40:16 +01:00
debris 0e4818d133 updated ethereum-types manifest 2017-12-29 17:25:06 +01:00
debris 75b103fd1d updated uint manifest 2017-12-29 17:23:16 +01:00
debris cbb8f767ae updated fixed-hash manifest 2017-12-29 17:21:56 +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
Marek Kotewicz d910e92888
Merge pull request #1 from paritytech/unify_hash_macro
unify hash macro by renaming it to `construct_hash`
2017-11-17 10:38:01 +01:00
debris 36fb6910b8 run tests in release mode 2017-11-14 16:57:32 +01:00
debris c12e07c906 unify hash macro by renaming it to `construct_hash` 2017-11-14 15:38:09 +01:00
debris 940a287e1e fixed cargo snippet in README.md 2017-11-03 10:41:41 -05:00
debris 678a1c85fb updated travis and README.md 2017-11-03 10:39:09 -05: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
Nikolay Volf d421131258 Merge pull request #34 from andrebeat/quickcheck-all-uints
Generate quickcheck tests for all uints
2017-10-06 13:58:01 +02:00
Andre Silva e5f4dcba64 run tests in release mode on travis
this significantly speeds up the quickcheck test suite
2017-10-06 00:18:35 +01:00
Andre Silva 3b48974b50 generate large uint arbitrary values with a lower probability
this is necessary to avoid generating a lot of test values that will overflow
the tested expression and will therefore be discard as a test case (making the
tests slower).
2017-10-06 00:18:24 +01:00
Nikolay Volf 7cf81e9dbf Update .travis.yml 2017-10-06 01:46:31 +03:00
Andre Silva a14484bdf8 generate quickcheck tests for all uint types 2017-10-05 23:20:02 +01:00
Andre Silva b1e5ea93ad generate arbitrary instances for all uint types 2017-10-05 20:19:50 +01:00