-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
51 lines (40 loc) · 1.09 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
[package]
name = "asmkit-rs"
version = "0.1.0"
edition = "2021"
license = "MIT OR Apache-2.0"
readme = "README.md"
description = "Portable assembler toolkit: decoding and encoding of various architectures"
repository = "https://github.com/playx18/asmkit"
keywords = ["assembler", "asm", "jit", "riscv", "x86"]
[lib]
name = "asmkit"
[dependencies]
smallvec = "1.13"
libc = { version = "0.2.162", optional = true }
cfgenius = "0.1"
intrusive-collections = "0.9"
errno = { version = "0.3.9", optional = true }
paste = "1.0"
num-traits = "0.2.19"
derive_more = { version = "1.0.0", features = [
"deref",
"deref_mut",
"try_from",
"add",
] }
[target.'cfg(target_arch="riscv64")'.dependencies]
wasmtime-jit-icache-coherence = { version = "26.0.1", optional = true }
[features]
default = ["jit", "riscv", "x86"]
x86 = []
riscv = []
jit = ["wasmtime-jit-icache-coherence", "libc", "errno"]
[dev-dependencies]
criterion = { version = "0.5", features = ["html_reports"] }
iced-x86 = { version = "1.21", features = ["code_asm"] }
[[bench]]
name = "x86"
harness = false
[profile.release]
panic = "abort"