-
Notifications
You must be signed in to change notification settings - Fork 37
Expand file tree
/
Copy pathCargo.toml
More file actions
37 lines (31 loc) · 1.16 KB
/
Cargo.toml
File metadata and controls
37 lines (31 loc) · 1.16 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
[package]
name = "elements"
version = "0.12.1"
authors = ["Andrew Poelstra <apoelstra@blockstream.com>"]
description = "Library with support for de/serialization, parsing and executing on data structures and network messages related to Elements"
license = "CC0-1.0"
homepage = "https://github.com/ElementsProject/rust-elements/"
repository = "https://github.com/ElementsProject/rust-elements/"
documentation = "https://docs.rs/elements/"
[features]
default = [ "contracts" ]
contracts = [ "serde", "serde_cbor", "serde_json" ]
"serde-feature" = [
"bitcoin/use-serde",
"serde"
]
"fuzztarget" = []
[dependencies]
bitcoin = "0.23"
# While this dependency is included in bitcoin, we need this to use the macros.
# We should probably try keep this one in sync with the bitcoin version,
# to avoid requiring two version of bitcoin_hashes.
bitcoin_hashes = "0.7.6"
serde = { version = "1.0", optional = true, features = ["derive"] }
# Used for contracts module.
serde_cbor = { version = "0.11.1", optional = true }
serde_json = { version = "<=1.0.44", optional = true }
[dev-dependencies]
rand = "0.6.5"
serde_json = "<=1.0.44"
bitcoin = { version = "0.23", features = ["use-serde"] }