-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathCargo.toml
40 lines (36 loc) · 1.11 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
[package]
name = "scale-info"
version = "0.6.0"
authors = ["Parity Technologies <[email protected]>"]
edition = "2018"
license = "Apache-2.0"
readme = "README.md"
repository = "https://github.com/paritytech/scale-info"
documentation = "https://docs.rs/scale-info"
homepage = "https://www.parity.io/"
description = "Info about SCALE encodable Rust types"
categories = ["no-std", "encoding"]
include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE"]
[dependencies]
cfg-if = "1.0"
scale-info-derive = { version = "0.4.0", path = "derive", default-features = false, optional = true }
serde = { version = "1", default-features = false, optional = true, features = ["derive", "alloc"] }
derive_more = { version = "0.99.1", default-features = false, features = ["from"] }
scale = { package = "parity-scale-codec", version = "2.1", default-features = false, features = ["derive"] }
[features]
default = ["std"]
std = [
"scale/std",
]
derive = [
"scale-info-derive"
]
# enables decoding and deserialization of portable scale-info type metadata
decode = [
"scale/full"
]
[workspace]
members = [
"derive",
"test_suite",
]