[package]
edition = "2021"
rust-version = "1.70"
name = "rustine"
version = "0.1.1"
authors = ["Rustine Contributors"]
build = false
exclude = [
"benches/",
"cliff.toml",
"clippy.toml",
"CODE_OF_CONDUCT.md",
"CONTRIBUTING.md",
"deny.toml",
"dist/",
"docs/",
"examples/",
"fixtures/",
"fuzz/",
"Gelatin/",
"pgo-build.*",
"Rustine/*.pyd",
"SECURITY.md",
"BENCHMARKS.md",
"PERFORMANCE_ANALYSIS.md",
".editorconfig",
".github/",
".pre-commit-config.yaml",
".readthedocs.yaml",
"pyproject.toml",
"rustfmt.toml",
"*.pdb",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance Gel syntax parser transforming to JSON/XML (Rust + PyO3)"
readme = "README.md"
keywords = [
"parser",
"rustine",
"gelatin",
"json",
"xml",
]
categories = [
"parsing",
"text-processing",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/bigmars86/rustine"
resolver = "2"
[features]
bench = []
cli = ["clap"]
default = ["python"]
jemalloc = ["tikv-jemallocator"]
mimalloc = ["mimalloc-dep"]
mmap = ["memmap2"]
parallel = ["rayon"]
profiling = []
python = ["pyo3/extension-module"]
[lib]
name = "rustine"
crate-type = [
"cdylib",
"rlib",
]
path = "src/lib.rs"
[[bin]]
name = "rgel"
path = "src/main.rs"
required-features = ["cli"]
[[test]]
name = "alternation_parse"
path = "tests/alternation_parse.rs"
[[test]]
name = "auto_leave"
path = "tests/auto_leave.rs"
[[test]]
name = "basic"
path = "tests/basic.rs"
[[test]]
name = "clear_queue"
path = "tests/clear_queue.rs"
[[test]]
name = "debug_lexer"
path = "tests/debug_lexer.rs"
[[test]]
name = "debug_parser"
path = "tests/debug_parser.rs"
[[test]]
name = "diagnostics"
path = "tests/diagnostics.rs"
[[test]]
name = "do_fail"
path = "tests/do_fail.rs"
[[test]]
name = "do_next_return"
path = "tests/do_next_return.rs"
[[test]]
name = "do_return_levels"
path = "tests/do_return_levels.rs"
[[test]]
name = "do_say_warn"
path = "tests/do_say_warn.rs"
[[test]]
name = "do_skip"
path = "tests/do_skip.rs"
[[test]]
name = "dot_path"
path = "tests/dot_path.rs"
[[test]]
name = "error_variants"
path = "tests/error_variants.rs"
[[test]]
name = "escape_literals"
path = "tests/escape_literals.rs"
[[test]]
name = "exec_basic"
path = "tests/exec_basic.rs"
[[test]]
name = "exec_capture"
path = "tests/exec_capture.rs"
[[test]]
name = "exec_capture_backref"
path = "tests/exec_capture_backref.rs"
[[test]]
name = "exec_capture_scope"
path = "tests/exec_capture_scope.rs"
[[test]]
name = "exec_named_capture"
path = "tests/exec_named_capture.rs"
[[test]]
name = "exec_regex"
path = "tests/exec_regex.rs"
[[test]]
name = "format_none"
path = "tests/format_none.rs"
[[test]]
name = "generator_test"
path = "tests/generator_test.rs"
[[test]]
name = "inheritance_exec"
path = "tests/inheritance_exec.rs"
[[test]]
name = "inheritance_parse"
path = "tests/inheritance_parse.rs"
[[test]]
name = "lex_error_span"
path = "tests/lex_error_span.rs"
[[test]]
name = "lexer_test"
path = "tests/lexer_test.rs"
[[test]]
name = "match_parse"
path = "tests/match_parse.rs"
[[test]]
name = "multiline_string"
path = "tests/multiline_string.rs"
[[test]]
name = "no_match_trace"
path = "tests/no_match_trace.rs"
[[test]]
name = "on_add_trigger"
path = "tests/on_add_trigger.rs"
[[test]]
name = "out_actions"
path = "tests/out_actions.rs"
[[test]]
name = "out_create"
path = "tests/out_create.rs"
[[test]]
name = "out_leave"
path = "tests/out_leave.rs"
[[test]]
name = "out_stack"
path = "tests/out_stack.rs"
[[test]]
name = "parity_byte_exact"
path = "tests/parity_byte_exact.rs"
[[test]]
name = "parity_csv"
path = "tests/parity_csv.rs"
[[test]]
name = "parity_linesplit"
path = "tests/parity_linesplit.rs"
[[test]]
name = "parity_simple"
path = "tests/parity_simple.rs"
[[test]]
name = "parity_tria"
path = "tests/parity_tria.rs"
[[test]]
name = "parse_error_span"
path = "tests/parse_error_span.rs"
[[test]]
name = "parser_test"
path = "tests/parser_test.rs"
[[test]]
name = "perf_budget"
path = "tests/perf_budget.rs"
[[test]]
name = "run_grammar_structured"
path = "tests/run_grammar_structured.rs"
[[test]]
name = "runtime_formats"
path = "tests/runtime_formats.rs"
[[test]]
name = "stream_boundary"
path = "tests/stream_boundary.rs"
[[test]]
name = "streaming_exec"
path = "tests/streaming_exec.rs"
[[test]]
name = "streaming_test"
path = "tests/streaming_test.rs"
[[test]]
name = "triggers"
path = "tests/triggers.rs"
[[test]]
name = "url_decode"
path = "tests/url_decode.rs"
[[test]]
name = "validation_warnings"
path = "tests/validation_warnings.rs"
[[test]]
name = "when_alternatives"
path = "tests/when_alternatives.rs"
[[test]]
name = "yaml_output"
path = "tests/yaml_output.rs"
[dependencies.bumpalo]
version = "3.20.2"
features = ["collections"]
[dependencies.clap]
version = "4.5.60"
features = ["derive"]
optional = true
[dependencies.memchr]
version = "2.8.0"
[dependencies.memmap2]
version = "0.9.10"
optional = true
[dependencies.mimalloc-dep]
version = "0.1"
optional = true
package = "mimalloc"
[dependencies.nom]
version = "8"
[dependencies.pyo3]
version = "0.28.2"
features = [
"extension-module",
"abi3-py39",
]
optional = true
[dependencies.quick-xml]
version = "0.39.2"
features = ["serialize"]
[dependencies.rayon]
version = "1.10"
optional = true
[dependencies.regex]
version = "1.12.3"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.149"
features = ["preserve_order"]
[dependencies.smallvec]
version = "1"
features = ["union"]
[dependencies.thiserror]
version = "2.0.18"
[dev-dependencies.criterion]
version = "0.8.2"
features = ["plotters"]
default-features = false
[dev-dependencies.pretty_assertions]
version = "1"
[target.'cfg(not(target_env = "msvc"))'.dependencies.tikv-jemallocator]
version = "0.6"
optional = true
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true