generated from tangle-network/blueprint-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
72 lines (60 loc) · 2.23 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
[package]
name = "txrelayer-blueprint"
version = "0.1.1"
edition = "2021"
description = "A Free Transaction Relayer on Tangle built as a blueprint"
authors = ["Shady Khalifa <dev+github@shadykhalifa.me>"]
license = "MIT OR Apache-2.0"
homepage = "https://tangle.tools"
repository = "https://github.com/tangle-network/txrelayer-blueprint"
readme = "README.md"
categories = ["cryptography", "cryptography::cryptocurrencies"]
keywords = ["tangle", "blueprint", "avs"]
rust-version = "1.81"
[features]
default = ["gadget"]
gadget = ["color-eyre", "tracing-subscriber"]
[dependencies]
thiserror = "^2"
blueprint-sdk = { git = "https://github.com/tangle-network/gadget-workspace", branch = "main", features = [
"tangle",
"macros",
] }
axum = { version = "0.8", features = ["macros"] }
tower-http = { version = "0.6.1", features = ["timeout", "trace", "cors"] }
serde = { version = "1.0", features = ["derive"] }
futures = { version = "0.3", default-features = false }
config = { version = "0.15", default-features = false, features = ["json", "toml"] }
color-eyre = { version = "0.6", optional = true }
tracing-subscriber = { version = "0.3", features = ["env-filter"], optional = true }
# Always use the vendored version of openssl to avoid linking issues
openssl = { version = "*", features = ["vendored"] }
[dependencies.alloy]
version = "^0.9"
features = ["sol-types", "contract", "network", "providers", "rpc", "signers", "signer-local"]
[build-dependencies]
blueprint-sdk = { git = "https://github.com/tangle-network/gadget-workspace", branch = "main", features = ["build"] }
[dev-dependencies]
blueprint-sdk = { git = "https://github.com/tangle-network/gadget-workspace", branch = "main", features = [
"testing",
"tangle",
] }
[lib]
path = "src/lib.rs"
[[bin]]
name = "txrelayer-blueprint"
path = "src/main.rs"
# The profile that 'dist' will build with
[profile.dist]
inherits = "release"
lto = "thin"
[package.metadata.blueprint]
manager = { Evm = "HelloBlueprint" }
[[package.metadata.gadget.Native.sources]]
owner = "tangle-network"
repo = "txrelayer-blueprint"
tag = "0.1.0"
binaries = [
{ arch = "Amd64", os = "Linux", name = "amd64-linux-txrelayer-blueprint-gadget" },
{ arch = "Arm64", os = "Linux", name = "arm64-linux-txrelayer-blueprint-gadget" },
]