This repository has been archived by the owner on Jul 25, 2022. It is now read-only.
forked from linfeng-crypto/chainlib-rs
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
75 lines (67 loc) · 2.13 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
[package]
name = "chainlib"
version = "0.1.1"
authors = ["linfeng yuan <linfeng@crypto.com>"]
edition = "2021"
autoexamples = false
license = "Apache-2.0"
repository = "https://github.com/crypto-org-chain/chainlib-rslib-rs"
description = "A library to help with creating HD wallets and signing Crypto.org Chain transfer transactions offline."
readme = "README.md"
categories = ["cryptography", "cryptography::cryptocurrencies", "encoding"]
keywords = ["blockchain", "chain", "cosmos", "tendermint", "transaction"]
exclude = ["cosmos-sdk-go/**", "tendermint/**"]
[dependencies]
serde = { version = "1.0.136", features = ["derive"], optional = true }
sorted-json = { version = "0.1.0", optional = true }
serde_json = { version = "1.0.79", optional = true }
tiny-bip39 = "0.8.2"
anyhow = { version = "1.0.57", features = ["std"] }
hdwallet = "0.3.0"
bitcoin_hashes = "0.10.0"
base64 = "0.13.0"
stdtx = "0.6.0"
thiserror = "1.0.30"
tokio = { version = "1.16.1", features = ["full"] }
ledger-transport = { version = "0.8.0", optional = true }
ledger-transport-hid = { version = "0.8.0", optional = true }
ledger-zondax-generic = { version = "0.8.0", optional = true }
zx-bip44 = { version = "0.1.0", optional = true }
reqwest = { version = "0.11.10", features = ["json"] }
async-trait = "0.1.53"
log = "0.4.16"
tonic = { version = "0.6.2", optional = true }
eyre = "0.6.8"
prost = { version = "0.9.0", optional = true }
prost-types = { version = "0.9.0", optional = true }
hex = { version = "0.4.3", optional = true }
[build-dependencies]
prost-build = "0.9.0"
tonic-build = "0.6.2"
regex = "1.5.5"
walkdir = "2.3.2"
[[example]]
name = "amino"
path = "examples/example_amino.rs"
required-features = ["amino"]
[[example]]
name = "protobuf"
path = "examples/example_protobuf.rs"
required-features = ["grpc"]
[dev-dependencies]
env_logger = "0.9.0"
[features]
default = ["amino"]
ledger = [
"ledger-zondax-generic",
"ledger-transport-hid",
"ledger-transport",
"hex",
"zx-bip44",
]
amino = ["serde", "serde_json", "sorted-json"]
grpc = ["tonic", "prost", "prost-types"]
[profile.release]
overflow-checks = true
[package.metadata.docs.rs]
all-features = true