[package]
edition = "2024"
rust-version = "1.88"
name = "idakit-sys"
version = "0.2.0"
build = "build.rs"
links = "ida"
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Raw FFI bindings to IDA Pro's idalib runtime and the idakit C++ facade"
readme = "README.md"
keywords = [
"ida",
"ida-pro",
"ffi",
"bindings",
"reverse-engineering",
]
categories = [
"external-ffi-bindings",
"development-tools",
]
license = "MIT"
repository = "https://github.com/Xevion/idakit"
resolver = "2"
[package.metadata.docs.rs]
default-target = "x86_64-unknown-linux-gnu"
targets = []
[lib]
name = "idakit_sys"
path = "src/lib.rs"
[[example]]
name = "bytesxref"
path = "examples/bytesxref.rs"
[[example]]
name = "decompile"
path = "examples/decompile.rs"
[[example]]
name = "read"
path = "examples/read.rs"
[[example]]
name = "writeop"
path = "examples/writeop.rs"
[[test]]
name = "cxx_lockstep"
path = "tests/cxx_lockstep.rs"
[[test]]
name = "doc_alias"
path = "tests/doc_alias.rs"
[[test]]
name = "traps"
path = "tests/traps.rs"
[dependencies.bitflags]
version = "2.13.0"
[dependencies.cxx]
version = "=1.0.197"
[dependencies.moveit]
version = "0.6.0"
features = ["cxx"]
[dependencies.num_enum]
version = "0.7.6"
[dependencies.strum]
version = "0.28.0"
features = ["derive"]
[dev-dependencies.assert2]
version = "0.4.0"
[dev-dependencies.proptest]
version = "1.11.0"
[dev-dependencies.rstest]
version = "0.26.1"
[build-dependencies.cc]
version = "1"
[build-dependencies.cxx-build]
version = "=1.0.197"
[build-dependencies.dirs]
version = "6.0.0"
[build-dependencies.idakit-sys-codegen]
version = "0.2.0"
[build-dependencies.libloading]
version = "0.9.0"
[lints.clippy]
borrow_as_ptr = "allow"
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_ptr_alignment = "allow"
cast_sign_loss = "allow"
doc_markdown = "allow"
missing_const_for_fn = "allow"
option_if_let_else = "allow"
ptr_as_ptr = "allow"
redundant_pub_crate = "allow"
ref_as_ptr = "allow"
struct_excessive_bools = "allow"
unnecessary_debug_formatting = "allow"
wildcard_imports = "allow"
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
trivial_numeric_casts = "warn"
unsafe_op_in_unsafe_fn = "deny"
unused_lifetimes = "warn"
unused_qualifications = "warn"
[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(coverage_nightly)"]
[lints.rustdoc]
bare_urls = "deny"
broken_intra_doc_links = "deny"
invalid_codeblock_attributes = "deny"
invalid_html_tags = "deny"
invalid_rust_codeblocks = "deny"
missing_crate_level_docs = "deny"
private_intra_doc_links = "deny"
redundant_explicit_links = "deny"
unescaped_backticks = "deny"