generated from tangle-network/blueprint-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
97 lines (82 loc) · 3.06 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
[package]
name = "frost-blueprint"
version = "0.1.0"
edition = "2021"
description = "FROST Blueprint built using Tangle Gadget SDK"
authors = ["Webb Technologies Inc."]
license = "Unlicense"
homepage = "https://github.com/tangle-network/frost-blueprint"
repository = "https://github.com/tangle-network/frost-blueprint"
readme = "README.md"
categories = ["cryptography", "cryptography::cryptocurrencies"]
keywords = ["tangle", "blueprint", "avs"]
rust-version = "1.81"
[lib]
path = "src/lib.rs"
[[bin]]
name = "frost-blueprint"
path = "src/main.rs"
[package.metadata.blueprint]
manager = { Evm = "FrostBlueprint" }
# [[package.metadata.gadget.Native.sources]]
# owner = "tangle-network"
# repo = "frost-blueprint"
# tag = "0.1.0"
# binaries = [
# { arch = "Amd64", os = "Linux", name = "amd64-linux-frost-blueprint" },
# { arch = "Arm64", os = "Linux", name = "arm64-linux-frost-blueprint" },
# ]
[dependencies]
tracing = "0.1"
thiserror = "1.0"
displaydoc = "0.2.5"
async-trait = "0.1"
color-eyre = "0.6"
structopt = "0.3.26"
hex = "0.4"
tokio = { version = "^1", default-features = false, features = ["full", "rt-multi-thread"] }
tokio-stream = { version = "0.1", default-features = false }
tracing-subscriber = { version = "0.3", features = ["parking_lot", "env-filter"] }
serde = { version = "^1", default-features = false, features = ["alloc"] }
serde_json = { version = "1.0", default-features = false, features = ["alloc"] }
rand_chacha = { version = "0.3.1", default-features = false }
# FROST
frost-core = { version = "2.0", default-features = false, features = ["serialization", "cheater-detection"] }
frost-ed25519 = { version = "2.0", default-features = false, features = ["serialization", "cheater-detection"] }
frost-secp256k1 = { version = "2.0", default-features = false, features = ["serialization", "cheater-detection"] }
sled = { version = "0.34", default-features = false, optional = true }
round-based = { version = "0.3.0", default-features = false, features = ["derive"] }
[dependencies.gadget-sdk]
version = "0.3"
default-features = false
path = "../gadget/sdk"
features = ["getrandom"]
[dev-dependencies]
tokio = { version = "^1", default-features = false, features = ["full", "rt-multi-thread"] }
frost-core = { version = "2.0", default-features = false, features = ["serialization", "cheater-detection", "internals"] }
round-based = { version = "0.3.0", default-features = false, features = ["derive", "dev"] }
proptest = { version = "1.5.0", default-features = false, features = ["std", "bit-set", "fork", "timeout"] }
test-strategy = { version = "0.4.0", default-features = false }
[dev-dependencies.blueprint-test-utils]
version = "0.1"
default-features = false
path = "../gadget/blueprint-test-utils"
features = ["std"]
[dev-dependencies.cargo-tangle]
version = "0.2"
path = "../gadget/cli"
[build-dependencies]
blueprint-metadata = "0.1.6"
[features]
default = ["std", "kv-sled"]
std = [
"gadget-sdk/std",
"frost-core/std",
"frost-ed25519/std",
"frost-secp256k1/std",
"serde_json/std",
"serde/std",
"rand_chacha/std",
]
kv-sled = ["sled"]
kv-mem = []