# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "bitcoincore-zmq" version = "1.5.2" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Bitcoin Core ZMQ subscriber with minimal dependencies" homepage = "https://github.com/antonilol/rust-bitcoincore-zmq" readme = "README.md" keywords = [ "bitcoin", "bitcoin-core", "zmq", ] categories = [ "cryptography::cryptocurrencies", "network-programming", "asynchronous", ] license = "MIT" repository = "https://github.com/antonilol/rust-bitcoincore-zmq" [package.metadata.docs.rs] all-features = true cargo-args = [ "-Zunstable-options", "-Zrustdoc-scrape-examples", ] rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "bitcoincore_zmq" path = "src/lib.rs" [[example]] name = "subscribe_async" path = "examples/subscribe_async.rs" required-features = ["async"] [[example]] name = "subscribe_async_timeout" path = "examples/subscribe_async_timeout.rs" doc-scrape-examples = true required-features = ["async"] [[example]] name = "subscribe_blocking" path = "examples/subscribe_blocking.rs" [[example]] name = "subscribe_receiver" path = "examples/subscribe_receiver.rs" [[example]] name = "subscribe_receiver_pool" path = "examples/subscribe_receiver_pool.rs" [dependencies.async_zmq] version = "0.4.0" optional = true [dependencies.bitcoin] version = "0.32.2" [dependencies.futures-util] version = "0.3.30" optional = true [dependencies.zmq] version = "0.10.0" [dependencies.zmq-sys] version = "0.12.0" [dev-dependencies.futures] version = "0.3.30" [dev-dependencies.tokio] version = "1.37.0" features = [ "time", "rt-multi-thread", "macros", ] [features] async = [ "dep:async_zmq", "dep:futures-util", ]