[package] name = "ghostcore-zmq" version = "1.4.0" edition = "2021" license = "MIT" description = "Ghost Core ZMQ subscriber with minimal dependencies" homepage = "https://github.com/bleach86/rust-ghostcore-zmq" repository = "https://github.com/bleach86/rust-ghostcore-zmq" keywords = ["bitcoin", "bitcoin-core", "zmq", "Ghost-Coin"] categories = [ "cryptography::cryptocurrencies", "network-programming", "asynchronous", ] [features] async = ["dep:async_zmq", "dep:futures-util"] [dependencies] async_zmq = { version = "0.4.0", optional = true } bitcoin = "0.31.1" futures-util = { version = "0.3.28", optional = true } zmq = "0.10.0" zmq-sys = "0.12.0" # dependencies used in examples [dev-dependencies] futures = "0.3.28" tokio = { version = "1.35.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"]