diff --git a/Cargo.toml b/Cargo.toml index bb9fac368..fcd164017 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,4 @@ [workspace] -resolver = "2" members = [ "fixed-hash", "keccak-hash", diff --git a/ethbloom/CHANGELOG.md b/ethbloom/CHANGELOG.md index ff59062ac..0466d6c53 100644 --- a/ethbloom/CHANGELOG.md +++ b/ethbloom/CHANGELOG.md @@ -5,6 +5,7 @@ The format is based on [Keep a Changelog]. [Keep a Changelog]: http://keepachangelog.com/en/1.0.0/ ## [Unreleased] +- Migrated to 2021 edition, enforcing MSRV of `1.56.1`. [#601](https://github.com/paritytech/parity-common/pull/601) ## [0.11.1] - 2021-09-30 - Combined `scale-info` feature into `codec`. [#593](https://github.com/paritytech/parity-common/pull/593) diff --git a/ethbloom/Cargo.toml b/ethbloom/Cargo.toml index f096d49c2..65f1af299 100644 --- a/ethbloom/Cargo.toml +++ b/ethbloom/Cargo.toml @@ -7,7 +7,8 @@ license = "MIT OR Apache-2.0" documentation = "https://docs.rs/ethbloom" homepage = "https://github.com/paritytech/parity-common" repository = "https://github.com/paritytech/parity-common" -edition = "2018" +edition = "2021" +rust-version = "1.56.1" [dependencies] tiny-keccak = { version = "2.0", features = ["keccak"] } diff --git a/ethereum-types/CHANGELOG.md b/ethereum-types/CHANGELOG.md index 3bcdf7106..7c9fbcfc1 100644 --- a/ethereum-types/CHANGELOG.md +++ b/ethereum-types/CHANGELOG.md @@ -5,6 +5,7 @@ The format is based on [Keep a Changelog]. [Keep a Changelog]: http://keepachangelog.com/en/1.0.0/ ## [Unreleased] +- Migrated to 2021 edition, enforcing MSRV of `1.56.1`. [#601](https://github.com/paritytech/parity-common/pull/601) ## [0.12.1] - 2021-09-30 - Combined `scale-info` feature into `codec`. [#593](https://github.com/paritytech/parity-common/pull/593) diff --git a/ethereum-types/Cargo.toml b/ethereum-types/Cargo.toml index 3bda0e485..06869767c 100644 --- a/ethereum-types/Cargo.toml +++ b/ethereum-types/Cargo.toml @@ -5,7 +5,8 @@ authors = ["Parity Technologies "] license = "MIT OR Apache-2.0" homepage = "https://github.com/paritytech/parity-common" description = "Ethereum types" -edition = "2018" +edition = "2021" +rust-version = "1.56.1" [dependencies] ethbloom = { path = "../ethbloom", version = "0.11", default-features = false } diff --git a/fixed-hash/CHANGELOG.md b/fixed-hash/CHANGELOG.md index b74c4b3e4..8fe709b9f 100644 --- a/fixed-hash/CHANGELOG.md +++ b/fixed-hash/CHANGELOG.md @@ -5,6 +5,7 @@ The format is based on [Keep a Changelog]. [Keep a Changelog]: http://keepachangelog.com/en/1.0.0/ ## [Unreleased] +- Migrated to 2021 edition, enforcing MSRV of `1.56.1`. [#601](https://github.com/paritytech/parity-common/pull/601) ## [0.7.0] - 2021-01-05 ### Breaking diff --git a/fixed-hash/Cargo.toml b/fixed-hash/Cargo.toml index 99419c582..27ad7d217 100644 --- a/fixed-hash/Cargo.toml +++ b/fixed-hash/Cargo.toml @@ -8,7 +8,8 @@ repository = "https://github.com/paritytech/parity-common" description = "Macros to define custom fixed-size hash types" documentation = "https://docs.rs/fixed-hash/" readme = "README.md" -edition = "2018" +edition = "2021" +rust-version = "1.56.1" [package.metadata.docs.rs] features = ["quickcheck", "api-dummy"] diff --git a/keccak-hash/CHANGELOG.md b/keccak-hash/CHANGELOG.md index 455ca717b..15eb38aa5 100644 --- a/keccak-hash/CHANGELOG.md +++ b/keccak-hash/CHANGELOG.md @@ -5,6 +5,7 @@ The format is based on [Keep a Changelog]. [Keep a Changelog]: http://keepachangelog.com/en/1.0.0/ ## [Unreleased] +- Migrated to 2021 edition, enforcing MSRV of `1.56.1`. [#601](https://github.com/paritytech/parity-common/pull/601) ### Breaking - Updated `primitive-types` to 0.10. [#556](https://github.com/paritytech/parity-common/pull/556) diff --git a/keccak-hash/Cargo.toml b/keccak-hash/Cargo.toml index d48ef763e..9979285b2 100644 --- a/keccak-hash/Cargo.toml +++ b/keccak-hash/Cargo.toml @@ -6,7 +6,8 @@ authors = ["Parity Technologies "] repository = "https://github.com/paritytech/parity-common" readme = "README.md" license = "MIT OR Apache-2.0" -edition = "2018" +edition = "2021" +rust-version = "1.56.1" [dependencies] tiny-keccak = { version = "2.0", features = ["keccak"] } diff --git a/kvdb-memorydb/CHANGELOG.md b/kvdb-memorydb/CHANGELOG.md index e9f497217..399ca6cd8 100644 --- a/kvdb-memorydb/CHANGELOG.md +++ b/kvdb-memorydb/CHANGELOG.md @@ -5,6 +5,7 @@ The format is based on [Keep a Changelog]. [Keep a Changelog]: http://keepachangelog.com/en/1.0.0/ ## [Unreleased] +- Migrated to 2021 edition, enforcing MSRV of `1.56.1`. [#601](https://github.com/paritytech/parity-common/pull/601) ### Breaking - Updated `parity-util-mem` to 0.10. [#556](https://github.com/paritytech/parity-common/pull/556) diff --git a/kvdb-memorydb/Cargo.toml b/kvdb-memorydb/Cargo.toml index c60c48432..29d4cfa6f 100644 --- a/kvdb-memorydb/Cargo.toml +++ b/kvdb-memorydb/Cargo.toml @@ -5,7 +5,8 @@ authors = ["Parity Technologies "] repository = "https://github.com/paritytech/parity-common" description = "A key-value in-memory database that implements the `KeyValueDB` trait" license = "MIT OR Apache-2.0" -edition = "2018" +edition = "2021" +rust-version = "1.56.1" [dependencies] parity-util-mem = { path = "../parity-util-mem", version = "0.10", default-features = false, features = ["std"] } diff --git a/kvdb-rocksdb/CHANGELOG.md b/kvdb-rocksdb/CHANGELOG.md index 195922bea..11ea4cb84 100644 --- a/kvdb-rocksdb/CHANGELOG.md +++ b/kvdb-rocksdb/CHANGELOG.md @@ -5,6 +5,7 @@ The format is based on [Keep a Changelog]. [Keep a Changelog]: http://keepachangelog.com/en/1.0.0/ ## [Unreleased] +- Migrated to 2021 edition, enforcing MSRV of `1.56.1`. [#601](https://github.com/paritytech/parity-common/pull/601) ## [0.14.0] - 2021-08-05 ### Breaking diff --git a/kvdb-rocksdb/Cargo.toml b/kvdb-rocksdb/Cargo.toml index 9734453e9..45c2eab7c 100644 --- a/kvdb-rocksdb/Cargo.toml +++ b/kvdb-rocksdb/Cargo.toml @@ -5,7 +5,8 @@ authors = ["Parity Technologies "] repository = "https://github.com/paritytech/parity-common" description = "kvdb implementation backed by RocksDB" license = "MIT OR Apache-2.0" -edition = "2018" +edition = "2021" +rust-version = "1.56.1" [[bench]] name = "bench_read_perf" diff --git a/kvdb-shared-tests/CHANGELOG.md b/kvdb-shared-tests/CHANGELOG.md index 17f7b2501..197bfd68f 100644 --- a/kvdb-shared-tests/CHANGELOG.md +++ b/kvdb-shared-tests/CHANGELOG.md @@ -5,6 +5,7 @@ The format is based on [Keep a Changelog]. [Keep a Changelog]: http://keepachangelog.com/en/1.0.0/ ## [Unreleased] +- Migrated to 2021 edition, enforcing MSRV of `1.56.1`. [#601](https://github.com/paritytech/parity-common/pull/601) ### Breaking - Updated `kvdb` to 0.10. [#556](https://github.com/paritytech/parity-common/pull/556) diff --git a/kvdb-shared-tests/Cargo.toml b/kvdb-shared-tests/Cargo.toml index 356b44766..e63c43370 100644 --- a/kvdb-shared-tests/Cargo.toml +++ b/kvdb-shared-tests/Cargo.toml @@ -2,7 +2,8 @@ name = "kvdb-shared-tests" version = "0.8.0" authors = ["Parity Technologies "] -edition = "2018" +edition = "2021" +rust-version = "1.56.1" description = "Shared tests for kvdb functionality, to be executed against actual implementations" license = "MIT OR Apache-2.0" diff --git a/kvdb/CHANGELOG.md b/kvdb/CHANGELOG.md index 15b66dee7..6ab16be2e 100644 --- a/kvdb/CHANGELOG.md +++ b/kvdb/CHANGELOG.md @@ -8,6 +8,7 @@ The format is based on [Keep a Changelog]. ### Breaking - Updated `parity-util-mem` to 0.10. [#556](https://github.com/paritytech/parity-common/pull/556) +- Migrated to 2021 edition, enforcing MSRV of `1.56.1`. [#601](https://github.com/paritytech/parity-common/pull/601) ## [0.9.0] - 2021-01-27 ### Breaking diff --git a/kvdb/Cargo.toml b/kvdb/Cargo.toml index 66d8a18b6..348761b4f 100644 --- a/kvdb/Cargo.toml +++ b/kvdb/Cargo.toml @@ -5,7 +5,8 @@ authors = ["Parity Technologies "] repository = "https://github.com/paritytech/parity-common" description = "Generic key-value trait" license = "MIT OR Apache-2.0" -edition = "2018" +edition = "2021" +rust-version = "1.56.1" [dependencies] smallvec = "1.0.0" diff --git a/parity-bytes/CHANGELOG.md b/parity-bytes/CHANGELOG.md index 49b2d0857..a3c092d58 100644 --- a/parity-bytes/CHANGELOG.md +++ b/parity-bytes/CHANGELOG.md @@ -5,6 +5,7 @@ The format is based on [Keep a Changelog]. [Keep a Changelog]: http://keepachangelog.com/en/1.0.0/ ## [Unreleased] +- Migrated to 2021 edition, enforcing MSRV of `1.56.1`. [#601](https://github.com/paritytech/parity-common/pull/601) ## [0.1.2] - 2020-03-16 - License changed from GPL3 to dual MIT/Apache2. [#342](https://github.com/paritytech/parity-common/pull/342) diff --git a/parity-bytes/Cargo.toml b/parity-bytes/Cargo.toml index 651369f1c..6d745aca3 100644 --- a/parity-bytes/Cargo.toml +++ b/parity-bytes/Cargo.toml @@ -5,7 +5,8 @@ authors = ["Parity Technologies "] repository = "https://github.com/paritytech/parity-common" description = "byte utilities for Parity" license = "MIT OR Apache-2.0" -edition = "2018" +edition = "2021" +rust-version = "1.56.1" [dependencies] diff --git a/parity-util-mem/CHANGELOG.md b/parity-util-mem/CHANGELOG.md index 3de621c77..de095aad0 100644 --- a/parity-util-mem/CHANGELOG.md +++ b/parity-util-mem/CHANGELOG.md @@ -4,6 +4,9 @@ The format is based on [Keep a Changelog]. [Keep a Changelog]: http://keepachangelog.com/en/1.0.0/ +## [Unreleased] +- Migrated to 2021 edition, enforcing MSRV of `1.56.1`. [#601](https://github.com/paritytech/parity-common/pull/601) + ## [0.10.2] - 2021-09-20 - Switched from `jemallocator` to `tikv-jemallocator`. [#589](https://github.com/paritytech/parity-common/pull/589) diff --git a/parity-util-mem/Cargo.toml b/parity-util-mem/Cargo.toml index 6515cf8fb..af9b7e840 100644 --- a/parity-util-mem/Cargo.toml +++ b/parity-util-mem/Cargo.toml @@ -5,7 +5,8 @@ authors = ["Parity Technologies "] repository = "https://github.com/paritytech/parity-common" description = "Collection of memory related utilities" license = "MIT OR Apache-2.0" -edition = "2018" +edition = "2021" +rust-version = "1.56.1" # Prevent multiple versions from being linked into the same program. links = "parity-util-mem-ban-duplicates" diff --git a/parity-util-mem/derive/CHANGELOG.md b/parity-util-mem/derive/CHANGELOG.md index 545cf7dff..c9a41d07a 100644 --- a/parity-util-mem/derive/CHANGELOG.md +++ b/parity-util-mem/derive/CHANGELOG.md @@ -5,3 +5,4 @@ The format is based on [Keep a Changelog]. [Keep a Changelog]: http://keepachangelog.com/en/1.0.0/ ## [Unreleased] +- Migrated to 2021 edition, enforcing MSRV of `1.56.1`. [#601](https://github.com/paritytech/parity-common/pull/601) diff --git a/parity-util-mem/derive/Cargo.toml b/parity-util-mem/derive/Cargo.toml index d41ba12f5..02d6a9d71 100644 --- a/parity-util-mem/derive/Cargo.toml +++ b/parity-util-mem/derive/Cargo.toml @@ -5,6 +5,8 @@ authors = ["Parity Technologies "] license = "MIT OR Apache-2.0" description = "Crate for memory reporting" repository = "https://github.com/paritytech/pariry-common/parity-util-mem/derive" +edition = "2021" +rust-version = "1.56.1" [lib] path = "lib.rs" diff --git a/primitive-types/CHANGELOG.md b/primitive-types/CHANGELOG.md index 39c1a4e52..a7c1da6b6 100644 --- a/primitive-types/CHANGELOG.md +++ b/primitive-types/CHANGELOG.md @@ -5,6 +5,7 @@ The format is based on [Keep a Changelog]. [Keep a Changelog]: http://keepachangelog.com/en/1.0.0/ ## [Unreleased] +- Migrated to 2021 edition, enforcing MSRV of `1.56.1`. [#601](https://github.com/paritytech/parity-common/pull/601) ## [0.10.1] - 2021-07-02 ### Added diff --git a/primitive-types/Cargo.toml b/primitive-types/Cargo.toml index 7a0b9d9e5..de3732646 100644 --- a/primitive-types/Cargo.toml +++ b/primitive-types/Cargo.toml @@ -5,7 +5,8 @@ authors = ["Parity Technologies "] license = "MIT OR Apache-2.0" homepage = "https://github.com/paritytech/parity-common" description = "Primitive types shared by Ethereum and Substrate" -edition = "2018" +edition = "2021" +rust-version = "1.56.1" [dependencies] fixed-hash = { version = "0.7", path = "../fixed-hash", default-features = false } diff --git a/primitive-types/impls/codec/CHANGELOG.md b/primitive-types/impls/codec/CHANGELOG.md index c7fca7d25..63cf2acca 100644 --- a/primitive-types/impls/codec/CHANGELOG.md +++ b/primitive-types/impls/codec/CHANGELOG.md @@ -5,6 +5,7 @@ The format is based on [Keep a Changelog]. [Keep a Changelog]: http://keepachangelog.com/en/1.0.0/ ## [Unreleased] +- Migrated to 2021 edition, enforcing MSRV of `1.56.1`. [#601](https://github.com/paritytech/parity-common/pull/601) ## [0.5.1] - 2021-07-02 ### Dependencies diff --git a/primitive-types/impls/codec/Cargo.toml b/primitive-types/impls/codec/Cargo.toml index 8721e4333..0e83d4c21 100644 --- a/primitive-types/impls/codec/Cargo.toml +++ b/primitive-types/impls/codec/Cargo.toml @@ -5,7 +5,8 @@ authors = ["Parity Technologies "] license = "MIT OR Apache-2.0" homepage = "https://github.com/paritytech/parity-common" description = "Parity Codec serialization support for uint and fixed hash." -edition = "2018" +edition = "2021" +rust-version = "1.56.1" [dependencies] parity-scale-codec = { version = "2.2.0", default-features = false, features = ["max-encoded-len"] } diff --git a/primitive-types/impls/num-traits/CHANGELOG.md b/primitive-types/impls/num-traits/CHANGELOG.md index e0b657b7d..0cec2af8f 100644 --- a/primitive-types/impls/num-traits/CHANGELOG.md +++ b/primitive-types/impls/num-traits/CHANGELOG.md @@ -5,6 +5,7 @@ The format is based on [Keep a Changelog]. [Keep a Changelog]: http://keepachangelog.com/en/1.0.0/ ## [Unreleased] +- Migrated to 2021 edition, enforcing MSRV of `1.56.1`. [#601](https://github.com/paritytech/parity-common/pull/601) ## [0.1.1] - 2021-06-30 - Added `integer-sqrt` trait support. [#554](https://github.com/paritytech/parity-common/pull/554) diff --git a/primitive-types/impls/num-traits/Cargo.toml b/primitive-types/impls/num-traits/Cargo.toml index 27a8fc82a..bbcd3f02f 100644 --- a/primitive-types/impls/num-traits/Cargo.toml +++ b/primitive-types/impls/num-traits/Cargo.toml @@ -5,7 +5,8 @@ authors = ["Parity Technologies "] license = "MIT OR Apache-2.0" homepage = "https://github.com/paritytech/parity-common" description = "num-traits implementation for uint." -edition = "2018" +edition = "2021" +rust-version = "1.56.1" [dependencies] num-traits = { version = "0.2", default-features = false } diff --git a/primitive-types/impls/rlp/CHANGELOG.md b/primitive-types/impls/rlp/CHANGELOG.md index 749b49f37..a7a98544b 100644 --- a/primitive-types/impls/rlp/CHANGELOG.md +++ b/primitive-types/impls/rlp/CHANGELOG.md @@ -5,6 +5,7 @@ The format is based on [Keep a Changelog]. [Keep a Changelog]: http://keepachangelog.com/en/1.0.0/ ## [Unreleased] +- Migrated to 2021 edition, enforcing MSRV of `1.56.1`. [#601](https://github.com/paritytech/parity-common/pull/601) ## [0.3.0] - 2021-01-05 ### Breaking diff --git a/primitive-types/impls/rlp/Cargo.toml b/primitive-types/impls/rlp/Cargo.toml index 622aa0f37..e85d68e43 100644 --- a/primitive-types/impls/rlp/Cargo.toml +++ b/primitive-types/impls/rlp/Cargo.toml @@ -5,7 +5,8 @@ authors = ["Parity Technologies "] license = "MIT OR Apache-2.0" homepage = "https://github.com/paritytech/parity-common" description = "RLP serialization support for uint and fixed hash." -edition = "2018" +edition = "2021" +rust-version = "1.56.1" [dependencies] rlp = { version = "0.5", path = "../../../rlp", default-features = false } diff --git a/primitive-types/impls/serde/CHANGELOG.md b/primitive-types/impls/serde/CHANGELOG.md index 390cc1581..5d143f916 100644 --- a/primitive-types/impls/serde/CHANGELOG.md +++ b/primitive-types/impls/serde/CHANGELOG.md @@ -5,6 +5,7 @@ The format is based on [Keep a Changelog]. [Keep a Changelog]: http://keepachangelog.com/en/1.0.0/ ## [Unreleased] +- Migrated to 2021 edition, enforcing MSRV of `1.56.1`. [#601](https://github.com/paritytech/parity-common/pull/601) ## [0.3.2] - 2021-11-10 - Supported decoding of hex strings without `0x` prefix. [#598](https://github.com/paritytech/parity-common/pull/598) diff --git a/primitive-types/impls/serde/Cargo.toml b/primitive-types/impls/serde/Cargo.toml index 28c1ae9d5..f94c754ac 100644 --- a/primitive-types/impls/serde/Cargo.toml +++ b/primitive-types/impls/serde/Cargo.toml @@ -2,10 +2,11 @@ name = "impl-serde" version = "0.3.2" authors = ["Parity Technologies "] -edition = "2018" license = "MIT OR Apache-2.0" homepage = "https://github.com/paritytech/parity-common" description = "Serde serialization support for uint and fixed hash." +edition = "2021" +rust-version = "1.56.1" [features] default = ["std"] diff --git a/rlp-derive/CHANGELOG.md b/rlp-derive/CHANGELOG.md index d7b344b76..85516d84b 100644 --- a/rlp-derive/CHANGELOG.md +++ b/rlp-derive/CHANGELOG.md @@ -5,6 +5,7 @@ The format is based on [Keep a Changelog]. [Keep a Changelog]: http://keepachangelog.com/en/1.0.0/ ## [Unreleased] +- Migrated to 2021 edition, enforcing MSRV of `1.56.1`. [#601](https://github.com/paritytech/parity-common/pull/601) ## [0.1.0] - 2020-02-13 - Extracted from parity-ethereum repo. [#343](https://github.com/paritytech/parity-common/pull/343) diff --git a/rlp-derive/Cargo.toml b/rlp-derive/Cargo.toml index 16f7e010e..a1785d7b7 100644 --- a/rlp-derive/Cargo.toml +++ b/rlp-derive/Cargo.toml @@ -5,7 +5,8 @@ authors = ["Parity Technologies "] license = "MIT OR Apache-2.0" description = "Derive macro for #[derive(RlpEncodable, RlpDecodable)]" homepage = "http://parity.io" -edition = "2018" +edition = "2021" +rust-version = "1.56.1" [lib] proc-macro = true diff --git a/rlp/CHANGELOG.md b/rlp/CHANGELOG.md index cf4695203..dedfeef65 100644 --- a/rlp/CHANGELOG.md +++ b/rlp/CHANGELOG.md @@ -5,6 +5,7 @@ The format is based on [Keep a Changelog]. [Keep a Changelog]: http://keepachangelog.com/en/1.0.0/ ## [Unreleased] +- Migrated to 2021 edition, enforcing MSRV of `1.56.1`. [#601](https://github.com/paritytech/parity-common/pull/601) ## [0.5.1] - 2021-07-30 - Fix rlp encoding/decoding for bool. [#572](https://github.com/paritytech/parity-common/pull/572) diff --git a/rlp/Cargo.toml b/rlp/Cargo.toml index 6f346b5ea..f649a7eed 100644 --- a/rlp/Cargo.toml +++ b/rlp/Cargo.toml @@ -5,7 +5,8 @@ description = "Recursive-length prefix encoding, decoding, and compression" repository = "https://github.com/paritytech/parity-common" license = "MIT OR Apache-2.0" authors = ["Parity Technologies "] -edition = "2018" +edition = "2021" +rust-version = "1.56.1" [dependencies] bytes = { version = "1", default-features = false } diff --git a/uint/CHANGELOG.md b/uint/CHANGELOG.md index 73456b577..a5d14c05b 100644 --- a/uint/CHANGELOG.md +++ b/uint/CHANGELOG.md @@ -5,6 +5,7 @@ The format is based on [Keep a Changelog]. [Keep a Changelog]: http://keepachangelog.com/en/1.0.0/ ## [Unreleased] +- Migrated to 2021 edition, enforcing MSRV of `1.56.1`. [#601](https://github.com/paritytech/parity-common/pull/601) ## [0.9.1] - 2021-06-30 - Added `integer_sqrt` method. [#554](https://github.com/paritytech/parity-common/pull/554) diff --git a/uint/Cargo.toml b/uint/Cargo.toml index 1db8710be..5d6a52f21 100644 --- a/uint/Cargo.toml +++ b/uint/Cargo.toml @@ -7,7 +7,8 @@ name = "uint" version = "0.9.1" authors = ["Parity Technologies "] readme = "README.md" -edition = "2018" +edition = "2021" +rust-version = "1.56.1" [dependencies] byteorder = { version = "1.4.2", default-features = false } diff --git a/uint/fuzz/Cargo.toml b/uint/fuzz/Cargo.toml index b549817a5..78119034f 100644 --- a/uint/fuzz/Cargo.toml +++ b/uint/fuzz/Cargo.toml @@ -4,7 +4,8 @@ description = "Fuzzers for uint algorithms" publish = false version = "0.1.0" authors = ["Parity Technologies "] -edition = "2018" +edition = "2021" +rust-version = "1.56.1" [package.metadata] cargo-fuzz = true