-
Notifications
You must be signed in to change notification settings - Fork 4
/
Cargo.toml
48 lines (39 loc) · 1.41 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
[package]
name = "bitcoincore-zmq"
version = "1.5.2"
edition = "2021"
license = "MIT"
description = "Bitcoin Core ZMQ subscriber with minimal dependencies"
homepage = "https://github.com/antonilol/rust-bitcoincore-zmq"
repository = "https://github.com/antonilol/rust-bitcoincore-zmq"
keywords = ["bitcoin", "bitcoin-core", "zmq"]
categories = ["cryptography::cryptocurrencies", "network-programming", "asynchronous"]
[features]
async = ["dep:async_zmq", "dep:futures-util"]
[dependencies]
async_zmq = { version = "0.4.0", optional = true, default-features = false }
bitcoin = { version = "0.32.4", default-features = false, features = ["std"] }
futures-util = { version = "0.3.31", optional = true, default-features = false }
zmq = { version = "0.10.0", default-features = false }
zmq-sys = { version = "0.12.0", default-features = false }
# dependencies used in examples
[dev-dependencies]
futures = "0.3.31"
tokio = { version = "1.41.0", features = ["time", "rt-multi-thread", "macros"] }
[[example]]
name = "subscribe_async_timeout"
required-features = ["async"]
doc-scrape-examples = true
[[example]]
name = "subscribe_async"
required-features = ["async"]
[[example]]
name = "subscribe_blocking"
[[example]]
name = "subscribe_receiver_pool"
[[example]]
name = "subscribe_receiver"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]