forked from near/omni-transaction-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
72 lines (62 loc) · 1.62 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 = "omni-transaction"
version = "0.1.0"
authors = ["Pagoda <[email protected]>"]
edition = "2021"
publish = false
[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",
] }
# 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" }