[package]
authors = ["ScriptAndCompile"]
name = "vb6parse"
homepage = "https://scriptandcompile.github.io/vb6/vb6parse/index.html"
documentation = "https://docs.rs/vb6parse"
version = "1.2.4"
edition = "2024"
license = "MIT"
description = "vb6parse is a library for parsing and analyzing VB6 code, from projects, to controls, to modules, and forms."
repository = "https://github.com/scriptandcompile/vb6/tree/master/projects/vb6parse"
keywords = ["vb6", "parser", "analyzer", "vb6parse"]
categories = ["development-tools", "parsing", "parser-implementations"]
[lib]
crate-type = ["cdylib", "rlib"]
[dependencies]
uuid.workspace = true
thiserror.workspace = true
ariadne.workspace = true
image.workspace = true
num_enum.workspace = true
strum.workspace = true
strum_macros.workspace = true
encoding_rs.workspace = true
either.workspace = true
serde.workspace = true
phf.workspace = true
rowan.workspace = true
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen.workspace = true
serde-wasm-bindgen.workspace = true
console_error_panic_hook.workspace = true
serde_json.workspace = true
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
criterion = { workspace = true, features = ["html_reports"] }
insta.workspace = true
assert_matches.workspace = true
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
criterion = { version = "0.8.2", default-features = false }
insta.workspace = true
wasm-bindgen-test.workspace = true
[[bench]]
name = "lexer"
harness = false
[[bench]]
name = "parser"
harness = false
[[bench]]
name = "project_files"
harness = false
[[bench]]
name = "class_files"
harness = false
[[bench]]
name = "module_files"
harness = false
[[bench]]
name = "form_files"
harness = false
[[bench]]
name = "form_resources"
harness = false
[[example]]
name = "hello_world"
path = "examples/docs/hello_world.rs"
[[example]]
name = "project_parsing"
path = "examples/docs/project_parsing.rs"
[[example]]
name = "error_handling"
path = "examples/docs/error_handling.rs"
[[example]]
name = "tokenization"
path = "examples/docs/tokenization.rs"
[[example]]
name = "cst_navigation_docs"
path = "examples/docs/cst_navigation.rs"
[[example]]
name = "form_parsing"
path = "examples/docs/form_parsing.rs"
[lints.clippy]
pedantic = "warn"