Newer
Older
name = "parity-scale-codec"
description = "SCALE - Simple Concatenating Aggregated Little Endians"
authors = ["Parity Technologies <admin@parity.io>"]
repository = "https://github.com/paritytech/parity-scale-codec"
arrayvec = { version = "0.7", default-features = false }
serde = { version = "1.0.102", optional = true }
parity-scale-codec-derive = { path = "derive", version = "2.1.3", default-features = false, optional = true }
bitvec = { version = "0.20.1", default-features = false, features = ["alloc"], optional = true }
byte-slice-cast = { version = "1.0.0", default-features = false }
generic-array = { version = "0.14.4", optional = true }
arbitrary = { version = "1.0.1", features = ["derive"], optional = true }
parity-scale-codec-derive = { path = "derive", version = "2.1.3", default-features = false }
[[bench]]
name = "benches"
harness = false
[lib]
bench = false
derive = ["parity-scale-codec-derive"]
std = ["serde", "bitvec/std", "byte-slice-cast/std", "chain-error"]
# Make error fully descriptive with chaining error message.
# Should not be used in a constrained environment.
chain-error = []
# 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