[package]
edition = "2024"
rust-version = "1.96"
name = "packtool"
version = "0.4.0"
authors = ["Nicolas Di Prima <nicolas@primetype.co.uk>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "In memory packing made easy"
homepage = "https://github.com/primetype/packtool"
readme = "README.md"
keywords = [
"packtool",
"packing",
"memory",
"view",
"format",
]
categories = [
"encoding",
"parsing",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/primetype/packtool/"
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
[badges.maintenance]
status = "actively-developed"
[lib]
name = "packtool"
path = "src/lib.rs"
[[example]]
name = "bitcoin"
path = "examples/bitcoin.rs"
[[example]]
name = "tar"
path = "examples/tar.rs"
[[test]]
name = "chain"
path = "tests/chain.rs"
[[test]]
name = "enum"
path = "tests/enum.rs"
[[test]]
name = "struct"
path = "tests/struct.rs"
[[test]]
name = "unit_type"
path = "tests/unit_type.rs"
[dependencies.hex]
version = "0.4"
[dependencies.packtool-macro]
version = "0.4"
[dependencies.thiserror]
version = "2.0"
[dev-dependencies.quickcheck]
version = "1"
[dev-dependencies.quickcheck_macros]
version = "1"