[package]
name = "gobin"
version = "0.2.1"
edition = "2024"
authors = ["Johann Kempter <admin@binflip.rs>"]
rust-version = "1.88"
description = "Static analysis library for Go compiled binaries - identification and metadata extraction"
license = "Apache-2.0"
repository = "https://github.com/BinFlip/gobin"
readme = "README.md"
keywords = ["golang", "go", "parser", "reverse-engineering", "binary-analysis"]
categories = ["parser-implementations"]
exclude = ["tests/samples/"]

# gobin is used in malware-analysis pipelines where every input byte is
# adversarial. These lints prevent the parser from panicking on malformed
# input. The `cfg_attr(test, allow(...))` escape hatch in `src/lib.rs`
# lets tests still use `unwrap`/`expect`/`panic` for terseness.
[lints.rust]
missing_docs = "deny"

[lints.clippy]
unwrap_used = "deny"
expect_used = "deny"
panic = "deny"
arithmetic_side_effects = "deny"
indexing_slicing = "deny"

[dependencies]
goblin = "0.10.5"

[dev-dependencies]
