resynth 0.4.0

A packet synthesis language
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 = "resynth"
version = "0.4.0"
authors = ["Gianni Tedesco <gianni@scaramanga.co.uk>"]
build = false
include = [
    "src/**/*.rs",
    "Cargo.toml",
    "README.md",
    "LICENSE.txt",
    "examples/*.rsyn",
    "doc/grammar.bnf",
    "doc/parser.dot",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A packet synthesis language"
homepage = "https://github.com/rapid7/resynth"
readme = "README.md"
keywords = [
    "packets",
    "packet-synthesis",
    "traffic-generation",
    "networking",
    "pcap",
]
categories = [
    "command-line-utilities",
    "compilers",
    "network-programming",
]
license = "MIT"
repository = "https://github.com/rapid7/resynth"

[features]
cli = [
    "clap",
    "atty",
    "termcolor",
]
default = ["cli"]

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

[[bin]]
name = "resynth"
path = "src/cli.rs"
required-features = ["cli"]

[dependencies.atty]
version = "0.2.14"
optional = true

[dependencies.bytemuck]
version = "1.25.0"
features = ["derive"]

[dependencies.clap]
version = "4.1"
features = ["cargo"]
optional = true

[dependencies.concat-with]
version = "0.2.9"

[dependencies.derive_more]
version = "2.1.1"
features = [
    "display",
    "error",
    "from",
]

[dependencies.ezpkt]
version = "0.4.0"

[dependencies.lazy-regex]
version = "3.4"

[dependencies.pkt]
version = "0.4.0"

[dependencies.regex]
version = "1.9.5"

[dependencies.termcolor]
version = "1.2"
optional = true

[profile.bench]
lto = true

[profile.release]
lto = true
codegen-units = 8
panic = "abort"
incremental = true