1# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO 2# 3# When uploading crates to the registry Cargo will automatically 4# "normalize" Cargo.toml files for maximal compatibility 5# with all versions of Cargo and also rewrite `path` dependencies 6# to registry (e.g., crates.io) dependencies. 7# 8# If you are reading this file be aware that the original Cargo.toml 9# will likely look very different (and much more reasonable). 10# See Cargo.toml.orig for the original contents. 11 12[package] 13edition = "2021" 14name = "etherparse" 15version = "0.17.0" 16authors = ["Julian Schmid <info@julianschmid.name>"] 17build = false 18exclude = [ 19 ".gitignore", 20 ".travis.yml", 21 ".github/*", 22 ".gitlab-ci.yml", 23 ".travis/*", 24 "appveyor.yml", 25] 26autolib = false 27autobins = false 28autoexamples = false 29autotests = false 30autobenches = false 31description = "A library for parsing & writing a bunch of packet based protocols (EthernetII, IPv4, IPv6, UDP, TCP ...)." 32readme = "README.md" 33keywords = [ 34 "ipv4", 35 "ipv6", 36 "vlan", 37 "udp", 38 "tcp", 39] 40categories = [ 41 "network-programming", 42 "parser-implementations", 43 "no-std", 44 "no-std::no-alloc", 45] 46license = "MIT OR Apache-2.0" 47repository = "https://github.com/JulianSchmid/etherparse" 48 49[package.metadata.docs.rs] 50all-features = true 51rustdoc-args = [ 52 "--cfg", 53 "docsrs", 54] 55 56[features] 57default = ["std"] 58std = ["arrayvec/std"] 59 60[lib] 61name = "etherparse" 62path = "src/lib.rs" 63 64[[example]] 65name = "ip_defrag" 66path = "examples/ip_defrag.rs" 67 68[[example]] 69name = "read_by_slicing" 70path = "examples/read_by_slicing.rs" 71 72[[example]] 73name = "write_ipv4_udp" 74path = "examples/write_ipv4_udp.rs" 75 76[[example]] 77name = "write_tcp" 78path = "examples/write_tcp.rs" 79 80[[example]] 81name = "write_udp" 82path = "examples/write_udp.rs" 83 84[[test]] 85name = "unit-tests" 86path = "tests/unit-tests.rs" 87 88[dependencies.arrayvec] 89version = "0.7.2" 90default-features = false 91 92[dev-dependencies.proptest] 93version = "1.4.0" 94