dotscope 0.6.0

A high-performance, cross-platform framework for analyzing and reverse engineering .NET PE executables
Documentation
# 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 = "dotscope"
version = "0.6.0"
authors = ["Johann Kempter <admin@binflip.rs>"]
build = false
exclude = [
    "tests/",
    "docs/",
    "*.log",
    "*.exe",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A high-performance, cross-platform framework for analyzing and reverse engineering .NET PE executables"
homepage = "https://github.com/BinFlip/dotscope"
documentation = "https://docs.rs/dotscope"
readme = "README.md"
keywords = [
    "dotnet",
    "cil",
    "assembly",
    "reverse-engineering",
    "metadata",
]
categories = [
    "parsing",
    "development-tools",
    "encoding",
]
license = "Apache-2.0"
repository = "https://github.com/BinFlip/dotscope"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
compiler = []
default = [
    "legacy-crypto",
    "emulation",
    "x86",
    "deobfuscation",
]
deobfuscation = [
    "compiler",
    "x86",
    "emulation",
]
emulation = ["dep:imbl"]
legacy-crypto = [
    "dep:sha1",
    "dep:md-5",
    "dep:des",
]
skip-expensive-tests = []
x86 = ["dep:iced-x86"]
z3 = ["dep:z3"]

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

[[example]]
name = "analysis"
path = "examples/analysis.rs"
required-features = ["deobfuscation"]

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

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

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

[[example]]
name = "deobfuscate"
path = "examples/deobfuscate.rs"
required-features = ["deobfuscation"]

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

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

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

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

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

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

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

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

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

[[bench]]
name = "assembly"
path = "benches/assembly.rs"
harness = false

[[bench]]
name = "cilassemblyview"
path = "benches/cilassemblyview.rs"
harness = false

[[bench]]
name = "cilobject"
path = "benches/cilobject.rs"
harness = false

[[bench]]
name = "cor20"
path = "benches/cor20.rs"
harness = false

[[bench]]
name = "method_body"
path = "benches/method_body.rs"
harness = false

[[bench]]
name = "resources"
path = "benches/resources.rs"
harness = false

[[bench]]
name = "security"
path = "benches/security.rs"
harness = false

[[bench]]
name = "signatures"
path = "benches/signatures.rs"
harness = false

[[bench]]
name = "streams"
path = "benches/streams.rs"
harness = false

[dependencies.aes]
version = "0.8.4"

[dependencies.bitflags]
version = "2.10.0"

[dependencies.boxcar]
version = "0.2.14"

[dependencies.cbc]
version = "0.1.2"

[dependencies.crossbeam-skiplist]
version = "0.1.3"

[dependencies.dashmap]
version = "6.1.0"

[dependencies.des]
version = "0.8.1"
optional = true

[dependencies.flate2]
version = "1.1.9"

[dependencies.goblin]
version = "0.10.4"

[dependencies.hex]
version = "0.4.3"

[dependencies.hmac]
version = "0.12.1"

[dependencies.iced-x86]
version = "1.21"
features = [
    "std",
    "decoder",
    "instr_info",
]
optional = true
default-features = false

[dependencies.imbl]
version = "7.0.0"
optional = true

[dependencies.log]
version = "0.4.29"

[dependencies.lzma-rs]
version = "0.3.0"

[dependencies.md-5]
version = "0.10.6"
optional = true

[dependencies.memmap2]
version = "0.9.9"

[dependencies.num_cpus]
version = "1.17.0"

[dependencies.ouroboros]
version = "0.18.5"

[dependencies.pbkdf2]
version = "0.12.2"

[dependencies.quick-xml]
version = "0.39.0"

[dependencies.rayon]
version = "1.11.0"

[dependencies.rustc-hash]
version = "2.1.1"

[dependencies.sha1]
version = "0.10.6"
optional = true

[dependencies.sha2]
version = "0.10.9"

[dependencies.strum]
version = "0.27.2"
features = ["derive"]

[dependencies.tempfile]
version = "3.25.0"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.uguid]
version = "2.2.1"

[dependencies.widestring]
version = "1.2.1"

[dependencies.z3]
version = "0.19.7"
optional = true

[dev-dependencies.clap]
version = "4.5.58"
features = ["derive"]

[dev-dependencies.criterion]
version = "0.8.2"

[dev-dependencies.ctrlc]
version = "3.5.2"