minipg 0.2.0

A modern parser generator supporting ANTLR4 grammars with code generation for Rust, Python, and JavaScript
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"
rust-version = "1.93"
name = "minipg"
version = "0.2.0"
authors = ["Ying Kit WONG"]
build = false
exclude = [
    "grammars-v4-cache/**",
    "archived_generators/**",
    "target/**",
    "tests/**",
    ".github/**",
    "*.png",
    "*.pdf",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A modern parser generator supporting ANTLR4 grammars with code generation for Rust, Python, and JavaScript"
homepage = "https://github.com/yingkitw/minipg"
readme = "README.md"
keywords = [
    "parser",
    "generator",
    "antlr",
    "compiler",
    "treesitter",
]
categories = [
    "parser-implementations",
    "development-tools",
    "compilers",
]
license = "Apache-2.0"
repository = "https://github.com/yingkitw/minipg"

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

[features]
cli = []
default = ["cli"]

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

[[bin]]
name = "minipg"
path = "src/main.rs"

[[bench]]
name = "analysis_bench"
path = "benches/analysis_bench.rs"

[[bench]]
name = "codegen_bench"
path = "benches/codegen_bench.rs"

[[bench]]
name = "parser_bench"
path = "benches/parser_bench.rs"

[[bench]]
name = "performance_bench"
path = "benches/performance_bench.rs"

[dependencies.anyhow]
version = "1.0"

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

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2.0"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dev-dependencies.proptest]
version = "1.0"