rtlp-lib 0.5.1

Rust library for parsing PCI Express Transaction Layer Packets (TLPs)
Documentation
[package]
name = "rtlp-lib"
version = "0.5.1"
edition = "2024"
rust-version = "1.85"
authors = ["Maciej Grochowski <maciej.grochowski@pm.me>"]
license = "BSD-3-Clause"
description = "Rust library for parsing PCI Express Transaction Layer Packets (TLPs)"
repository = "https://github.com/mmpg-x86/rust_tlplib"
documentation = "https://docs.rs/rtlp-lib"
readme = "README.md"
keywords = ["pcie", "tlp", "pci-express", "parser", "hardware"]
categories = ["hardware-support", "parser-implementations"]

[features]
default = []
## Enables serde Serialize/Deserialize for all public value types
## (TlpMode, TlpError, TlpFmt, TlpType, AtomicOp, FlitTlpType, FlitDW0, FlitOhcA).
## TlpPacket and TlpPacketHeader are NOT included because TlpHeader uses
## a bitfield macro that does not support serde derives.
serde = ["dep:serde"]

[dependencies]
bitfield = "0.14.0"
serde = { version = "1", features = ["derive"], optional = true }

[dev-dependencies]
serde_json = "1.0.149"