netflow_parser 0.9.0

Parser for Netflow Cisco V5, V7, V9, IPFIX
Documentation
# 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 = "2024"
name = "netflow_parser"
version = "0.9.0"
authors = ["michael.mileusnich@gmail.com"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Parser for Netflow Cisco V5, V7, V9, IPFIX"
readme = "README.md"
keywords = [
    "netflow",
    "ipfix",
    "parser",
    "network",
    "cisco",
]
categories = [
    "encoding",
    "network-programming",
    "parser-implementations",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/mikemiles-dev/netflow_parser/"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = ["parse_unknown_fields"]
netflow_common = []
parse_unknown_fields = []

[lib]
name = "netflow_parser"
path = "src/lib.rs"

[[example]]
name = "custom_enterprise_fields"
path = "examples/custom_enterprise_fields.rs"

[[example]]
name = "manual_ipfix_creation"
path = "examples/manual_ipfix_creation.rs"

[[example]]
name = "multi_source_comparison"
path = "examples/multi_source_comparison.rs"

[[example]]
name = "netflow_pcap"
path = "examples/netflow_pcap.rs"

[[example]]
name = "netflow_udp_listener_multi_threaded"
path = "examples/netflow_udp_listener_multi_threaded.rs"

[[example]]
name = "netflow_udp_listener_single_threaded"
path = "examples/netflow_udp_listener_single_threaded.rs"

[[example]]
name = "netflow_udp_listener_tokio"
path = "examples/netflow_udp_listener_tokio.rs"

[[example]]
name = "template_hooks"
path = "examples/template_hooks.rs"

[[example]]
name = "template_management_demo"
path = "examples/template_management_demo.rs"

[[test]]
name = "cache_collision"
path = "tests/cache_collision.rs"

[[test]]
name = "dos_edge_cases"
path = "tests/dos_edge_cases.rs"

[[test]]
name = "multi_version_parsing"
path = "tests/multi_version_parsing.rs"

[[test]]
name = "parser_configuration"
path = "tests/parser_configuration.rs"

[[test]]
name = "pcap_integration"
path = "tests/pcap_integration.rs"

[[test]]
name = "pending_flows"
path = "tests/pending_flows.rs"

[[test]]
name = "scoped_parser"
path = "tests/scoped_parser.rs"

[[test]]
name = "serialization"
path = "tests/serialization.rs"

[[test]]
name = "template_cache"
path = "tests/template_cache.rs"

[[test]]
name = "template_hooks"
path = "tests/template_hooks.rs"

[[bench]]
name = "netflow_common_bench"
path = "benches/netflow_common_bench.rs"
harness = false
required-features = ["netflow_common"]

[[bench]]
name = "netflow_ipfix_bench"
path = "benches/netflow_ipfix_bench.rs"
harness = false

[[bench]]
name = "netflow_parser_bench"
path = "benches/netflow_parser_bench.rs"
harness = false

[[bench]]
name = "netflow_v5_bench"
path = "benches/netflow_v5_bench.rs"
harness = false

[[bench]]
name = "netflow_v7_bench"
path = "benches/netflow_v7_bench.rs"
harness = false

[[bench]]
name = "netflow_v9_bench"
path = "benches/netflow_v9_bench.rs"
harness = false

[[bench]]
name = "packet_size_bench"
path = "benches/packet_size_bench.rs"
harness = false

[dependencies.byteorder]
version = "1.5.0"

[dependencies.lru]
version = "0.16"

[dependencies.mac_address]
version = "1.1.5"

[dependencies.nom]
version = "7.1.3"

[dependencies.nom-derive]
version = "0.10.1"

[dependencies.serde]
version = "1.0.166"
features = ["derive"]

[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]

[dev-dependencies.etherparse]
version = "0.19"

[dev-dependencies.hex]
version = "0.4.3"

[dev-dependencies.insta]
version = "1.30.0"
features = ["yaml"]

[dev-dependencies.pcap-parser]
version = "0.17"

[dev-dependencies.serde_json]
version = "1.0.100"

[dev-dependencies.tokio]
version = "1.38.0"
features = ["full"]

[dev-dependencies.tokio-macros]
version = "2.6.0"