-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
80 lines (74 loc) · 1.73 KB
/
Copy pathCargo.toml
File metadata and controls
80 lines (74 loc) · 1.73 KB
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
76
77
78
79
80
[package]
name = "dash-types"
version = "0.1.0-beta"
description = "Fixed-width and buffered type (de)serialization for the Dash Base SDK"
keywords = ["base-sdk", "dash", "dashcore", "dashpay"]
categories = [
"cryptography::cryptocurrencies",
"encoding",
"no-std",
"wasm",
]
exclude = [
"bench",
"corpus",
"tests",
]
readme = "README.md"
authors.workspace = true
edition.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
rust-version.workspace = true
[features]
default = ["codec"]
std = [
"bitcoin-consensus-encoding?/std",
"bitcoin-primitives?/std",
"hex-conservative?/std",
]
bitcoin-primitives = [
"codec",
"dep:base58ck",
"dep:bitcoin_hashes",
"dep:bitcoin-primitives",
]
codec = [
"dep:bitcoin-consensus-encoding",
"dep:dash-types-marker",
]
full = [
"bitcoin-primitives",
"codec",
"serde",
"std",
]
serde = [
"codec",
"dep:hex-conservative",
"dep:serde",
]
[dependencies]
base58ck = { workspace = true, optional = true, features = ["alloc"] }
bitcoin-consensus-encoding = { workspace = true, optional = true }
bitcoin_hashes = { workspace = true, optional = true, features = ["alloc"] }
bitcoin-primitives = { workspace = true, optional = true, features = ["alloc"] }
cfg-if = "1"
dash-types-marker = { version = "0.1.0-beta", path = "marker", optional = true }
hex-conservative = { workspace = true, features = [
"alloc",
], optional = true }
subtle = { workspace = true }
serde = { version = "1", default-features = false, features = [
"derive",
"alloc",
], optional = true }
zeroize = { workspace = true }
[dev-dependencies]
rstest = "0.25"
serde = { version = "1", features = ["derive"] }
[lints]
workspace = true
[package.metadata.docs.rs]
all-features = true