[package]
edition = "2021"
rust-version = "1.75"
name = "asm-rs"
version = "0.1.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure Rust multi-architecture runtime assembly engine"
readme = "README.md"
keywords = [
"assembler",
"x86",
"aarch64",
"arm",
"riscv",
]
categories = [
"development-tools",
"encoding",
"no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/hupe1980/asm-rs"
[features]
aarch64 = []
arm = []
avx = ["x86_64"]
avx512 = ["x86_64"]
default = [
"std",
"x86",
"x86_64",
"arm",
"aarch64",
"riscv",
"avx",
"avx512",
"neon",
"riscv_f",
]
neon = ["aarch64"]
riscv = []
riscv_f = ["riscv"]
riscv_v = ["riscv"]
serde = ["dep:serde"]
std = []
sve = ["aarch64"]
x86 = []
x86_64 = []
[lib]
name = "asm_rs"
path = "src/lib.rs"
[[example]]
name = "basic"
path = "examples/basic.rs"
[[example]]
name = "multi_arch"
path = "examples/multi_arch.rs"
[[example]]
name = "preprocessor"
path = "examples/preprocessor.rs"
[[example]]
name = "riscv"
path = "examples/riscv.rs"
[[example]]
name = "shellcode"
path = "examples/shellcode.rs"
[[test]]
name = "cross_validate"
path = "tests/cross_validate.rs"
[[test]]
name = "cross_validate_multi_arch"
path = "tests/cross_validate_multi_arch.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[[test]]
name = "proptest"
path = "tests/proptest.rs"
[[test]]
name = "regression"
path = "tests/regression.rs"
[[test]]
name = "serde"
path = "tests/serde.rs"
[[test]]
name = "wasm_integration"
path = "tests/wasm_integration.rs"
[[test]]
name = "x86"
path = "tests/x86.rs"
[[test]]
name = "x86_64"
path = "tests/x86_64.rs"
[[test]]
name = "x86_64_avx"
path = "tests/x86_64_avx.rs"
[[bench]]
name = "throughput"
path = "benches/throughput.rs"
harness = false
[dependencies.serde]
version = "1"
features = [
"derive",
"alloc",
"rc",
]
optional = true
default-features = false
[dev-dependencies.riscv-decode]
version = "0.2"
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.yaxpeax-arch]
version = "0.3"
default-features = false
[dev-dependencies.yaxpeax-arm]
version = "0.4"
default-features = false
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.bad64]
version = "0.12"
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.iced-x86]
version = "1"
features = [
"std",
"decoder",
"intel",
]
default-features = false
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.proptest]
version = "1"
[target.'cfg(target_arch = "wasm32")'.dev-dependencies.getrandom]
version = "0.3"
features = ["wasm_js"]
[target.'cfg(target_arch = "wasm32")'.dev-dependencies.wasm-bindgen-test]
version = "0.3"