codehelion-artifact 0.1.0

Format-neutral artifact intermediate representation and analysis boundary for codehelion.
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 = "2024"
rust-version = "1.85"
name = "codehelion-artifact"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Format-neutral artifact intermediate representation and analysis boundary for codehelion."
homepage = "https://github.com/libraz/codehelion"
readme = false
license = "Apache-2.0"
repository = "https://github.com/libraz/codehelion"

[features]
archive = [
    "elf",
    "macho",
    "pe",
    "wasm",
    "object/archive",
]
default = [
    "archive",
    "elf",
    "macho",
    "pe",
    "wasm",
]
elf = []
macho = []
pe = [
    "dep:pdb",
    "object/coff",
    "object/pe",
]
wasm = ["dep:wasmparser"]

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

[dependencies.base64]
version = "0.22"

[dependencies.blake3]
version = "1"

[dependencies.cpp_demangle]
version = "0.5"

[dependencies.gimli]
version = "0.31"
features = ["read"]
default-features = false

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

[dependencies.object]
version = "0.39"
features = [
    "read",
    "elf",
    "macho",
    "compression",
]
default-features = false

[dependencies.pdb]
version = "0.8"
optional = true

[dependencies.rustc-demangle]
version = "0.1"

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

[dependencies.thiserror]
version = "2"

[dependencies.wasmparser]
version = "0.254"
optional = true

[dev-dependencies.flate2]
version = "1"

[dev-dependencies.object]
version = "0.39"
features = [
    "write",
    "elf",
    "macho",
    "coff",
]
default-features = false

[dev-dependencies.proptest]
version = "1.6"

[dev-dependencies.serde_json]
version = "1"

[lints.clippy]
dbg_macro = "warn"
expect_used = "warn"
panic = "warn"
todo = "warn"
unimplemented = "warn"
unwrap_used = "warn"

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

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

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

[lints.rust]
missing_docs = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"
unused_qualifications = "warn"

[lints.rust.rust_2024_compatibility]
level = "warn"
priority = -1