[package]
edition = "2021"
name = "unilang_parser"
version = "0.40.0"
authors = ["Kostiantyn Mysnyk <wandalen@obox.systems>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
Parser for Unilang CLI instruction syntax.
"""
homepage = "https://github.com/Wandalen/unilang/tree/master/module/unilang_parser/readme.md"
documentation = "https://docs.rs/unilang_parser"
readme = "readme.md"
keywords = [
"parser",
"cli",
"unilang",
"instructions",
]
categories = [
"parsing",
"command-line-interface",
]
license = "MIT"
repository = "https://github.com/Wandalen/unilang/tree/master/module/unilang_parser"
[features]
default = [
"enabled",
"simd",
]
enabled = ["dep:strs_tools"]
full = [
"enabled",
"simd",
]
no_std = []
simd = [
"enabled",
"strs_tools/simd",
]
[lib]
name = "unilang_parser"
path = "src/lib.rs"
[[example]]
name = "01_basic_command_parsing"
path = "examples/01_basic_command_parsing.rs"
[[example]]
name = "02_named_arguments_quoting"
path = "examples/02_named_arguments_quoting.rs"
[[example]]
name = "03_complex_argument_patterns"
path = "examples/03_complex_argument_patterns.rs"
[[example]]
name = "04_multiple_instructions"
path = "examples/04_multiple_instructions.rs"
[[example]]
name = "05_help_token_usage"
path = "examples/05_help_token_usage.rs"
[[example]]
name = "06_advanced_escaping_quoting"
path = "examples/06_advanced_escaping_quoting.rs"
[[example]]
name = "07_error_handling_diagnostics"
path = "examples/07_error_handling_diagnostics.rs"
[[example]]
name = "08_custom_parser_configuration"
path = "examples/08_custom_parser_configuration.rs"
[[example]]
name = "09_integration_command_frameworks"
path = "examples/09_integration_command_frameworks.rs"
[[example]]
name = "10_performance_optimization_patterns"
path = "examples/10_performance_optimization_patterns.rs"
[[example]]
name = "unilang_parser_basic"
path = "examples/unilang_parser_basic.rs"
[[example]]
name = "zero_copy_comparison"
path = "examples/zero_copy_comparison.rs"
[[test]]
name = "argument_parsing_tests"
path = "tests/argument_parsing_tests.rs"
[[test]]
name = "argv_multiword_bug_test"
path = "tests/argv_multiword_bug_test.rs"
[[test]]
name = "argv_types"
path = "tests/argv_types.rs"
[[test]]
name = "cli_misuse_detection_test"
path = "tests/cli_misuse_detection_test.rs"
[[test]]
name = "cli_parameter_syntax_validation_test"
path = "tests/cli_parameter_syntax_validation_test.rs"
[[test]]
name = "cli_parser_tests"
path = "tests/cli_parser_tests.rs"
[[test]]
name = "command_parsing_tests"
path = "tests/command_parsing_tests.rs"
[[test]]
name = "comprehensive_tests"
path = "tests/comprehensive_tests.rs"
[[test]]
name = "diagnostic_real_bug"
path = "tests/diagnostic_real_bug.rs"
[[test]]
name = "error_reporting_tests"
path = "tests/error_reporting_tests.rs"
[[test]]
name = "example_flag_syntax_regression_test"
path = "tests/example_flag_syntax_regression_test.rs"
[[test]]
name = "issue_084_mre"
path = "tests/issue_084_mre.rs"
[[test]]
name = "named_argument_edge_cases_test"
path = "tests/named_argument_edge_cases_test.rs"
[[test]]
name = "parse_from_argv_boundary_test"
path = "tests/parse_from_argv_boundary_test.rs"
[[test]]
name = "parser_config_entry_tests"
path = "tests/parser_config_entry_tests.rs"
[[test]]
name = "path_with_dots_regression_test"
path = "tests/path_with_dots_regression_test.rs"
[[test]]
name = "spec_adherence_tests"
path = "tests/spec_adherence_tests.rs"
[[test]]
name = "syntactic_analyzer_command_tests"
path = "tests/syntactic_analyzer_command_tests.rs"
[[test]]
name = "task_026_mre_tests"
path = "tests/task_026_mre_tests.rs"
[[test]]
name = "tests"
path = "tests/tests.rs"
[[test]]
name = "underscore_command_test"
path = "tests/underscore_command_test.rs"
[[test]]
name = "value_context_tests"
path = "tests/value_context_tests.rs"
[[test]]
name = "zero_copy_token_test"
path = "tests/zero_copy_token_test.rs"
[[bench]]
name = "benchmark_test"
path = "benches/benchmark_test.rs"
[dependencies.strs_tools]
version = "^0.50"
features = [
"std",
"string_parse_request",
"string_split",
]
optional = true