# 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.81.0" name = "mutnet" version = "0.7.0" authors = ["Julian Schindel "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Unsafe-free and allocation-free, no-std network protocol parsing and in-place manipulation library." readme = "README.md" keywords = [ "network", "parsing", "no-std", ] categories = [ "parser-implementations", "network-programming", "no-std::no-alloc", "no-std", ] license = "MIT OR Apache-2.0" repository = "https://github.com/arctic-alpaca/mutnet" [profile.bench] opt-level = 3 debug = 2 [lib] name = "mutnet" path = "src/lib.rs" [[example]] name = "parse_from_iface" path = "examples/parse_from_iface.rs" [[bench]] name = "arp" path = "benches/arp.rs" harness = false [[bench]] name = "checksum" path = "benches/checksum.rs" harness = false [[bench]] name = "ethernet" path = "benches/ethernet.rs" harness = false [[bench]] name = "ipv4" path = "benches/ipv4.rs" harness = false [[bench]] name = "ipv4_tcp" path = "benches/ipv4_tcp.rs" harness = false [[bench]] name = "ipv6" path = "benches/ipv6.rs" harness = false [[bench]] name = "ipv6_extensions" path = "benches/ipv6_extensions.rs" harness = false [[bench]] name = "tcp" path = "benches/tcp.rs" harness = false [[bench]] name = "udp" path = "benches/udp.rs" harness = false [[bench]] name = "utils" path = "benches/utils.rs" [dependencies] [dev-dependencies.criterion] version = "0.5.1" [dev-dependencies.etherparse] version = "0.15.0" [dev-dependencies.pcap] version = "2.0.0" [dev-dependencies.rand] version = "0.8.5" features = ["min_const_gen"] [features] remove_checksum = [] verify_arp = ["remove_checksum"] verify_ethernet = ["remove_checksum"] verify_ipv4 = ["remove_checksum"] verify_ipv6 = ["remove_checksum"] verify_ipv6_extensions = ["remove_checksum"] verify_tcp = ["remove_checksum"] verify_udp = ["remove_checksum"] verify_vlan = ["remove_checksum"] [lints.rust.unexpected_cfgs] level = "warn" priority = 0 check-cfg = ["cfg(kani)"]