# 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-flow-pkt" version = "0.5.0" authors = ["Ahmed Elhassany "] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = """ Netflow(v9)/IPFIX(v10) Protocol representation and serde """ homepage = "https://github.com/NetGauze/NetGauze" readme = "README.md" keywords = [ "ipfix", "netflow", "parser", "protocol", ] categories = [ "network-programming", "parsing", ] license = "Apache-2.0" repository = "https://github.com/NetGauze/NetGauze" [lib] name = "netgauze_flow_pkt" path = "src/lib.rs" [[example]] name = "ipfix" path = "examples/ipfix.rs" [[example]] name = "ipfix-subregs" path = "examples/ipfix-subregs.rs" [[example]] name = "ipfix-vmware" path = "examples/ipfix-vmware.rs" [[example]] name = "netflow" path = "examples/netflow.rs" [[example]] name = "netflow-subregs" path = "examples/netflow-subregs.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.chrono] version = "0.4" features = [ "std", "serde", "std", "serde", ] default-features = false [dependencies.criterion] version = "0.5" optional = true [dependencies.ipnet] version = "2.9" features = [ "serde", "serde", ] [dependencies.lazy_static] version = "1.5" [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 [dependencies.tracing] version = "0.1" 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" [build-dependencies.netgauze-ipfix-code-generator] version = "0.5.0" [build-dependencies.reqwest] version = "0.12" features = [ "blocking", "blocking", ] [build-dependencies.roxmltree] version = "0.20" [features] bench = ["criterion"] codec = [ "tracing", "tokio-util", "bytes", ] default = ["serde"] fuzz = [ "arbitrary", "arbitrary_ext", ] serde = [ "nom", "byteorder", "netgauze-locate", "netgauze-parse-utils", "netgauze-serde-macros", ]