-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathCargo.toml
75 lines (60 loc) · 2.04 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 = "near-api"
version = "0.4.0"
authors = [
"akorchyn <[email protected]>",
"frol <[email protected]>",
"Near Inc <[email protected]>",
]
license = "MIT OR Apache-2.0"
edition = "2021"
repository = "https://github.com/near/near-api-rs"
description = "Rust library to interact with NEAR Protocol via RPC API"
exclude = ["resources", "tests"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--document-private-items"]
[dependencies]
borsh = "1.5"
async-trait = "0.1"
reqwest = { version = "0.12", features = ["blocking", "json"] }
futures = "0.3"
# Ad-hoc fix for compilation errors (rustls is used instead of openssl to ease the deployment avoiding the system dependency on openssl)
openssl = { version = "0.10", features = ["vendored"] }
bip39 = { version = "2.0.0", features = ["rand"] }
ed25519-dalek = { version = "2", default-features = false }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0.57"
slipped10 = { version = "0.4.6" }
url = { version = "2", features = ["serde"] }
tokio = { version = "1.0", default-features = false, features = ["time"] }
tracing = "0.1"
bs58 = "0.4"
thiserror = "2"
near-ledger = { version = "0.8.1", optional = true }
near-crypto = "0.28.0"
near-primitives = "0.28"
near-jsonrpc-client = "0.15"
near-jsonrpc-primitives = "0.28"
near-contract-standards = "5.7"
near-sdk = "5.7"
near-account-id = "1.0.0"
near-gas = { version = "0.3", features = ["serde", "borsh"] }
near-token = { version = "0.3", features = ["serde", "borsh"] }
near-abi = "0.4.2"
zstd = "0.13"
keyring = { version = "3.2", features = [
"apple-native",
"windows-native",
"sync-secret-service",
"vendored",
], optional = true }
near-workspaces = { version = "0.16.0", optional = true }
[features]
default = ["ledger", "keystore"]
ledger = ["near-ledger"]
keystore = ["dep:keyring"]
workspaces = ["dep:near-workspaces"]
[dev-dependencies]
tokio = { version = "1.0", default-features = false, features = ["full"] }
near-api = { path = ".", features = ["workspaces"] }