Commit Graph

339 Commits

Author SHA1 Message Date
Maximilian Krüger fc6e7df377 fix some indentation: spaces -> tabs 2018-02-16 09:34:52 +01:00
Maximilian Krüger 1d5a5416d3 expose feature gated quickcheck arbitrary impl for uints 2018-02-16 09:34:03 +01:00
Marek Kotewicz 3f68935681
Merge pull request #18 from paritytech/td-format
Add 0x when printing hex values.
2018-02-15 13:03:51 +01:00
Marek Kotewicz 30a3830dd3
Merge pull request #20 from paritytech/td-update-example
Update example
2018-02-14 11:05:12 +01:00
Tomasz Drwięga eab1b27962
Update example 2018-02-13 09:40:05 +01:00
Marek Kotewicz 3df0ceac14
Merge pull request #17 from rphmeier/compile-for-wasm
Fix compilation for WASM
2018-02-06 22:36:31 +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
Robert Habermeier 8dc457899a no_std attributes 2018-02-06 12:56:51 +01:00
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