generated from tangle-network/blueprint-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
111 lines (95 loc) · 3.56 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
[package]
name = "frost-blueprint"
version = "0.1.1"
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 = "Arm64", os = "Macos", name = "frost-blueprint-aarch64-apple-darwin.tar.xz" },
# { arch = "Amd64", os = "Macos", name = "frost-blueprint-x86_64-apple-darwin.tar.xz" },
# { arch = "Amd64", os = "Macos", name = "frost-blueprint-x86_64-unknown-linux-gnu.tar.xz" },
# ]
[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.4"
default-features = false
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 }
cargo-tangle = "0.2"
blueprint-test-utils = { version = "0.1", default-features = false, features = ["std"] }
alloy-primitives = "0.7.2"
alloy-provider = { version = "0.1", default-features = false, features = ["reqwest", "ws"] }
alloy-signer = { version = "0.1" }
alloy-signer-local = { version = "0.1" }
alloy-rpc-client = "0.4.2"
alloy-network = { version = "0.1" }
alloy-json-abi = "0.7.2"
alloy-sol-types = "0.7.2"
alloy-contract = { version = "0.1" }
[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 = []
# Internal features for end-to-end tests
e2e = []
# The profile that 'dist' will build with
[profile.dist]
inherits = "release"
lto = "thin"