-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathCargo.toml
43 lines (38 loc) · 1.1 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
[package]
name = "bcos_wasm"
version = "0.1.0"
edition = "2021"
build = "build.rs"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
crate-type = ["staticlib"]
bench = false
[build-dependencies]
cbindgen = "0.20"
[dependencies]
log = "0.4"
env_logger = "0.9.0"
hex = "0.4"
sha3 = "0.10"
wasmtime = { version = "1.0.1", default-features = false, features = [
'async',
'cache',
'wat',
'jitdump',
'parallel-compilation',
'cranelift',
'pooling-allocator',
'memory-init-cow',
] }
futures = "0.3"
once_cell = "1.9.0"
async-std = "1.10.0"
lru = "0.7.2"
libc = { version = "0.2", default-features = false }
# tokio = {version = "1.15.0", features = ["rt","rt-multi-thread"]}
# evmc-declare = { path = "../evmc/bindings/rust/evmc-declare" }
# evmc-vm = { path = "../evmc/bindings/rust/evmc-vm" }
evmc-declare = { git = "https://github.com/FISCO-BCOS/evmc", rev = "b2986bdd68ddf9f35c3ae889c5bee8b643ecb4bd" }
evmc-vm = { git = "https://github.com/FISCO-BCOS/evmc", rev = "b2986bdd68ddf9f35c3ae889c5bee8b643ecb4bd" }
[profile.release]
lto = false