-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathCargo.toml
73 lines (62 loc) · 1.74 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
[package]
name = "move-resource-viewer"
version = "0.1.3"
authors = ["Alex Koz. <[email protected]>"]
edition = "2018"
[dependencies]
log = "0.4"
anyhow = { version = "1.0", default-features = false }
http = "0.2"
serde = { version = "=1.0.118", features = ["derive", "rc"] }
serde_json = "1.0"
schemars = { version = "0.8", features = ["default", "derive", "preserve_order"], optional = true }
hex = "0.4.2"
# move-lang deps:
libra = { package = "dfibra", git = "https://github.com/dfinance/libra.git", branch = "release-1.0" }
lang = { path = "../lang" }
git-hash = { path = "../common/git-hash" }
compat = { path = "../lang/compat", package = "move-compat" }
dnclient = { path = "../common/dnode-rest-client", package = "dnode-rest-client", optional = true }
# ps:
[dependencies.substrate-api-client]
git = "https://github.com/scs/substrate-api-client.git"
rev = "62afbac0be1928681d8c70565fa0cc39a92cf4c8"
optional = true
[dependencies.keyring]
version = '2.0.0'
package = "sp-keyring"
optional = true
[dependencies.sp-core]
version = '2.0.0'
optional = true
# cli:
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
anyhow = { version = "1.0", default-features = true }
clap = { version = "3.0.0-beta.2", features = ["default", "suggestions", "color"] }
env_logger = "0.8.2"
[features]
default = [
"json-schema",
"dfinance_address",
]
libra_address = [
"lang/libra_address",
"libra/libra_address",
"compat/libra_address",
"dnclient",
]
dfinance_address = [
"lang/dfinance_address",
"libra/dfinance_address",
"compat/dfinance_address",
"dnclient",
]
ps_address = [
"lang/ps_address",
"libra/ps_address",
"compat/ps_address",
"substrate-api-client",
"keyring",
"sp-core",
]
json-schema = [ "schemars", ]