# 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"
rust-version = "1.85"
name = "dnfile"
version = "0.3.0"
authors = [
    "Marirs <marirs@gmail.com>",
    "Andrey Mnatsakanov <andrey@3ig.kiev.ua>",
    "Jorge Alejandro Durán Royo<jorge.duran.royo@gmail.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = ".NET binary extractor"
homepage = "https://github.com/marirs/dnfile-rs"
readme = "README.md"
keywords = [
    "dotnet",
    "binary",
    "extractor",
    "pe",
]
categories = ["parsing"]
license = "Apache-2.0"
repository = "https://github.com/marirs/dnfile-rs"

[features]
cli = [
    "dep:clap",
    "dep:prettytable-rs",
]
default = []

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

[[bin]]
name = "dndump"
path = "src/bin/dndump.rs"
required-features = ["cli"]

[[example]]
name = "dnfile"
path = "examples/dnfile.rs"

[dependencies.byteorder]
version = "1"

[dependencies.clap]
version = "4"
features = ["derive"]
optional = true

[dependencies.goblin]
version = "0.10"
features = ["alloc"]

[dependencies.prettytable-rs]
version = "0.10"
optional = true

[dependencies.regex]
version = "1"

[dependencies.scroll]
version = "0.13"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.uuid]
version = "1"

[dependencies.walkdir]
version = "2"
