# 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 = "chainlib" version = "0.1.1" authors = ["linfeng yuan "] exclude = ["cosmos-sdk-go/**", "tendermint/**"] autoexamples = false description = "A library to help with creating HD wallets and signing Crypto.org Chain transfer transactions offline." readme = "README.md" keywords = ["blockchain", "chain", "cosmos", "tendermint", "transaction"] categories = ["cryptography", "cryptography::cryptocurrencies", "encoding"] license = "Apache-2.0" repository = "https://github.com/crypto-org-chain/chainlib-rslib-rs" [package.metadata.docs.rs] all-features = true [profile.release] overflow-checks = true [[example]] name = "amino" path = "examples/example_amino.rs" required-features = ["amino"] [[example]] name = "protobuf" path = "examples/example_protobuf.rs" required-features = ["grpc"] [dependencies.anyhow] version = "1.0" features = ["std"] [dependencies.async-trait] version = "0.1" [dependencies.base64] version = "0.13" [dependencies.bitcoin_hashes] version = "0.9" [dependencies.eyre] version = "0.6.4" [dependencies.hdwallet] version = "0.3" [dependencies.hex] version = "0.4" optional = true [dependencies.ledger-transport] version = "0.8" optional = true [dependencies.ledger-transport-hid] version = "0.8" optional = true [dependencies.ledger-zondax-generic] version = "0.8" optional = true [dependencies.log] version = "0.4" [dependencies.prost] version = "0.7" optional = true [dependencies.prost-types] version = "0.7" optional = true [dependencies.rand] version = "0.8" [dependencies.reqwest] version = "0.11.1" features = ["json"] [dependencies.serde] version = "1.0" features = ["derive"] optional = true [dependencies.serde_json] version = "1.0" optional = true [dependencies.signature] version = "1.2.2" [dependencies.sorted-json] version = "0.1" optional = true [dependencies.stdtx] version = "0.4.0" [dependencies.thiserror] version = "1.0" [dependencies.tiny-bip39] version = "0.8" [dependencies.tokio] version = "1.2" features = ["full"] [dependencies.tonic] version = "0.4.0" optional = true [dependencies.zx-bip44] version = "0.1" [dev-dependencies.env_logger] version = "0.8.3" [build-dependencies.prost] version = "0.7" [build-dependencies.prost-build] version = "0.7" [build-dependencies.regex] version = "1" [build-dependencies.tonic] version = "0.4.0" [build-dependencies.tonic-build] version = "0.4.0" [build-dependencies.walkdir] version = "2" [features] amino = ["serde", "serde_json", "sorted-json"] default = ["amino"] grpc = ["tonic", "prost", "prost-types"] ledger = ["ledger-zondax-generic", "ledger-transport-hid", "ledger-transport", "hex"]