Cargo.toml 1.28 KB
Newer Older
Gav Wood's avatar
Gav Wood committed
[package]
name = "parity-codec"
Gav's avatar
Gav committed
description = "Lightweight, efficient, binary serialization and deserialization codec"
thiolliere's avatar
thiolliere committed
version = "3.0.0"
Gav Wood's avatar
Gav Wood committed
authors = ["Parity Technologies <admin@parity.io>"]
Gav's avatar
Gav committed
license = "Apache-2.0"
repository = "https://github.com/paritytech/parity-codec"
categories = ["encoding"]
Gav Wood's avatar
Gav Wood committed

[dependencies]
Gav's avatar
Gav committed
arrayvec = { version = "0.4", default-features = false }
serde = { version = "1.0", optional = true }
thiolliere's avatar
thiolliere committed
parity-codec-derive = { path = "derive", version = "3.0", default-features = false, optional = true }
thiolliere's avatar
thiolliere committed
[dev-dependencies]
serde_derive = { version = "1.0" }
thiolliere's avatar
thiolliere committed
parity-codec-derive = { path = "derive", version = "3.0", default-features = false }
thiolliere's avatar
thiolliere committed

Gav Wood's avatar
Gav Wood committed
[features]
default = ["std"]
derive = ["parity-codec-derive"]
Gav's avatar
Gav committed

# WARNING: DO _NOT_ USE THIS FEATURE IF YOU ARE WORKING ON CONSENSUS CODE!*
#
# Provides implementations for more data structures than just Vec and Box.
Gav Wood's avatar
Gav Wood committed
# Concretely it will provide parity-codec implementations for many types
# that can be found in std and/or alloc (nightly).
#
# This feature was mainly introduced after it became clear that pDSL requires
# it for the sake of usability of its users.
#
# * For rational about this please visit:
# https://github.com/paritytech/parity-codec/pull/27#issuecomment-453031914
full = []

Gav's avatar
Gav committed
[workspace]
members = [
Bastian Köcher's avatar
Bastian Köcher committed
	"derive",