Merge branch 'master' of https://github.com/paritytech/parity-common into sp-more-convert
This commit is contained in:
commit
1b7bd657ae
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "primitive-types"
|
||||
version = "0.1.7"
|
||||
version = "0.2.2"
|
||||
authors = ["Parity Technologies <admin@parity.io>"]
|
||||
license = "Apache-2.0/MIT"
|
||||
homepage = "https://github.com/paritytech/parity-common"
|
||||
|
@ -10,7 +10,7 @@ description = "Primitive types shared by Ethereum and Substrate"
|
|||
fixed-hash = { version = "0.3", path = "../fixed-hash", default-features = false }
|
||||
uint = { version = "0.6", path = "../uint", default-features = false }
|
||||
impl-serde = { version = "0.1", path = "impls/serde", default-features = false, optional = true }
|
||||
impl-codec = { version = "0.1", path = "impls/codec", default-features = false, optional = true }
|
||||
impl-codec = { version = "0.2", path = "impls/codec", default-features = false, optional = true }
|
||||
impl-rlp = { version = "0.1", path = "impls/rlp", default-features = false, optional = true }
|
||||
|
||||
[features]
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
[package]
|
||||
name = "impl-codec"
|
||||
version = "0.1.1"
|
||||
version = "0.2.0"
|
||||
authors = ["Parity Technologies <admin@parity.io>"]
|
||||
license = "Apache-2.0/MIT"
|
||||
homepage = "https://github.com/paritytech/parity-common"
|
||||
description = "Parity Codec serialization support for uint and fixed hash."
|
||||
|
||||
[dependencies]
|
||||
parity-codec = { version = "2.1", default-features = false }
|
||||
parity-codec = { version = "3.0", default-features = false }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
## Description
|
||||
|
||||
Provides facilities to construct big unsigned integer types.
|
||||
Also provides commonly used `U256` and `U512` out of the box.
|
||||
Also provides commonly used `U128, U256` and `U512` out of the box.
|
||||
|
||||
The focus on the provided big unsigned integer types is performance and cross-platform availability.
|
||||
Support a very similar API as the built-in primitive integer types.
|
||||
|
@ -13,7 +13,7 @@ Support a very similar API as the built-in primitive integer types.
|
|||
In your `Cargo.toml` paste
|
||||
|
||||
```
|
||||
uint = "0.5.0-beta"
|
||||
uint = "0.6"
|
||||
```
|
||||
|
||||
Construct your own big unsigned integer type as follows.
|
||||
|
@ -48,7 +48,7 @@ cargo bench
|
|||
- `std`: Use Rust's standard library.
|
||||
- Enables `byteorder/std`, `rustc-hex/std`
|
||||
- Enabled by default.
|
||||
- `common`: Provide commonly used `U256` and `U512` big unsigned integer types.
|
||||
- `common`: Provide commonly used `U128`, `U256` and `U512` big unsigned integer types.
|
||||
- Enabled by default.
|
||||
- `quickcheck`: Enable quickcheck-style property testing
|
||||
- Use with `cargo test --release --features=quickcheck`.
|
||||
|
|
Loading…
Reference in New Issue