-
Notifications
You must be signed in to change notification settings - Fork 94
/
Cargo.toml
64 lines (54 loc) · 2 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
[package]
name = "parity-scale-codec"
description = "SCALE - Simple Concatenating Aggregated Little Endians"
version = "3.7.0"
authors = ["Parity Technologies <[email protected]>"]
license = "Apache-2.0"
repository = "https://github.com/paritytech/parity-scale-codec"
categories = ["encoding"]
edition = "2021"
build = "build.rs"
rust-version = "1.60.0"
[dependencies]
arrayvec = { version = "0.7", default-features = false }
serde = { version = "1.0.214", default-features = false, optional = true }
parity-scale-codec-derive = { path = "derive", version = ">= 3.6.8", default-features = false, optional = true }
bitvec = { version = "1", default-features = false, features = ["alloc"], optional = true }
bytes = { version = "1", default-features = false, optional = true }
byte-slice-cast = { version = "1.2.2", default-features = false }
generic-array = { version = "0.14.7", optional = true }
arbitrary = { version = "1.4.1", features = ["derive"], optional = true }
impl-trait-for-tuples = "0.2.2"
[dev-dependencies]
criterion = "0.4.0"
serde_derive = { version = "1.0" }
parity-scale-codec-derive = { path = "derive", default-features = false }
quickcheck = "1.0"
proptest = "1.5.0"
trybuild = "1.0.101"
paste = "1"
rustversion = "1"
[build-dependencies]
rustversion = "1"
[[bench]]
name = "benches"
harness = false
[lib]
bench = false
[features]
default = ["std"]
derive = ["parity-scale-codec-derive"]
std = ["serde/std", "bitvec?/std", "byte-slice-cast/std", "chain-error"]
bit-vec = ["bitvec"]
fuzz = ["std", "arbitrary"]
# Enables the new `MaxEncodedLen` trait.
# NOTE: This is still considered experimental and is exempt from the usual
# SemVer guarantees. We do not guarantee no code breakage when using this.
max-encoded-len = ["parity-scale-codec-derive?/max-encoded-len"]
# Make error fully descriptive with chaining error message.
# Should not be used in a constrained environment.
chain-error = []
# This does not do anthing anymore. Remove with the next major release.
full = []
[workspace]
members = ["derive", "fuzzer"]