# 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 believe there's an error in this file please file an # issue against the rust-lang/cargo repository. If you're # editing this file be aware that the upstream Cargo.toml # will likely look very different (and much more reasonable) [package] edition = "2018" name = "jsonrpc_client" version = "0.7.1" authors = ["Thomas Eizinger "] description = "An async, macro-driven JSON-RPC client with pluggable backends." readme = "../README.md" keywords = ["jsonrpc", "macro", "http", "client"] categories = ["web-programming::http-client", "api-bindings", "network-programming"] license = "MIT OR Apache-2.0" repository = "https://github.com/thomaseizinger/rust-jsonrpc-client" [[example]] name = "reqwest" required-features = ["reqwest", "macros"] [[example]] name = "custom_method" required-features = ["reqwest", "macros"] [[example]] name = "customize_path" required-features = ["reqwest", "macros"] [[example]] name = "bitcoind" required-features = ["reqwest", "macros"] [[example]] name = "surf" required-features = ["surf", "macros"] [[example]] name = "isahc" required-features = ["isahc", "macros"] [dependencies.async-trait] version = "0.1" [dependencies.isahc] version = "0.9" features = ["json"] optional = true [dependencies.jsonrpc_client_macro] version = "0.3" optional = true [dependencies.reqwest] version = "0.11" features = ["json"] optional = true default-features = false [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_json] version = "1" [dependencies.surf] version = "2" optional = true [dependencies.url] version = "2" [dev-dependencies.anyhow] version = "1" [dev-dependencies.bitcoincore-rpc-json] version = "0.12" [dev-dependencies.reqwest] version = "0.11" [dev-dependencies.testcontainers] version = "0.11" [dev-dependencies.tokio] version = "1" features = ["macros", "rt-multi-thread"] [dev-dependencies.trybuild] version = "1" [features] default = ["macros"] macros = ["jsonrpc_client_macro"]