-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathCargo.toml
81 lines (71 loc) · 1.87 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
[package]
name = "omni-transaction"
version = "0.2.0"
authors = ["Proximity Labs Limited"]
license = "Apache-2.0"
edition = "2021"
repository = "https://github.com/near/omni-transaction-rs"
description = "Transaction builder for all chains in Rust"
[lib]
crate-type = ["cdylib", "rlib"]
[profile.release]
codegen-units = 1
# Tell `rustc` to optimize for small code size.
opt-level = "z"
lto = true
debug = false
panic = "abort"
overflow-checks = true
[features]
default = ["all"]
all = ["near", "bitcoin", "evm"]
bitcoin = ["sha2"]
evm = []
near = []
[dependencies]
rlp = "0.6.1"
hex = "0.4.3"
borsh = { version = "1.0.0", features = ["derive"] }
near-sdk = { version = "5.3.0", features = ["schemars"] }
near-account-id = { version = "1.0.0", features = ["schemars"] }
serde-big-array = "0.5.1"
bs58 = "0.5.1"
serde = "1.0"
serde_json = "1.0"
schemars = { version = "0.8" }
sha2 = { version = "0.10.8", optional = true }
[dev-dependencies]
# ethereum
alloy = { version = "0.3.3", features = ["full", "node-bindings", "rlp"] }
alloy-rlp = { version = "0.3.8", features = ["derive"] }
alloy-primitives = { version = "0.8.3" }
# near
near-primitives = { version = "0.25.0" }
near-crypto = { version = "0.25.0" }
near-jsonrpc-client = { git = "https://github.com/omni-rs/near-jsonrpc-client-rs", tag = "v0.12.1" }
near-workspaces = { version = "0.13.0", features = [
"experimental",
"unstable",
] }
# bitcoin
bitcoin = { version = "0.32.0", default-features = false, features = [
"std",
"serde",
"rand-std",
"rand",
"secp-lowmemory",
"secp-recovery",
] }
k256 = { version = "0.13.1", features = [
"sha256",
"ecdsa",
"serde",
"arithmetic",
"expose-field",
] }
# async
tokio = { version = "1.38", features = ["full"] }
# misc
eyre = "0.6"
# testing
omni-testing-utilities = { git = "https://github.com/Omni-rs/omni-testing-utilities", branch = "main" }