-
Notifications
You must be signed in to change notification settings - Fork 53
Expand file tree
/
Copy pathCargo.toml
More file actions
43 lines (34 loc) · 1.17 KB
/
Cargo.toml
File metadata and controls
43 lines (34 loc) · 1.17 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
[package]
name = "platform-wallet"
version.workspace = true
edition = "2021"
authors = ["Dash Core Team"]
license = "MIT"
description = "Platform wallet with identity management support"
[dependencies]
# Dash Platform packages
dpp = { path = "../rs-dpp" }
dash-sdk = { path = "../rs-sdk", default-features = false, features = ["dashpay-contract", "dpns-contract"] }
platform-encryption = { path = "../rs-platform-encryption" }
# Key wallet dependencies (from rust-dashcore)
key-wallet = { workspace = true }
key-wallet-manager = { workspace = true, optional = true }
# Core dependencies
dashcore = { workspace = true }
# SPV context provider dependencies (optional)
dash-spv = { workspace = true, optional = true }
dash-context-provider = { path = "../rs-context-provider", optional = true }
tokio = { version = "1.41", features = ["sync"], optional = true }
# Standard dependencies
thiserror = "1.0"
async-trait = "0.1"
# Collections
indexmap = "2.0"
[dev-dependencies]
rand = "0.8"
[features]
default = ["bls", "eddsa", "manager"]
bls = ["key-wallet/bls"]
eddsa = ["key-wallet/eddsa"]
manager = ["key-wallet-manager"]
spv-context = ["dep:dash-spv", "dep:dash-context-provider", "dep:tokio"]