ip4sum 0.1.0

Highly optimized IPv4 checksum calculation, no-std compatible
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"
name = "ip4sum"
version = "0.1.0"
authors = ["Khashayar Fereidani"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Highly optimized IPv4 checksum calculation, no-std compatible"
documentation = "https://docs.rs/ip4sum"
readme = "README.md"
keywords = [
    "checksum",
    "ipv4",
    "rfc1071",
    "internet",
    "no-std",
]
categories = [
    "network-programming",
    "no-std",
    "embedded",
    "algorithms",
]
license = "MIT"
repository = "https://github.com/fereidani/ip4sum"

[features]
default = []
std = []

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

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

[dependencies]

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.internet-checksum]
version = "0.2"

[dev-dependencies.rand]
version = "0.9"

[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
debug = 0
rpath = false
panic = "abort"
strip = true