Commit 41076c6a authored by thiolliere's avatar thiolliere Committed by Bastian Köcher
Browse files

New release (#146)

* few more type

* update versions
parent 07850f2e
Pipeline #44989 passed with stages
in 11 minutes and 32 seconds
......@@ -40,7 +40,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "byte-slice-cast"
version = "0.3.1"
version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
......@@ -82,7 +82,7 @@ version = "0.1.0"
dependencies = [
"bitvec 0.14.0 (registry+https://github.com/rust-lang/crates.io-index)",
"honggfuzz 0.5.45 (registry+https://github.com/rust-lang/crates.io-index)",
"parity-scale-codec 1.0.2",
"parity-scale-codec 1.0.3",
]
[[package]]
......@@ -272,14 +272,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "parity-scale-codec"
version = "1.0.2"
version = "1.0.3"
dependencies = [
"arrayvec 0.4.10 (registry+https://github.com/rust-lang/crates.io-index)",
"bitvec 0.14.0 (registry+https://github.com/rust-lang/crates.io-index)",
"byte-slice-cast 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
"byte-slice-cast 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
"criterion 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)",
"generic-array 0.12.3 (registry+https://github.com/rust-lang/crates.io-index)",
"parity-scale-codec-derive 1.0.1",
"parity-scale-codec-derive 1.0.2",
"serde 1.0.92 (registry+https://github.com/rust-lang/crates.io-index)",
"serde_derive 1.0.92 (registry+https://github.com/rust-lang/crates.io-index)",
"typenum 1.10.0 (registry+https://github.com/rust-lang/crates.io-index)",
......@@ -288,7 +288,7 @@ dependencies = [
[[package]]
name = "parity-scale-codec-derive"
version = "1.0.1"
version = "1.0.2"
dependencies = [
"proc-macro-crate 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
"proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
......@@ -554,7 +554,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
"checksum autocfg 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "0e49efa51329a5fd37e7c79db4621af617cd4e3e5bc224939808d076077077bf"
"checksum bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)" = "228047a76f468627ca71776ecdebd732a3423081fcf5125585bcd7c49886ce12"
"checksum bitvec 0.14.0 (registry+https://github.com/rust-lang/crates.io-index)" = "9633b74910e1870f50f5af189b08487195cdb83c0e27a71d6f64d5e09dd0538b"
"checksum byte-slice-cast 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "b6cb79b824ad8026dfaf918b0f3f072a6faf916fe843aff07321a738babfd575"
"checksum byte-slice-cast 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "7cbcbf18128ec71d8d4a0d054461ec59fff5b75b7d10a4c9b7c7cb1a379c3e77"
"checksum byteorder 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "a019b10a2a7cdeb292db131fc8113e57ea2a908f6e7894b0c3c671893b65dbeb"
"checksum cast 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "926013f2860c46252efceabb19f4a6b308197505082c609025aa6706c011d427"
"checksum cfg-if 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)" = "b486ce3ccf7ffd79fdeb678eac06a9e6c09fc88d33836340becb8fffe87c5e33"
......
[package]
name = "parity-scale-codec"
description = "SCALE - Simple Concatenating Aggregated Little Endians"
version = "1.0.2"
version = "1.0.3"
authors = ["Parity Technologies <admin@parity.io>"]
license = "Apache-2.0"
repository = "https://github.com/paritytech/parity-scale-codec"
......@@ -11,7 +11,7 @@ edition = "2018"
[dependencies]
arrayvec = { version = "0.4", default-features = false, features = ["array-sizes-33-128", "array-sizes-129-255"] }
serde = { version = "1.0", optional = true }
parity-scale-codec-derive = { path = "derive", version = "1.0", default-features = false, optional = true }
parity-scale-codec-derive = { path = "derive", version = "^1.0.2", default-features = false, optional = true }
bitvec = { version = "0.14.0", default-features = false, features = ["alloc"], optional = true }
byte-slice-cast = { version = "0.3.2", default-features = false, optional = true }
generic-array = { version = "0.12", optional = true }
......@@ -20,7 +20,7 @@ typenum = { version = "1.10", optional = true }
[dev-dependencies]
serde_derive = { version = "1.0" }
parity-scale-codec-derive = { path = "derive", version = "1.0", default-features = false }
parity-scale-codec-derive = { path = "derive", version = "^1.0.2", default-features = false }
criterion = "0.2"
bitvec = "0.14.0"
......
[package]
name = "parity-scale-codec-derive"
description = "Serialization and deserialization derive macro for Parity SCALE Codec"
version = "1.0.1"
version = "1.0.2"
authors = ["Parity Technologies <admin@parity.io>"]
license = "Apache-2.0"
edition = "2018"
......
......@@ -667,6 +667,7 @@ macro_rules! impl_codec_through_iterator {
impl<$($encode_generics)*> EncodeLike for $type {}
impl<$($encode_generics)*> EncodeLike<&[( $( $generics ),* )]> for $type {}
impl<$($encode_generics)*> EncodeLike<$type> for &[( $( $generics ),* )] {}
)*}
}
......@@ -679,6 +680,7 @@ impl_codec_through_iterator! {
impl<T: Encode + Ord> EncodeLike for VecDeque<T> {}
impl<T: Encode + Ord> EncodeLike<&[T]> for VecDeque<T> {}
impl<T: Encode + Ord> EncodeLike<VecDeque<T>> for &[T] {}
impl<T: Encode + Ord> Encode for VecDeque<T> {
fn encode_to<W: Output>(&self, dest: &mut W) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment