Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add fixed-hash and uint crates to parity-common #12

Merged
merged 89 commits into from
Aug 3, 2018
Merged
Show file tree
Hide file tree
Changes from 88 commits
Commits
Show all changes
89 commits
Select commit Hold shift + click to select a range
c110f3e
ethereum-types refactor
debris Oct 24, 2017
c4e00f8
ethereum-types refactor
debris Oct 24, 2017
c3b2b5c
ethereum-types refactor
debris Oct 30, 2017
9dec8ff
ethereum-types refactor
debris Oct 30, 2017
845d305
ethereum-types refactor
debris Oct 30, 2017
91b87cd
unify hash macro by renaming it to `construct_hash`
debris Nov 14, 2017
2791a94
unify hash macro by renaming it to `construct_hash`
debris Nov 14, 2017
83df0b7
Issue 6 (#7)
snd Dec 5, 2017
45f721c
feature(asm) is only allowed in crate (#8)
snd Dec 5, 2017
d0f9df0
feature(asm) is only allowed in crate (#8)
snd Dec 5, 2017
71b84a2
updated fixed-hash manifest
debris Dec 29, 2017
9e23e8f
updated uint manifest
debris Dec 29, 2017
7bae799
fixed-hash implements heap-size, version 0.1.1
debris Jan 2, 2018
f1e6fbe
ethbloom crate
debris Jan 5, 2018
2ea80de
ethbloom crate
debris Jan 5, 2018
d741c2f
fixed-hash 0.1.2
debris Jan 20, 2018
0aab3c4
add default serde serialization to ethereum-types
debris Jan 23, 2018
4c709de
add default serde serialization to ethereum-types
debris Jan 23, 2018
ea29612
Checked ops.
tomusdrw Jan 28, 2018
61cbcd7
Checked ops.
tomusdrw Jan 28, 2018
6daac62
LowerHex and small cleanup.
tomusdrw Jan 28, 2018
be5ce47
LowerHex and small cleanup.
tomusdrw Jan 28, 2018
8e5fd03
LowerHex and small cleanup.
tomusdrw Jan 28, 2018
447984a
Fix indentation.
tomusdrw Jan 28, 2018
d0e82be
Fix indentation.
tomusdrw Jan 28, 2018
978bd14
Fix indentation.
tomusdrw Jan 28, 2018
74a227f
Remove 0x to be aligned with std LowerHex.
tomusdrw Jan 28, 2018
68d0fab
Remove 0x to be aligned with std LowerHex.
tomusdrw Jan 28, 2018
ceb5f74
use ASM only with feature
rphmeier Jan 31, 2018
3059ca7
use ASM only with feature
rphmeier Jan 31, 2018
a9e0f50
build script and feature cleanup
rphmeier Jan 31, 2018
c88a97c
Merge pull request #14 from rphmeier/uint-asm-with-feature
debris Feb 1, 2018
97b2fbc
Merge pull request #14 from rphmeier/uint-asm-with-feature
debris Feb 1, 2018
448f047
Merge branch 'master' into td-lower-hex
tomusdrw Feb 2, 2018
274b183
Merge branch 'master' into td-lower-hex
tomusdrw Feb 2, 2018
f127bd7
Merge branch 'master' into td-lower-hex
tomusdrw Feb 2, 2018
6b776e9
Avoid heap allocations in deserialization.
tomusdrw Feb 2, 2018
ed37a35
Fix indentation.
tomusdrw Feb 2, 2018
9280c2a
Merge pull request #13 from paritytech/td-lower-hex
debris Feb 4, 2018
1d70028
next release
debris Feb 4, 2018
3fe9fe6
next release
debris Feb 4, 2018
aaa28a8
get compiling for wasm
rphmeier Feb 5, 2018
edce37c
get compiling for wasm
rphmeier Feb 5, 2018
24abdc8
no_std attributes
rphmeier Feb 6, 2018
2c23788
no_std attributes
rphmeier Feb 6, 2018
6ff6c78
Add 0x when printing hex values.
tomusdrw Feb 6, 2018
431cd0e
Add 0x when printing hex values.
tomusdrw Feb 6, 2018
c06346c
Add 0x when printing hex values.
tomusdrw Feb 6, 2018
08d4589
Merge pull request #18 from paritytech/td-format
debris Feb 15, 2018
c1b0897
Merge pull request #18 from paritytech/td-format
debris Feb 15, 2018
59c05a4
Merge pull request #18 from paritytech/td-format
debris Feb 15, 2018
206529b
expose feature gated quickcheck arbitrary impl for uints
snd Feb 16, 2018
8cdb623
expose feature gated quickcheck arbitrary impl for uints
snd Feb 16, 2018
c362419
fix some indentation: spaces -> tabs
snd Feb 16, 2018
548aabf
fix some indentation: spaces -> tabs
snd Feb 16, 2018
7e3a4fb
impl feature gated quickcheck arbitrary for hash
snd Feb 16, 2018
37aabc3
add comment explaining arbitrary gen for uint
snd Feb 16, 2018
d541e88
fix percentages in comment explaining uint arbitrary impl
snd Feb 16, 2018
3eba48b
impl AsRef<Self> for primitives
debris Feb 21, 2018
3d43653
impl AsRef<Self> for primitives
debris Feb 21, 2018
eaec085
Don't use libc with wasm32-unknown-unknown (#27)
tomaka Mar 15, 2018
5064f85
Bump versions.
tomusdrw Mar 15, 2018
6a339bd
Bump versions.
tomusdrw Mar 15, 2018
10b77ed
Bump versions.
tomusdrw Mar 15, 2018
77c648e
Add `AsMut` impl in `construct_hash` macro.
twittner Apr 10, 2018
ab49700
Increment versions. (#30)
twittner Apr 11, 2018
f064ce5
Increment versions. (#30)
twittner Apr 11, 2018
f1912b8
Prefix `0x` for lower hex with alternate flag (#33)
ascjones May 21, 2018
24b94af
Prefix `0x` for lower hex with alternate flag (#33)
ascjones May 21, 2018
ccb2bdd
Increment `patch` for uint and ethereum-types
ascjones May 21, 2018
12f9448
add *Assign operators, make most operators work on Into<type> and mak…
kingoflolz Jun 4, 2018
53eff54
add *Assign operators, make most operators work on Into<type> and mak…
kingoflolz Jun 4, 2018
40818ee
Prefix '0x' for lower hex with alternate flag.
yangby-cryptape Jun 11, 2018
baff437
Prefix '0x' for lower hex with alternate flag.
yangby-cryptape Jun 11, 2018
a530eec
ethereum-types `make it work in no_std` (#42)
niklasad1 Jul 5, 2018
0435699
nits (#39)
niklasad1 Jul 5, 2018
d922258
Merge pull request #37 from yangby-cryptape/hash-lowerhex-alternate
debris Jul 5, 2018
d31562b
Add 'fixed-hash/' from commit 'd922258255841e97218cf0f3b05a4e5779f4596a'
dvdplm Jul 13, 2018
d2e4ec5
Fix warning about unused result
dvdplm Jul 13, 2018
9c065b7
Add 'uint/' from commit '043569906ba7a817abde33877fe1f71cdbc87749'
dvdplm Jul 13, 2018
bd8ea85
Add uint to workspace
dvdplm Jul 13, 2018
716691c
Remove uint (moved to parity-common)
dvdplm Jul 13, 2018
9144702
Move formatting test from `primitives`
dvdplm Jul 13, 2018
646fe8c
Add 'uint/tests/' from commit '716691c42b794ad004d95df5ecdc77fe7d3b9d3b'
dvdplm Jul 13, 2018
f8ee2e6
Move tests from `primitives/tests` to `uint`
dvdplm Jul 13, 2018
70a778a
cleanup
dvdplm Jul 13, 2018
4e4347f
Fix travis
dvdplm Jul 13, 2018
dfc1c79
Silence warnings when running tests
dvdplm Jul 30, 2018
b0cf5d1
Remove duplicated line
dvdplm Jul 30, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ matrix:
- rust: nightly
script:
- cargo build
- cargo test
- cargo test --all --exclude uint
- cd uint/ && cargo test --features=std,impl_quickcheck_arbitrary
2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[workspace]
members = [
"fixed-hash",
"hashdb",
"keccak-hash",
"kvdb",
Expand All @@ -14,4 +15,5 @@ members = [
"rlp",
"trie-standardmap",
"triehash",
"uint"
]
22 changes: 22 additions & 0 deletions fixed-hash/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[package]
name = "fixed-hash"
version = "0.2.2"
authors = ["Parity Technologies <[email protected]>"]
license = "MIT"
homepage = "https://github.com/paritytech/parity-common"
description = "Fixed-size hashes"

[dependencies]
heapsize = { version = "0.4", optional = true }
rand = { version = "0.4", optional = true }
rustc-hex = { version = "1.0", optional = true }
quickcheck = { version = "0.6", optional = true }

[target.'cfg(not(target_os = "unknown"))'.dependencies]
libc = { version = "0.2", optional = true, default-features = false }

[features]
default = ["libc"]
std = ["rustc-hex", "rand"]
heapsizeof = ["heapsize"]
impl_quickcheck_arbitrary = ["quickcheck"]
Loading