# 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 = "textfsm-rs"
version = "0.3.0"
authors = ["Rust User <itsvrushabh@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust implementation of TextFSM"
readme = "README.md"
keywords = [
    "textfsm",
    "parser",
    "network",
    "automation",
]
categories = [
    "network-programming",
    "parsing",
]
license = "Apache-2.0"
repository = "https://github.com/itsvrushabh/textfsm-rs"

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

[[bin]]
name = "textfsm"
path = "src/bin/textfsm.rs"

[[example]]
name = "cli-table"
path = "examples/cli-table.rs"

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

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

[[example]]
name = "verify-ntctemplates"
path = "examples/verify-ntctemplates.rs"

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

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

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

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

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

[dependencies.anyhow]
version = "1.0"

[dependencies.clap]
version = "4.5"
features = ["derive"]

[dependencies.csv]
version = "1.4.0"

[dependencies.env_logger]
version = "0.11.8"

[dependencies.fancy-regex]
version = "0.17.0"

[dependencies.log]
version = "0.4.29"

[dependencies.pest]
version = "2.8.5"

[dependencies.pest_derive]
version = "2.8.5"

[dependencies.regex]
version = "1.12.2"

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

[dependencies.serde_json]
version = "1.0.149"

[dependencies.serde_yml]
version = "0.0.12"

[dependencies.thiserror]
version = "2.0.17"

[dev-dependencies.criterion]
version = "0.5"

[dev-dependencies.tempfile]
version = "3.24.0"
