Commit Graph

339 Commits

Author SHA1 Message Date
David Palm 334020970e Use new uint version
BREAKING CHANGE: Remove U1024 and H1024
Remove conversion facilities that moved to uint
Remove asm
Cleanup
2018-08-22 14:20:25 +02:00
Marek Kotewicz 0c95999843
Merge pull request #50 from paritytech/chore/cleanup-remove-branch-in-ethbloom
Cleanup leftover from previous pr
2018-08-15 11:47:28 +02:00
David Palm 01d82848f8 Cleanup leftover from previous pr 2018-08-10 17:59:01 +02:00
David cb6e423501
Merge pull request #47 from paritytech/chore/remove-fixed-hash
Move fixed-hash and uint to parity-common; remove tests crate
2018-08-06 09:06:09 +02:00
David Palm c623a42b62 Merge branch 'chore/remove-fixed-hash' of github.com:paritytech/primitives into chore/remove-fixed-hash
* 'chore/remove-fixed-hash' of github.com:paritytech/primitives:
  Add `rust-toolchain` file
  update dependencies to the `primitives repo`
  Add a new crate for testing `no-std`
  Add a new crate for testing `no-std`
  make it work on no-std by disabling default ft
  fix error on nightly
2018-08-05 12:36:24 +02:00
David Palm 85d7ed2827 Fix outstanding TODO 2018-08-05 12:35:15 +02:00
David 32c40e518d
Merge branch 'master' into chore/remove-fixed-hash 2018-08-03 16:37:30 +02:00
Niklas Adolfsson 020b5d855e
Merge pull request #44 from paritytech/na-add-no-std-tests
Add `no std tests`
2018-08-01 23:06:12 +02:00
Niklas Adolfsson c81b0fc71e
Merge pull request #41 from paritytech/na-fix-nightly-err
Fix error on  `rustc 1.28.0-nightly (a805a2a5e 2018-06-10)`
2018-08-01 23:05:35 +02:00
David Palm 5e04bdc854 Fix travis 2018-07-13 19:11:49 +02:00
David Palm 36d0c6e3bb Remove tests from workspace 2018-07-13 18:57:17 +02:00
David Palm bb4311b496 Remove tests subcrate 2018-07-13 18:28:29 +02:00
David Palm 64c970af5d Split serialization tests and move to ethereum-types 2018-07-13 18:27:48 +02:00
David Palm ecd00d30a8 Move serialization tests to ethereum-types 2018-07-13 18:20:15 +02:00
David Palm fcaeb2e215 Move ethereum-specific tests from uint to ethereum-types 2018-07-13 17:42:54 +02:00
David Palm db4f530367 Remove uint (moved to parity-common) 2018-07-13 14:29:10 +02:00
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
niklasad1 340c5e8b04
Add `rust-toolchain` file
Add `rust-toolchain` file to build the crate using the ´nightly`
compiler
2018-07-05 17:46:33 +02:00
niklasad1 fb3ca03a6a
Merge branch 'na-add-no-std-tests' of github.com:paritytech/primitives into na-add-no-std-tests 2018-07-05 17:46:08 +02:00
niklasad1 8d66bcbdaa
update dependencies to the `primitives repo` 2018-07-05 16:31:15 +02:00
Niklas Adofsson 2a311fbe11 Add a new crate for testing `no-std`
* This needs to be enabled `.travis.yml` but I won´t dare changing it
becomes this will fail on `stable` compiler
* Run the test by `cargo test -p no-std-tests`
2018-07-05 16:00:23 +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
Niklas Adofsson 48ef8f20a5 Add a new crate for testing `no-std`
* This needs to be enabled `.travis.yml` but I won´t dare changing it
becomes this will fail on `stable` compiler
* Run the test by `cargo test -p no-std-tests`
2018-06-15 17:49:48 +02:00
Niklas Adofsson 22128dd159 make it work on no-std by disabling default ft 2018-06-12 18:00:27 +02:00
Niklas Adofsson ffa7c44990 fix error on nightly 2018-06-12 13:30:27 +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