-
Notifications
You must be signed in to change notification settings - Fork 4
/
Cargo.toml
44 lines (40 loc) · 1.17 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
[package]
name = "macroassembler"
version = "1.0.5"
edition = "2021"
authors = ["Adel Prokurov <adel.prokurov@gmail.com>"]
license = "MIT OR Apache-2.0"
description = "A library for writing portable x86-64/riscv64/aarch64 assembly code in Rust"
repository = "https://github.com/playxe/masm-rs"
readme = "README.md"
keywords = ["jit", "assembler", "codegen"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
cfg-if = "1.0.0"
tinyvec = { version = "1.6", features = ["alloc"] }
libc = "0.2"
jit-allocator = "0.2.8"
parking_lot = "0.12"
once_cell = "1.17"
num-traits = "0.2"
paste = "1.0"
errno = "0.3"
num = "0.4"
capstone = { version = "0.11", optional = true }
[target.'cfg(target_arch="x86_64")'.dependencies]
iced-x86 = { version = "1.13", features = ["decoder", "no_std", "gas"], default-features = false, optional = true }
[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3", features = [
"memoryapi",
"winnt",
"sysinfoapi",
"minwinbase",
"errhandlingapi",
"excpt",
"minwindef",
] }
[dev-dependencies]
pico-args = "0.5"
[features]
x86-disasm = ["iced-x86"]
arm-disasm = ["capstone"]