# 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" name = "packet_rs" version = "0.4.0" authors = ["Ravi V"] exclude = [ ".github", ".gitignore", "*.pcap", "*.log", "tags", ] description = """ A Scapy like interface to build and define custom packet headers """ readme = "README.md" keywords = [ "networking", "headers", "packets", "generation", "scapy", ] license = "Apache-2.0" repository = "https://github.com/ravi861/packet-rs" [profile.release] lto = true codegen-units = 1 panic = "abort" strip = true [lib] name = "packet_rs" crate-type = [ "cdylib", "rlib", ] [[example]] name = "pkt" [dependencies.bitfield] version = "0.13.2" [dependencies.paste] version = "1.0.5" [dependencies.pyo3] version = "0.16.5" optional = true [dependencies.pyo3_nullify] version = "0.1.0" [features] default = [] python-module = ["pyo3/extension-module"]