[[bench]]
harness = false
name = "netflow_common_bench"
path = "benches/netflow_common_bench.rs"
required-features = ["netflow_common"]
[[bench]]
harness = false
name = "netflow_ipfix_bench"
path = "benches/netflow_ipfix_bench.rs"
[[bench]]
harness = false
name = "netflow_parser_bench"
path = "benches/netflow_parser_bench.rs"
[[bench]]
harness = false
name = "netflow_v5_bench"
path = "benches/netflow_v5_bench.rs"
[[bench]]
harness = false
name = "netflow_v7_bench"
path = "benches/netflow_v7_bench.rs"
[[bench]]
harness = false
name = "netflow_v9_bench"
path = "benches/netflow_v9_bench.rs"
[[bench]]
harness = false
name = "packet_size_bench"
path = "benches/packet_size_bench.rs"
[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]
features = ["derive"]
version = "1.0.166"
[dev-dependencies.criterion]
features = ["html_reports"]
version = "0.8"
[dev-dependencies.etherparse]
version = "0.19"
[dev-dependencies.hex]
version = "0.4.3"
[dev-dependencies.insta]
features = ["yaml"]
version = "1.30.0"
[dev-dependencies.pcap-parser]
version = "0.17"
[dev-dependencies.serde_json]
version = "1.0.100"
[dev-dependencies.tokio]
features = ["full"]
version = "1.38.0"
[dev-dependencies.tokio-macros]
version = "2.6.0"
[[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"
[features]
default = ["parse_unknown_fields"]
netflow_common = []
parse_unknown_fields = []
[lib]
name = "netflow_parser"
path = "src/lib.rs"
[package]
authors = ["michael.mileusnich@gmail.com"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["encoding", "network-programming", "parser-implementations"]
description = "Parser for Netflow Cisco V5, V7, V9, IPFIX"
edition = "2024"
keywords = ["netflow", "ipfix", "parser", "network", "cisco"]
license = "MIT OR Apache-2.0"
name = "netflow_parser"
readme = "README.md"
repository = "https://github.com/mikemiles-dev/netflow_parser/"
version = "0.8.2"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[[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 = "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"