[package]
edition = "2024"
name = "vb6parse"
version = "1.2.1"
authors = ["ScriptAndCompile"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "vb6parse is a library for parsing and analyzing VB6 code, from projects, to controls, to modules, and forms."
homepage = "https://scriptandcompile.github.io/vb6/vb6parse/index.html"
documentation = "https://docs.rs/vb6parse"
readme = "README.md"
keywords = [
"vb6",
"parser",
"analyzer",
"vb6parse",
]
categories = [
"development-tools",
"parsing",
"parser-implementations",
]
license = "MIT"
repository = "https://github.com/scriptandcompile/vb6/tree/master/projects/vb6parse"
resolver = "2"
[lib]
name = "vb6parse"
crate-type = [
"cdylib",
"rlib",
]
path = "src/lib.rs"
[[example]]
name = "audiostation_parse"
path = "examples/audiostation_parse.rs"
[[example]]
name = "cst_complex_find"
path = "examples/cst_complex_find.rs"
[[example]]
name = "cst_count_statements"
path = "examples/cst_count_statements.rs"
[[example]]
name = "cst_depth_first"
path = "examples/cst_depth_first.rs"
[[example]]
name = "cst_filter_trivia"
path = "examples/cst_filter_trivia.rs"
[[example]]
name = "cst_find_comments"
path = "examples/cst_find_comments.rs"
[[example]]
name = "cst_find_complex_predicate"
path = "examples/cst_find_complex_predicate.rs"
[[example]]
name = "cst_find_identifiers"
path = "examples/cst_find_identifiers.rs"
[[example]]
name = "cst_first_significant_child"
path = "examples/cst_first_significant_child.rs"
[[example]]
name = "cst_first_sub_structure"
path = "examples/cst_first_sub_structure.rs"
[[example]]
name = "cst_navigation_docs"
path = "examples/docs/cst_navigation.rs"
[[example]]
name = "cst_parse"
path = "examples/cst_parse.rs"
[[example]]
name = "cst_token_vs_nontoken"
path = "examples/cst_token_vs_nontoken.rs"
[[example]]
name = "debug_cst"
path = "examples/debug_cst.rs"
[[example]]
name = "debug_resource"
path = "examples/debug_resource.rs"
[[example]]
name = "error_handling"
path = "examples/docs/error_handling.rs"
[[example]]
name = "form_parsing"
path = "examples/docs/form_parsing.rs"
[[example]]
name = "hello_world"
path = "examples/docs/hello_world.rs"
[[example]]
name = "parse_class"
path = "examples/parse_class.rs"
[[example]]
name = "parse_control_only"
path = "examples/parse_control_only.rs"
[[example]]
name = "parse_form"
path = "examples/parse_form.rs"
[[example]]
name = "parse_module"
path = "examples/parse_module.rs"
[[example]]
name = "parse_project"
path = "examples/parse_project.rs"
[[example]]
name = "project_parsing"
path = "examples/docs/project_parsing.rs"
[[example]]
name = "sourcestream_bounds_and_errors"
path = "examples/sourcestream_bounds_and_errors.rs"
[[example]]
name = "sourcestream_case_insensitive"
path = "examples/sourcestream_case_insensitive.rs"
[[example]]
name = "sourcestream_line_operations"
path = "examples/sourcestream_line_operations.rs"
[[example]]
name = "sourcestream_navigation"
path = "examples/sourcestream_navigation.rs"
[[example]]
name = "sourcestream_parse_tokens"
path = "examples/sourcestream_parse_tokens.rs"
[[example]]
name = "sourcestream_pattern_extraction"
path = "examples/sourcestream_pattern_extraction.rs"
[[example]]
name = "tokenization"
path = "examples/docs/tokenization.rs"
[[example]]
name = "tokenstream"
path = "examples/tokenstream.rs"
[[example]]
name = "visitor_example"
path = "examples/visitor_example.rs"
[[test]]
name = "call_argument_list"
path = "tests/call_argument_list.rs"
[[test]]
name = "class"
path = "tests/class.rs"
[[test]]
name = "colon_separator"
path = "tests/colon_separator.rs"
[[test]]
name = "depth_limit_tests"
path = "tests/depth_limit_tests.rs"
[[test]]
name = "edge_cases"
path = "tests/edge_cases.rs"
[[test]]
name = "enum_bracket"
path = "tests/enum_bracket.rs"
[[test]]
name = "expression_whitespace"
path = "tests/expression_whitespace.rs"
[[test]]
name = "form"
path = "tests/form.rs"
[[test]]
name = "form_resource"
path = "tests/form_resource.rs"
[[test]]
name = "invalid_syntax"
path = "tests/invalid_syntax.rs"
[[test]]
name = "keyword_identifiers"
path = "tests/keyword_identifiers.rs"
[[test]]
name = "line_statements"
path = "tests/line_statements.rs"
[[test]]
name = "module"
path = "tests/module.rs"
[[test]]
name = "ppdm"
path = "tests/ppdm.rs"
[[test]]
name = "project"
path = "tests/project.rs"
[[test]]
name = "recovery_alignment"
path = "tests/recovery_alignment.rs"
[[test]]
name = "select_case_nested_if"
path = "tests/select_case_nested_if.rs"
[[test]]
name = "with_block_dot_prefix"
path = "tests/with_block_dot_prefix.rs"
[[bench]]
name = "class_files"
path = "benches/class_files.rs"
harness = false
[[bench]]
name = "form_files"
path = "benches/form_files.rs"
harness = false
[[bench]]
name = "form_resources"
path = "benches/form_resources.rs"
harness = false
[[bench]]
name = "lexer"
path = "benches/lexer.rs"
harness = false
[[bench]]
name = "module_files"
path = "benches/module_files.rs"
harness = false
[[bench]]
name = "parser"
path = "benches/parser.rs"
harness = false
[[bench]]
name = "project_files"
path = "benches/project_files.rs"
harness = false
[dependencies.ariadne]
version = "0.6.0"
[dependencies.either]
version = "1.17.0"
features = ["serde"]
[dependencies.encoding_rs]
version = "0.8.35"
[dependencies.image]
version = "0.25.10"
[dependencies.num_enum]
version = "0.7.6"
[dependencies.phf]
version = "0.14.0"
features = ["macros"]
[dependencies.rowan]
version = "0.17.0"
[dependencies.serde]
version = "1.0.229"
features = ["derive"]
[dependencies.strum]
version = "0.28.0"
[dependencies.strum_macros]
version = "0.28.0"
[dependencies.thiserror]
version = "2.0.19"
[dependencies.uuid]
version = "1.24.0"
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.assert_matches]
version = "1.5.0"
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.criterion]
version = "0.8.2"
features = ["html_reports"]
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.insta]
version = "1.48.0"
features = ["yaml"]
[target.'cfg(target_arch = "wasm32")'.dependencies.console_error_panic_hook]
version = "0.1.7"
[target.'cfg(target_arch = "wasm32")'.dependencies.serde-wasm-bindgen]
version = "0.6.5"
[target.'cfg(target_arch = "wasm32")'.dependencies.serde_json]
version = "1.0.151"
[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
version = "0.2.126"
[target.'cfg(target_arch = "wasm32")'.dev-dependencies.criterion]
version = "0.8.2"
default-features = false
[target.'cfg(target_arch = "wasm32")'.dev-dependencies.insta]
version = "1.48.0"
features = ["yaml"]
[target.'cfg(target_arch = "wasm32")'.dev-dependencies.wasm-bindgen-test]
version = "0.3.76"
[lints.clippy]
pedantic = "warn"