next release
This commit is contained in:
parent
0378495d31
commit
9d1d9a0ecd
|
@ -8,7 +8,7 @@ To specify a dependency, add to `Cargo.toml`
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
[dependencies]
|
[dependencies]
|
||||||
ethereum-types = "0.1"
|
ethereum-types = "0.2"
|
||||||
```
|
```
|
||||||
|
|
||||||
Little example
|
Little example
|
||||||
|
@ -21,7 +21,7 @@ fn main() {
|
||||||
let mut val: U256 = 1023.into();
|
let mut val: U256 = 1023.into();
|
||||||
for _ in 0..200 { val = val * 2.into() }
|
for _ in 0..200 { val = val * 2.into() }
|
||||||
assert_eq!(
|
assert_eq!(
|
||||||
&format!("{}", val),
|
&format!("{}", val),
|
||||||
"1643897619276947051879427220465009342380213662639797070513307648"
|
"1643897619276947051879427220465009342380213662639797070513307648"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "ethbloom"
|
name = "ethbloom"
|
||||||
version = "0.4.1"
|
version = "0.4.2"
|
||||||
authors = ["Parity Technologies <admin@parity.io>"]
|
authors = ["Parity Technologies <admin@parity.io>"]
|
||||||
description = "Ethereum bloom filter"
|
description = "Ethereum bloom filter"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
@ -11,7 +11,7 @@ repository = "https://github.com/debris/ethbloom"
|
||||||
[dependencies]
|
[dependencies]
|
||||||
tiny-keccak = "1.4"
|
tiny-keccak = "1.4"
|
||||||
crunchy = { version = "0.1.6", features = ["limit_256"] }
|
crunchy = { version = "0.1.6", features = ["limit_256"] }
|
||||||
fixed-hash = { version = "0.1.1", path = "../fixed-hash" }
|
fixed-hash = { version = "0.1.3", path = "../fixed-hash" }
|
||||||
ethereum-types-serialize = { version = "0.2", path = "../serialize", optional = true }
|
ethereum-types-serialize = { version = "0.2", path = "../serialize", optional = true }
|
||||||
serde = { version = "1.0", optional = true }
|
serde = { version = "1.0", optional = true }
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "ethereum-types"
|
name = "ethereum-types"
|
||||||
version = "0.2.1"
|
version = "0.2.2"
|
||||||
authors = ["Parity Technologies <admin@parity.io>"]
|
authors = ["Parity Technologies <admin@parity.io>"]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
homepage = "https://github.com/paritytech/primitives"
|
homepage = "https://github.com/paritytech/primitives"
|
||||||
|
@ -12,10 +12,10 @@ rustc_version = "0.2"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
uint = { path = "../uint", version = "0.1" }
|
uint = { path = "../uint", version = "0.1" }
|
||||||
fixed-hash = { path = "../fixed-hash", version = "0.1.1" }
|
fixed-hash = { path = "../fixed-hash", version = "0.1.3" }
|
||||||
ethbloom = { path = "../ethbloom", version = "0.4" }
|
ethbloom = { path = "../ethbloom", version = "0.4.2" }
|
||||||
crunchy = "0.1.5"
|
crunchy = "0.1.5"
|
||||||
ethereum-types-serialize = { version = "0.2", path = "../serialize", optional = true }
|
ethereum-types-serialize = { version = "0.2.1", path = "../serialize", optional = true }
|
||||||
serde = { version = "1.0", optional = true }
|
serde = { version = "1.0", optional = true }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
|
@ -23,4 +23,4 @@ default = ["std", "heapsizeof", "serialize"]
|
||||||
std = ["uint/std", "fixed-hash/std", "ethbloom/std"]
|
std = ["uint/std", "fixed-hash/std", "ethbloom/std"]
|
||||||
heapsizeof = ["uint/heapsizeof", "fixed-hash/heapsizeof", "ethbloom/heapsizeof"]
|
heapsizeof = ["uint/heapsizeof", "fixed-hash/heapsizeof", "ethbloom/heapsizeof"]
|
||||||
serialize = ["std", "ethereum-types-serialize", "serde", "ethbloom/serialize"]
|
serialize = ["std", "ethereum-types-serialize", "serde", "ethbloom/serialize"]
|
||||||
use_asm = ["uint/use_asm"]
|
use_asm = ["uint/use_asm"]
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "fixed-hash"
|
name = "fixed-hash"
|
||||||
version = "0.1.2"
|
version = "0.1.3"
|
||||||
authors = ["Parity Technologies <admin@parity.io>"]
|
authors = ["Parity Technologies <admin@parity.io>"]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
homepage = "https://github.com/paritytech/primitives"
|
homepage = "https://github.com/paritytech/primitives"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "ethereum-types-serialize"
|
name = "ethereum-types-serialize"
|
||||||
version = "0.2.0"
|
version = "0.2.1"
|
||||||
authors = ["Parity Technologies <admin@parity.io>"]
|
authors = ["Parity Technologies <admin@parity.io>"]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
homepage = "https://github.com/paritytech/primitives"
|
homepage = "https://github.com/paritytech/primitives"
|
||||||
|
|
|
@ -4,7 +4,7 @@ homepage = "http://parity.io"
|
||||||
repository = "https://github.com/paritytech/primitives"
|
repository = "https://github.com/paritytech/primitives"
|
||||||
license = "MIT/Apache-2.0"
|
license = "MIT/Apache-2.0"
|
||||||
name = "uint"
|
name = "uint"
|
||||||
version = "0.1.1"
|
version = "0.1.2"
|
||||||
authors = ["Parity Technologies <admin@parity.io>"]
|
authors = ["Parity Technologies <admin@parity.io>"]
|
||||||
build = "build.rs"
|
build = "build.rs"
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ rustc_version = "0.2"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
byteorder = { version = "1", default-features = false }
|
byteorder = { version = "1", default-features = false }
|
||||||
heapsize = { version = "0.4", optional = true }
|
heapsize = { version = "0.4.2", optional = true }
|
||||||
rustc-hex = { version = "1.0", optional = true }
|
rustc-hex = { version = "1.0", optional = true }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
|
|
Loading…
Reference in New Issue