# 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 = "2021"
name = "lief"
version = "0.17.6"
authors = ["Romain Thomas <me@romainthomas.fr>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Official Rust bindings for LIEF"
homepage = "https://lief.re"
documentation = "https://lief.re/doc/stable/rust/lief/"
readme = "README.md"
keywords = [
    "ELF",
    "PE",
    "Mach-O",
    "reverse-engineering",
]
categories = [
    "api-bindings",
    "development-tools::debugging",
    "development-tools::profiling",
    "development-tools::build-utils",
    "parsing",
]
license = "Apache-2.0"
repository = "https://github.com/lief-project/LIEF"

[features]
default = ["rustls-tls"]
rustls-tls = ["lief-ffi/rustls-tls"]

[lib]
name = "lief"
path = "src/lib.rs"
doctest = false

[[test]]
name = "assembler_test"
path = "tests/assembler_test.rs"

[[test]]
name = "coff_tests"
path = "tests/coff_tests.rs"

[[test]]
name = "disassembler_test"
path = "tests/disassembler_test.rs"

[[test]]
name = "dwarf_editor_tests"
path = "tests/dwarf_editor_tests.rs"

[[test]]
name = "dwarf_tests"
path = "tests/dwarf_tests.rs"

[[test]]
name = "dyld_shared_cache_test"
path = "tests/dyld_shared_cache_test.rs"

[[test]]
name = "elf_tests"
path = "tests/elf_tests.rs"

[[test]]
name = "logging_test"
path = "tests/logging_test.rs"

[[test]]
name = "macho_tests"
path = "tests/macho_tests.rs"

[[test]]
name = "objc_tests"
path = "tests/objc_tests.rs"

[[test]]
name = "pdb_tests"
path = "tests/pdb_tests.rs"

[[test]]
name = "pe_tests"
path = "tests/pe_tests.rs"

[[test]]
name = "utils"
path = "tests/utils.rs"

[dependencies.bitflags]
version = "2.4"

[dependencies.cxx]
version = "1.0.109"

[dependencies.lief-ffi]
version = "0.17.6"

[dependencies.num-bigint]
version = "0.4"

[dependencies.num-derive]
version = "0.4"

[dependencies.num-traits]
version = "0.2"

[dependencies.tempfile]
version = "3.14.0"
