# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "augur"
version = "0.9.2"
authors = ["Marco Ivaldi <raptor@0xdeadbeef.info>"]
build = "build.rs"
exclude = [
    ".cargo/*",
    ".github/*",
    ".img/*",
    ".gitignore",
    ".taplo.toml",
    "tests/*",
    "ida-plugin.json",
    "ida-plugin-stub.py",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Reverse engineering assistant that extracts strings and related pseudocode from a binary file."
homepage = "https://0xdeadbeef.info/"
documentation = "https://0xdeadbeef.info/augur/augur/"
readme = "README.md"
keywords = [
    "reverse-engineering",
    "binary-file",
    "vuln-dev",
    "ida",
    "idalib",
]
categories = [
    "security",
    "command-line-utilities",
]
license = "MIT"
repository = "https://github.com/0xdea/augur"

[lib]
name = "augur"
path = "src/lib.rs"

[[bin]]
name = "augur"
path = "src/main.rs"

[dependencies.anyhow]
version = "1.0"

[dependencies.haruspex]
version = "0.9"

[dependencies.idalib]
version = "0.9"

[dev-dependencies.walkdir]
version = "2.5"

[build-dependencies.idalib-build]
version = "0.9"

[lints.clippy]
allow_attributes = "warn"
allow_attributes_without_reason = "warn"
assertions_on_result_states = "warn"
create_dir = "warn"
dbg_macro = "warn"
exhaustive_enums = "warn"
exhaustive_structs = "warn"
expect_used = "warn"
let_underscore_must_use = "warn"
map_err_ignore = "warn"
mem_forget = "warn"
missing_assert_message = "warn"
missing_docs_in_private_items = "warn"
multiple_crate_versions = "allow"
multiple_inherent_impl = "warn"
multiple_unsafe_ops_per_block = "warn"
needless_raw_strings = "warn"
panic = "warn"
partial_pub_fields = "warn"
rc_mutex = "warn"
redundant_type_annotations = "warn"
renamed_function_params = "warn"
self_named_module_files = "warn"
semicolon_inside_block = "warn"
significant_drop_tightening = "allow"
str_to_string = "warn"
tests_outside_test_module = "warn"
todo = "warn"
undocumented_unsafe_blocks = "warn"
unimplemented = "warn"
unnecessary_safety_comment = "warn"
unnecessary_safety_doc = "warn"
unreachable = "warn"
unseparated_literal_suffix = "warn"
unused_result_ok = "warn"
unused_trait_names = "warn"
unwrap_used = "warn"
verbose_file_reads = "warn"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.cargo]
level = "warn"
priority = -1

[lints.clippy.nursery]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust.missing_docs]
level = "warn"
priority = 0

[profile.dev]
debug = 0

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
panic = "abort"
strip = true
