forked from paritytech/parity-scale-codec
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
41 lines (36 loc) · 1.35 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
[package]
name = "parity-codec"
description = "Lightweight, efficient, binary serialization and deserialization codec"
version = "3.1.0"
authors = ["Parity Technologies <[email protected]>"]
license = "Apache-2.0"
repository = "https://github.com/paritytech/parity-codec"
categories = ["encoding"]
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-codec-derive = { path = "derive", version = "3.1", default-features = false, optional = true }
[dev-dependencies]
serde_derive = { version = "1.0" }
parity-codec-derive = { path = "derive", version = "3.1", default-features = false }
[features]
default = ["std"]
derive = ["parity-codec-derive"]
std = ["serde"]
# 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-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 = []
[workspace]
members = [
"derive",
]