Commit Graph

266 Commits

Author SHA1 Message Date
David Palm 6283d8ec8f Remove fixed-hash 2018-07-13 11:03:50 +02:00
Niklas Adolfsson 19c1d38627
Merge pull request #45 from paritytech/na-bump-versions
Bump versions of ethbloom and ethereum-types
2018-07-08 23:01:37 +02:00
niklasad1 8f6f5d52d4
Bump versions of ethbloom and ethereum-types
The changes in [#42](https://github.com/paritytech/primitives/pull/42)
requires a version-bump in order to be visible on https://crates.io/
2018-07-05 17:54:12 +02:00
Marek Kotewicz 05da6f2d0f
Merge pull request #37 from yangby-cryptape/hash-lowerhex-alternate
Prefix '0x' for lower hex with alternate flag.
2018-07-05 11:48:19 +02:00
Niklas Adolfsson 0eaa2c73d0 nits (#39)
* Use b`x` instead of `x` as u8 -> no casting required
* Use more human-friendly repr of hex value
2018-07-05 11:33:55 +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
Boyu Yang 9be85406e8
Prefix '0x' for lower hex with alternate flag. 2018-06-11 22:50:26 +08:00
kingoflolz 94b28c822e add *Assign operators, make most operators work on Into<type> and make most operators work on references on uint (#31) 2018-06-04 14:49:30 +02:00
Andrew Jones 6f5f68183a
Merge pull request #34 from paritytech/bump-versions
Increment `patch` for uint and ethereum-types
2018-05-21 11:53:29 +01:00
Andrew Jones d81976304e Increment `patch` for uint and ethereum-types 2018-05-21 11:32:45 +01:00
Andrew Jones 1ecd83247f Prefix `0x` for lower hex with alternate flag (#33)
* Prefix `Ox` for lower hex for alternate flag

Should fix https://github.com/paritytech/parity/issues/8393
As per https://doc.rust-lang.org/std/fmt/trait.LowerHex.html

* Use hex alternate format for debug
2018-05-21 12:02:09 +02:00
Toralf Wittner dfb17048cb Increment versions. (#30)
For `ethereum-types` and `fixed-hash`.
2018-04-11 09:34:33 +02:00
Toralf Wittner c85f72a42c
Merge pull request #29 from paritytech/asmut
Add `AsMut` impl in `construct_hash` macro.
2018-04-10 16:36:22 +02:00
Toralf Wittner f3c2617510 Add `AsMut` impl in `construct_hash` macro. 2018-04-10 16:02:09 +02:00
Tomasz Drwięga 8820f960ab
Update README.md 2018-03-15 10:36:41 +01:00
Marek Kotewicz a094bde3dc
Merge pull request #28 from paritytech/td-bump
Bump versions.
2018-03-15 10:27:49 +01:00
Tomasz Drwięga 41149b79f9
Bump versions. 2018-03-15 10:06:43 +01:00
Pierre Krieger fd79eb91f4 Don't use libc with wasm32-unknown-unknown (#27) 2018-03-15 09:41:01 +01:00
Pierre Krieger 2fc55656ad Update link to repo for ethbloom (#26) 2018-03-15 09:40:42 +01:00
Marek Kotewicz 37be381eb9
Merge pull request #24 from paritytech/td-fix-uint
Fix missing serde impls for uints.
2018-03-09 14:22:42 +01:00
Marek Kotewicz f66e0ce2a6
Merge pull request #25 from paritytech/impl_as_ref
impl AsRef<Self> for primitives
2018-02-21 14:23:30 +01:00
debris f539c7c34c impl AsRef<Self> for primitives 2018-02-21 14:09:10 +01:00
Tomasz Drwięga 1f9a36c78b
Fix missing serde impls for uints. 2018-02-21 10:17:11 +01:00
snd 74501135c2
Merge pull request #22 from paritytech/snd-issue-21
Issue 21 - implement quickcheck::Arbitrary for ethereum-types
2018-02-16 12:22:53 +01:00
Maximilian Krüger b56f2618ac fix percentages in comment explaining uint arbitrary impl 2018-02-16 10:17:51 +01:00
Maximilian Krüger b0ae4eeb9f add comment explaining arbitrary gen for uint 2018-02-16 09:59:00 +01:00
Maximilian Krüger ede8c7d1de impl feature gated quickcheck arbitrary for hash 2018-02-16 09:56:08 +01:00
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