Impl for u8 by specializing at compile-time (#83)
Encode/Decode has now a new associated const that tells if the type is u8, that allow some kind of specialization when implementing Encode/Decode for `Vec<u8>`
This diff is collapsed.
... | ... | @@ -18,6 +18,14 @@ byte-slice-cast = { version = "0.3", optional = true } |
[dev-dependencies] | ||
serde_derive = { version = "1.0" } | ||
parity-codec-derive = { path = "derive", version = "3.3", default-features = false } | ||
criterion = "0.2" | ||
[[bench]] | ||
name = "benches" | ||
harness = false | ||
[lib] | ||
bench = false | ||
[features] | ||
default = ["std"] | ||
... | ... |
Please register or sign in to comment