-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathCargo.toml
More file actions
79 lines (69 loc) · 2.47 KB
/
Cargo.toml
File metadata and controls
79 lines (69 loc) · 2.47 KB
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 = "5.0.1" # when updating, also update 'html_root_url' in lib.rs
authors = [
"Karan Dhareshwar <karan@casper.network>",
]
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://casper.network"
repository = "https://github.com/casper-ecosystem/casper-client-rs"
license = "Apache-2.0"
[lib]
crate-type = ["cdylib", "rlib"]
name = "casper_client"
path = "lib/lib.rs"
[[bin]]
name = "casper-client"
path = "src/main.rs"
doc = false
required-features = ["async-trait", "clap", "clap_complete", "std-fs-io"]
[features]
default = ["async-trait", "clap", "clap_complete", "std-fs-io"]
std-fs-io = ["casper-types/std-fs-io"]
[dependencies]
async-trait = { version = "0.1.74", default-features = false, optional = true }
base16 = "0.2.1"
base64 = { version = "0.22.1", default-features = false }
bytes = { version = "1.6.0", default-features = false }
casper-types = { version = "7.0.0", features = ["std", "json-schema"] }
clap = { version = "~4.5", features = ["cargo", "deprecated"], optional = true }
clap_complete = { version = "~4.5", default-features = false, optional = true }
flate2 = "1.0.30"
hex-buffer-serde = "0.4.0"
humantime = "2.1.0"
itertools = "0.12.0"
jsonrpc-lite = "0.6.0"
num-traits = "0.2.15"
once_cell = "1.18.0"
rand = "0.8.5"
reqwest = { version = "0.12.12", features = ["json"] }
schemars = "0.8.18"
serde = { version = "1", default-features = false, features = ["derive"] }
serde-map-to-array = "1.1.1"
serde_json = { version = "1", features = ["preserve_order"] }
tar = { version = "0.4.41", default-features = false }
thiserror = "1"
tokio = { version = "1.39.3", features = ["macros", "rt", "sync", "time"] }
uint = "0.9.5"
toml = "0.8.22"
[dev-dependencies]
tempfile = "3.8.1"
casper-types = { version = "7.0.0", features = ["std", "json-schema", "testing"] }
[patch.crates-io]
casper-types = { git = "https://github.com/casper-network/casper-node.git", branch = "dev" }
[package.metadata.deb]
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.jammy]
name = "casper-client"
revision = "0+jammy"
[package.metadata.deb.variants.noble]
name = "casper-client"
revision = "0+noble"