forked from nervosnetwork/ckb-vm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
49 lines (42 loc) · 1.16 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
[package]
name = "ckb-vm"
description = "CKB's Virtual machine"
version = "0.20.0-alpha"
license = "MIT"
authors = ["Nervos Core Dev <dev@nervos.org>"]
edition = "2018"
build = "build.rs"
[features]
default = []
# Require asm feature, generates an error if asm cannot be enabled.
asm = []
# Detect if requirements are met, and enable asm feature when we can.
detect-asm = []
enable-chaos-mode-by-default = ["ckb-vm-definitions/enable-chaos-mode-by-default"]
# Disable slow tests to run miri on CI
miri-ci = []
[dependencies]
byteorder = "1"
bytes = "1"
goblin_v023 = { package = "goblin", version = "=0.2.3" }
goblin_v040 = { package = "goblin", version = "=0.4.0" }
scroll = "0.10"
serde = { version = "1.0", features = ["derive"] }
ckb-vm-definitions = { path = "definitions", version = "0.20.0-alpha" }
derive_more = "0.99.2"
rand = "0.7.3"
# Feature detection won't work here
[target.'cfg(any(windows, unix))'.dependencies]
libc = "0.2.47"
memmap = { package ="mapr", version = "0.8.0" }
[build-dependencies]
cc = "1.0"
[dev-dependencies]
criterion = "0.3.0"
proptest = "0.9.1"
[[bench]]
name = "bits_benchmark"
harness = false
[[bench]]
name = "vm_benchmark"
harness = false