Newer
Older
name = "parity-scale-codec"
description = "SCALE - Simple Concatenating Aggregated Little Endians"
version = "1.0.0"
authors = ["Parity Technologies <admin@parity.io>"]
repository = "https://github.com/paritytech/parity-scale-codec"
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 }
bitvec = { version = "0.14.0", default-features = false, features = ["alloc"], optional = true }
byte-slice-cast = { version = "0.3.1", optional = true }
parity-scale-codec-derive = { path = "derive", version = "1.0", default-features = false }
[[bench]]
name = "benches"
harness = false
[lib]
bench = false
derive = ["parity-scale-codec-derive"]
std = ["serde", "bitvec/std"]
bit-vec = ["bitvec", "byte-slice-cast"]
# WARNING: DO _NOT_ USE THIS FEATURE IF YOU ARE WORKING ON CONSENSUS CODE!*
#
# Provides implementations for more data structures than just Vec and Box.
# Concretely it will provide parity-scale-codec implementations for many types
# that can be found in std and/or alloc (nightly).
full = []