-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathCargo.toml
More file actions
58 lines (47 loc) · 1.61 KB
/
Cargo.toml
File metadata and controls
58 lines (47 loc) · 1.61 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
[package]
name = "near-api"
rust-version.workspace = true
version.workspace = true
authors.workspace = true
license.workspace = true
edition.workspace = true
repository.workspace = true
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.workspace = true
async-trait.workspace = true
base64.workspace = true
reqwest = { workspace = true, features = ["blocking", "json"] }
futures.workspace = true
# Ad-hoc fix for compilation errors (rustls is used instead of openssl to ease the deployment avoiding the system dependency on openssl)
openssl = { workspace = true, features = ["vendored"] }
bip39 = { workspace = true, features = ["rand"] }
serde = { workspace = true, features = ["derive"] }
serde_json.workspace = true
slipped10.workspace = true
url.workspace = true
tokio = { workspace = true, default-features = false, features = ["time"] }
tracing.workspace = true
thiserror.workspace = true
near-ledger = { workspace = true, optional = true }
near-openrpc-client.workspace = true
near-api-types.workspace = true
zstd.workspace = true
keyring = { workspace = true, features = [
"apple-native",
"windows-native",
"sync-secret-service",
"vendored",
], optional = true }
[features]
default = []
ledger = ["near-ledger", "near-api-types/ledger"]
keystore = ["dep:keyring"]
[dev-dependencies]
tokio = { workspace = true, default-features = false, features = ["full"] }
near-sandbox = { workspace = true, features = ["generate"] }
testresult.workspace = true