-
Notifications
You must be signed in to change notification settings - Fork 30
/
Cargo.toml
75 lines (69 loc) · 1.99 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
65
66
67
68
69
70
71
72
73
74
75
[package]
name = "scale-info"
description = "Info about SCALE encodable Rust types"
include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE"]
version.workspace = true
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
readme.workspace = true
repository.workspace = true
documentation.workspace = true
homepage.workspace = true
categories.workspace = true
[dependencies]
bitvec = { version = "1", default-features = false, features = ["alloc"], optional = true }
cfg-if = "1.0"
scale-info-derive = { version = "2.11.6", path = "derive", default-features = false, optional = true }
serde = { version = "1", default-features = false, optional = true, features = ["derive", "alloc"] }
derive_more = { version = "1.0.0", default-features = false, features = ["from"] }
scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] }
schemars = { version = "0.8", optional = true }
[dev-dependencies]
scale-info-derive = { version = "2.11.6", path = "derive" }
[features]
default = ["std"]
std = [
"bitvec?/std",
"scale/std",
]
derive = [
"scale-info-derive"
]
# Include rustdoc strings in the type metadata.
docs = [
"scale-info-derive/docs"
]
# Enables decoding and deserialization of portable scale-info type metadata.
decode = [
"scale/full"
]
# Enables type information for bitvec types, matching the name of the parity-scale-codec feature.
bit-vec = [
"bitvec"
]
# Enables JSON Schema generation.
schema = [
"std",
"schemars"
]
[workspace]
members = [
"derive",
"test_suite",
]
[workspace.package]
version = "2.11.6"
authors = [
"Parity Technologies <[email protected]>",
"Centrality Developers <[email protected]>",
]
edition = "2021"
rust-version = "1.60.0"
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/"
categories = ["no-std", "encoding"]