# 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 = "diem-client" version = "0.0.3" authors = ["Diem Association "] publish = ["crates-io"] description = "Diem JSON-RPC client" homepage = "https://diem.com" license = "Apache-2.0" repository = "https://github.com/diem/diem" resolver = "2" [dependencies.anyhow] version = "1.0.38" [dependencies.bcs] version = "0.1.2" [dependencies.diem-crypto] version = "0.0.3" [dependencies.diem-json-rpc-types] version = "0.0.3" [dependencies.diem-types] version = "0.0.3" [dependencies.futures] version = "0.3.12" optional = true [dependencies.hex] version = "0.4.3" [dependencies.ipnet] version = "2.3" optional = true [dependencies.move-core-types] version = "0.0.3" [dependencies.reqwest] version = "0.11.2" features = ["json"] optional = true [dependencies.serde] version = "1.0.124" features = ["derive"] [dependencies.serde_json] version = "1.0.64" [dependencies.tokio] version = "1.8.1" features = ["time"] optional = true default_features = false [dependencies.tokio-tungstenite] version = "0.14" optional = true [dependencies.tracing] version = "0.1.26" [dependencies.ureq] version = "1.5.4" features = ["json", "native-tls"] optional = true default-features = false [dev-dependencies.diem-types] version = "0.0.3" features = ["fuzzing"] [dev-dependencies.proptest] version = "1.0.0" [dev-dependencies.tempfile] version = "3.2.0" [features] async = ["reqwest", "tokio"] blocking = ["ureq", "ipnet"] default = ["async", "blocking", "faucet", "websocket"] faucet = ["reqwest", "reqwest/blocking", "blocking"] websocket = ["async", "futures", "tokio-tungstenite"] [target."cfg(windows)".dependencies.winapi] version = "0.3.9"