-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
77 lines (69 loc) · 2.34 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
[package]
name = "casper-rust-wasm-sdk"
version = "2.0.0"
edition = "2021"
description = "Casper Rust Wasm Web SDK"
repository = "https://github.com/casper-ecosystem/rustSDK"
license = "Apache-2.0"
readme = "docs/README.md"
homepage = "https://www.casper.network"
categories = ["development-tools", "wasm", "web-programming"]
keywords = ["casper", "sdk", "rust", "wasm"]
exclude = [
".*",
"docs/api-wasm",
"docs/images",
"examples",
"pkg",
"pkg-nodejs",
"tests/**",
]
[dependencies]
casper-types = { version = "5.0.0", default-features = false, features = [
"datasize",
] }
casper-client = { version = "2.0.0", default-features = false }
casper-binary-port = { version = "1.0.0" }
casper-binary-port-access = { version = "0.1.0" }
rand = { version = "0.8.5", default-features = false }
wasm-bindgen = "*"
wasm-bindgen-futures = "*"
js-sys = "*"
gloo-utils = { version = "0.2", default-features = false, features = ["serde"] }
serde = { version = "1.0", default-features = false, features = ["derive"] }
serde_json = "1.0"
once_cell = { version = "1.18.0", default-features = false }
chrono = "0.4.31"
num-traits = "0.2"
humantime = "2"
thiserror = "1"
base16 = "0.2.1"
base64 = { version = "0.22.1", default-features = false, features = ["alloc"] }
hex = { version = "0.4.3", default-features = false }
bigdecimal = "0.4"
blake2 = { version = "0.9.0", default-features = false }
reqwest = { version = "0.12.5", default-features = false, features = [
"stream",
] }
futures-util = "*"
async-trait = "0.1.77"
[lib]
crate-type = ["cdylib", "rlib"]
name = "casper_rust_wasm_sdk"
path = "src/lib.rs"
[[bin]]
name = "casper_rust_wasm_sdk"
path = "src/main.rs"
doc = false
[profile.release]
lto = true
[dev-dependencies]
sdk_tests = { path = "tests/integration/rust" }
tokio = { version = "1", features = ["full"] }
ctor = "*"
dotenvy = "0.15.7"
[patch.crates-io]
casper-types = { version = "5.0.0", git = "https://github.com/casper-network/casper-node", branch = "feat-2.0" }
casper-client = { version = "2.0.0", git = "https://github.com/casper-ecosystem/casper-client-rs", branch = "feat-track-node-2.0" }
casper-binary-port = { version = "1.0.0", git = "https://github.com/casper-network/casper-node", branch = "feat-2.0" }
casper-binary-port-access = { version = "0.1.0", git = "https://github.com/casper-ecosystem/casper-binary-port-client", branch = "rustSDK-feat-2.0" }