mrt_ingester 0.2.0

High-performance parser for MRT (Multi-threaded Routing Toolkit) routing data files
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 = "mrt_ingester"
version = "0.2.0"
build = false
exclude = [
    "data.rib",
    "target/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance parser for MRT (Multi-threaded Routing Toolkit) routing data files"
readme = "README.md"
keywords = [
    "mrt",
    "bgp",
    "routing",
    "network",
    "parser",
]
categories = [
    "parser-implementations",
    "network-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/fastnetmon/mrt-ingester"

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

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

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

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

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

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

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

[dependencies.byteorder]
version = "1"

[dependencies.flate2]
version = "1"

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

[dev-dependencies.memmap2]
version = "0.9"

[dev-dependencies.pprof]
version = "0.15"
features = [
    "flamegraph",
    "criterion",
]

[profile.bench]
debug = 2

[profile.release]
lto = true
codegen-units = 1