forked from casper-ecosystem/casper-client-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
88 lines (75 loc) · 2.14 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
76
77
78
79
80
81
82
83
84
85
86
87
88
[package]
name = "casper-client"
version = "1.4.3" # when updating, also update 'html_root_url' in lib.rs
authors = ["Marc Brinkmann <[email protected]>", "Fraser Hutchison <[email protected]>"]
edition = "2018"
description = "A client library and binary for interacting with the Casper network"
documentation = "https://docs.rs/casper-client"
readme = "README.md"
homepage = "https://casperlabs.io"
repository = "https://github.com/casper-ecosystem/casper-client-rs"
license = "Apache-2.0"
[lib]
name = "casper_client"
crate-type = ["rlib", "cdylib"]
path = "lib/lib.rs"
[[bin]]
name = "casper-client"
path = "src/main.rs"
doc = false
[dependencies]
async-trait = "0.1.51"
base16 = "0.2.1"
base64 = "0.13.0"
casper-execution-engine = "1.4.3"
casper-node = "1.4.3"
casper-hashing = "1.4.2"
casper-types = "1.4.5"
clap = "2"
humantime = "2"
jsonrpc-lite = "0.5.0"
once_cell = "1"
rand = "0.8.4"
reqwest = { version = "0.11.6", features = ["json"] }
serde = { version = "1", default-features = false, features = ["derive"] }
serde_json = "1"
tempfile = "3"
thiserror = "1"
tokio = { version = "1.14", features = ["macros", "net", "rt-multi-thread", "sync", "time"] }
[build-dependencies]
cbindgen = { version = "0.20", optional = true }
[dev-dependencies]
anyhow = "1"
futures = "0.3.18"
hyper = "0.14.15"
semver = "1"
serde = "1"
tower = "0.4.11"
warp = "0.3.2"
warp-json-rpc = "0.3.0"
[features]
default = ["ffi", "casper-mainnet"]
ffi = ["cbindgen"]
casper-mainnet = ["casper-node/casper-mainnet"]
[package.metadata.deb]
features = ["vendored-openssl"]
revision = "0"
assets = [
["./target/release/casper-client", "/usr/bin/casper-client", "755"],
]
extended-description = """
Package for Casper Client to connect to Casper Node.
For information on using package, see https://github.com/CasperLabs/casper-node
"""
[package.metadata.deb.variants.bionic]
name = "casper-client"
revision = "0+bionic"
[package.metadata.deb.variants.focal]
name = "casper-client"
revision = "0+focal"
[package.metadata.rpm]
package = "casper-client"
[package.metadata.rpm.cargo]
buildflags = ["--release"]
[package.metadata.rpm.targets]
casper-client = { path = "/usr/bin/casper-client" }