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.16.0" 16authors = ["Julian Schmid <[email protected]>"] 17build = false 18exclude = [ 19 ".gitignore", 20 ".travis.yml", 21 ".github/*", 22 ".gitlab-ci.yml", 23 ".travis/*", 24 "appveyor.yml", 25] 26autobins = false 27autoexamples = false 28autotests = false 29autobenches = false 30description = "A library for parsing & writing a bunch of packet based protocols (EthernetII, IPv4, IPv6, UDP, TCP ...)." 31readme = "README.md" 32keywords = [ 33 "ipv4", 34 "ipv6", 35 "vlan", 36 "udp", 37 "tcp", 38] 39categories = [ 40 "network-programming", 41 "parser-implementations", 42 "no-std", 43 "no-std::no-alloc", 44] 45license = "MIT OR Apache-2.0" 46repository = "https://github.com/JulianSchmid/etherparse" 47 48[package.metadata.docs.rs] 49all-features = true 50rustdoc-args = [ 51 "--cfg", 52 "docsrs", 53] 54 55[lib] 56name = "etherparse" 57path = "src/lib.rs" 58 59[[example]] 60name = "ip_defrag" 61path = "examples/ip_defrag.rs" 62 63[[example]] 64name = "read_by_slicing" 65path = "examples/read_by_slicing.rs" 66 67[[example]] 68name = "write_ipv4_udp" 69path = "examples/write_ipv4_udp.rs" 70 71[[example]] 72name = "write_tcp" 73path = "examples/write_tcp.rs" 74 75[[example]] 76name = "write_udp" 77path = "examples/write_udp.rs" 78 79[[test]] 80name = "unit-tests" 81path = "tests/unit-tests.rs" 82 83[dependencies.arrayvec] 84version = "0.7.2" 85default-features = false 86 87[dev-dependencies.proptest] 88version = "1.4.0" 89 90[features] 91default = ["std"] 92std = ["arrayvec/std"] 93