forked from casper-ecosystem/casper-client-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
79 lines (66 loc) · 2.32 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
[package]
name = "casper-client"
version = "2.0.0" # when updating, also update 'html_root_url' in lib.rs
authors = ["Marc Brinkmann <[email protected]>", "Fraser Hutchison <[email protected]>", "Zachary Showalter <[email protected]>"]
edition = "2021"
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"
path = "lib/lib.rs"
[[bin]]
name = "casper-client"
path = "src/main.rs"
doc = false
[dependencies]
async-trait = "0.1.59"
base16 = "0.2.1"
casper-hashing = "2.0.0"
casper-types = { version = "3.0.0", features = ["std"] }
clap = { version = "4", features = ["cargo", "deprecated", "wrap_help"] }
clap_complete = "4"
hex-buffer-serde = "0.4.0"
humantime = "2"
itertools = "0.11.0"
jsonrpc-lite = "0.6.0"
num-traits = "0.2.15"
once_cell = "1"
rand = "0.8.5"
reqwest = { version = "0.11.13", features = ["json"] }
schemars = "0.8"
serde = { version = "1", default-features = false, features = ["derive"] }
serde_json = { version = "1", features = ["preserve_order"] }
thiserror = "1.0.34"
tokio = { version = "1.23.0", features = ["macros", "net", "rt-multi-thread", "sync", "time", ]}
uint = "0.9.4"
[dev-dependencies]
tempfile = "3.7.1"
[build-dependencies]
vergen = { version = "7", default-features = false, features = ["git"] }
[patch.crates-io]
casper-hashing = { git = "https://github.com/casper-network/casper-node", branch = "dev" }
casper-types = { git = "https://github.com/casper-network/casper-node", branch = "dev"}
[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/casper-network/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" }