Commit Graph

219 Commits

Author SHA1 Message Date
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
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 74106b51c0
Fix indentation. 2018-01-28 17:51:53 +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
Andre Silva a243481934 fix overflow conditions in quickcheck test cases 2017-10-05 20:16:03 +01:00
Andre Silva e75b87c9ed control magnitude of arbitrary generated uint values 2017-10-05 20:14:17 +01:00
Marek Kotewicz cadc0bfd81 Merge pull request #33 from andrebeat/quickcheck
[WIP] Test basic algebraic laws with quickcheck
2017-10-04 12:40:39 +02:00
Andre Silva 764f8833e3 test basic algebraic laws with quickcheck 2017-10-04 03:04:17 +01:00
Nikolay Volf 152db3a707 Update README.md 2017-09-22 12:02:06 +03:00
Nikolay Volf 43ec87a40a Update README.md 2017-09-22 12:01:31 +03:00
NikVolf 90006b65e9 bump version 2017-09-06 15:02:50 +02:00
Arkadiy Paronyan 1cc1734310 Merge pull request #30 from arkpar/bitscan
Implemented trailing_zeros and leading_zeros
2017-09-06 14:58:23 +02:00
arkpar 630664a2f5
Version bump 2017-09-06 14:51:41 +02:00
arkpar 1268bc2363
Implemented trailing_zeros and leading_zeros 2017-09-06 14:41:40 +02:00
Nikolay Volf 65ec18da4d Merge pull request #29 from paritytech/ci-bench
Bench to the CI
2017-08-23 02:23:27 +03:00