-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
185 lines (166 loc) · 5.05 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
[package]
name = "NeoRust"
version = "0.1.0"
edition = "2021"
authors = ["R3E Network <contact@r3e.network>"]
license = "MIT OR Apache-2.0"
documentation = "https://docs.rs/neo"
repository = "https://github.com/R3E-Network/neo-rs"
homepage = "https://github.com/R3E-Network/neo-rs"
categories = ["cryptography::cryptocurrencies"]
keywords = ["crypto", "neo", "neo-N3", "web3"]
exclude = [
".github/",
"bin/",
"book/",
"**/tests/",
"**/test-data/",
"**/testdata/",
"scripts/",
]
[lib]
doctest = false
# https://docs.rs/about/metadata
[metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
# https://github.com/integer32llc/rust-playground/blob/c6165a36923db5d99313e6056b5b610a2ede5bb0/top-crates/src/lib.rs#L175-L184
[metadata.playground]
all-features = true
# Explicitly set the resolver to version 2, which is the default for packages with edition >= 2021
# https://doc.rust-lang.org/edition-guide/rust-2021/default-cargo-resolver.html
resolver = "2"
[dependencies]
tokio = { version = "1.32", features = ["full"] }
tokio-tungstenite = { version = "0.23.1", default-features = false }
futures = { version = "0.3.28", default-features = false, features = ["std"] }
futures-core = "0.3.28"
futures-util = "0.3.28"
futures-executor = "0.3.28"
futures-channel = "0.3.28"
futures-locks = { version = "0.7.1", default-features = false }
futures-timer = { version = "3.0.2", default-features = false, features = ["wasm-bindgen"] }
pin-project = "1.1"
reqwest = { version = "0.12.5", default-features = false, features = ["json"] }
url = { version = "2.4", default-features = false }
wiremock = "0.6"
# crypto
elliptic-curve = { version = "0.13.5", default-features = false }
generic-array = { version = "1.1.0", default-features = false }
k256 = { version = "0.13.1", default-features = false, features = ["ecdsa", "std"] }
sha2 = { version = "0.10.7", default-features = false }
tiny-keccak = { version = "2.0.2", default-features = false }
spki = { version = "0.7.2", default-features = false }
# serde
serde = { version = "1.0", features = ["derive"] }
serde_json = { version = "1.0", features = ["raw_value"] }
# macros
proc-macro2 = "1.0"
quote = "1.0"
syn = { version = "2.0", features = ["extra-traits"] }
async-trait = "0.1.73"
auto_impl = "1.1"
# misc
bytes = "1.4"
criterion = "0.5"
dunce = "1.0"
eyre = "0.6"
hex = { package = "const-hex", version = "1.6", features = ["hex"] }
hex-literal = "0.4"
home = "0.5.5"
once_cell = "1.18"
rand = "0.8"
rayon = "1.7"
regex = "1.9"
semver = "1.0"
tempfile = "3.8"
thiserror = "1.0"
toml = "0.8"
walkdir = "2.3"
# tracing
tracing = "0.1.37"
tracing-subscriber = { version = "0.3.17", default-features = false }
tracing-futures = "0.2.5"
# wasm
instant = "0.1.12"
serde_with = "3.3.0"
serde_derive = "1.0.188"
# For base64 encoding
base64 = "0.22.1"
bs58 = "0.5.1"
aes = "0.8.3"
block-modes = "0.9.1"
# For hash function
sha3 = "0.10.8"
# For JSON manipulation
json = "0.12"
rust_decimal = "1.0"
# JSON encode
ripemd = "0.1.3"
# Data structures
bitvec = "1.0"
p256 = "0.13.2"
# Big integer math
num-bigint = "0.4"
# Byte array utils
byte-slice-cast = "1.2"
primitive-types = "0.13.0"
# Serialization
# bincode = "1.3"
rust-crypto = "0.2"
lazy_static = "1.4.0"
num-traits = "0.2.16"
chrono = "0.4.31"
strum = "0.26.3"
strum_macros = "0.26.4"
num_enum = "0.7.0"
derive_more = { version = "1.0.0", features = ["full"] }
indexmap = "2.0.0"
getset = "0.1.2"
educe = "0.6.0"
byteorder = "1.4.3"
serde-big-array = "0.5.1"
blake2 = { version = "0.10.6", default-features = false }
ethereum-types = "0.15.0"
rustc-serialize = "0.3.24"
serde_bytes = "0.11.12"
scrypt = "0.11.0"
rust_decimal_macros = "1.33"
open-fastrlp = { version = "0.1.4", features = ["std", "derive", "ethereum-types"] }
rlp = { version = "0.6.1", features = ["derive"] }
typenum = "1.14"
signature = "2.1.0"
rand_core = "0.6.4"
num-integer = "0.1.45"
#openssl = "0.10"
log = "0.4.14"
ecb = "0.1.2"
cipher = { version = "0.4.4", features = [] }
http = "1.1.0"
jsonwebtoken = "9.2.0"
uint = { git = "https://github.com/paritytech/parity-common", package = "uint", version = "0.10.0", default-features = false }
impl-codec = { version = "0.6", default-features = false, optional = true }
impl-serde = { version = "0.5.0", default-features = false, optional = true }
scale-info = { version = ">=1.0, <3", features = ["derive"], default-features = false, optional = true }
ring = { version = "0.17.8", features = [] }
# aws
rusoto_core = { version = "0.48.0", default-features = false, optional = true }
rusoto_kms = { version = "0.48.0", default-features = false, optional = true }
# ledger
coins-ledger = { version = "0.12.0", default-features = false, optional = true }
protobuf = { version = "=3.2.0", optional = true }
# yubi
yubihsm = { version = "0.42", features = ["mockhsm", "http", "usb"] }
block-padding = "0.3.3"
env_logger = "0.11.3"
async-stream = "0.3.5"
bip39 = { version = "2.1.0", features = ["rand"] }
[dev-dependencies]
mockall = "0.13.0"
tracing = "0.1"
tracing-subscriber = "0.3.18"
[features]
futures = []
ledger = ["coins-ledger"]
aws = []#, "spki"]
#yubi = ["yubihsm"]