etherparse 0.20.1

A library for parsing & writing a bunch of packet based protocols (EthernetII, IPv4, IPv6, UDP, TCP ...).
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"
rust-version = "1.83.0"
name = "etherparse"
version = "0.20.1"
authors = ["Julian Schmid <info@julianschmid.name>"]
build = false
exclude = [
    ".gitignore",
    ".travis.yml",
    ".github/*",
    ".gitlab-ci.yml",
    ".travis/*",
    "appveyor.yml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A library for parsing & writing a bunch of packet based protocols (EthernetII, IPv4, IPv6, UDP, TCP ...)."
readme = "README.md"
keywords = [
    "ipv4",
    "ipv6",
    "vlan",
    "udp",
    "tcp",
]
categories = [
    "network-programming",
    "parser-implementations",
    "no-std",
    "no-std::no-alloc",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/JulianSchmid/etherparse"

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

[features]
alloc = []
default = ["std"]
std = [
    "alloc",
    "arrayvec/std",
]

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

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

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

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

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

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

[[test]]
name = "unit-tests"
path = "tests/unit-tests.rs"

[dependencies.arrayvec]
version = "0.7.2"
default-features = false

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