# 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 = "netgauze-bgp-pkt" version = "0.5.0" authors = ["Ahmed Elhassany "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = """ BGP-4 Protocol representation and serde. """ homepage = "https://github.com/NetGauze/NetGauze" readme = "README.md" keywords = [ "bgp", "parser", "protocol", ] categories = [ "network-programming", "parsing", ] license = "Apache-2.0" repository = "https://github.com/NetGauze/NetGauze" [lib] name = "netgauze_bgp_pkt" path = "src/lib.rs" [[example]] name = "bgp" path = "examples/bgp.rs" [[bench]] name = "serde_benchmark" path = "benches/serde_benchmark.rs" harness = false required-features = ["bench"] [dependencies.arbitrary] version = "1" features = ["derive"] optional = true [dependencies.arbitrary_ext] version = "0.3" optional = true [dependencies.byteorder] version = "1.5" optional = true [dependencies.bytes] version = "1.7" optional = true [dependencies.criterion] version = "0.5" optional = true [dependencies.ipnet] version = "2.9" features = ["serde"] [dependencies.log] version = "0.4" optional = true [dependencies.netgauze-iana] version = "0.5.0" [dependencies.netgauze-locate] version = "0.5.0" optional = true [dependencies.netgauze-parse-utils] version = "0.5.0" optional = true [dependencies.netgauze-serde-macros] version = "0.5.0" optional = true [dependencies.nom] version = "7.1" features = ["alloc"] optional = true default-features = false [dependencies.serde] version = "1.0" features = [ "derive", "derive", ] [dependencies.strum] version = "0.26" [dependencies.strum_macros] version = "0.26" [dependencies.tokio-util] version = "0.7" features = [ "codec", "codec", ] optional = true [dev-dependencies.netgauze-parse-utils] version = "0.5.0" features = ["test-helpers"] [dev-dependencies.netgauze-pcap-reader] version = "0.5.0" [dev-dependencies.pcap-parser] version = "0.16" features = [ "data", "data", ] [dev-dependencies.rstest] version = "0.23" [dev-dependencies.serde_json] version = "1" [features] bench = ["criterion"] codec = [ "log", "tokio-util", "bytes", ] default = ["serde"] fuzz = [ "arbitrary", "arbitrary_ext", ] serde = [ "nom", "byteorder", "netgauze-locate", "netgauze-parse-utils", "netgauze-serde-macros", ]