vb6runtime 0.2.0

VB6 runtime library - value system, type conversions, and standard library implementations
Documentation
[package]
name = "vb6runtime"
version = "0.2.0"
edition = "2024"
authors = ["Arthur <scriptandcompile@gmail.com>"]
license = "MIT"
description = "VB6 runtime library - value system, type conversions, and standard library implementations"
repository = "https://github.com/scriptandcompile/vb6"
keywords = ["vb6", "visual-basic", "runtime", "stdlib"]
categories = ["development-tools", "compilers"]

[dependencies]
vb6parse.workspace = true
vb6core.workspace = true
thiserror.workspace = true
serde.workspace = true
anyhow.workspace = true

# For numeric operations
num-traits.workspace = true

# For date/time operations
jiff.workspace = true

# For file I/O
encoding_rs.workspace = true

# For the modern random backend
rand.workspace = true

# Platform-specific system clock
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
libc.workspace = true

[target.'cfg(target_os = "windows")'.dependencies]
windows-sys.workspace = true

# The native interaction backend (the default) shows real browser dialogs
# (`alert`/`confirm`) on wasm32. The modern random backend
# needs an OS entropy source; on wasm32-unknown-unknown that requires
# getrandom's `wasm_js` backend.
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen.workspace = true
getrandom = { workspace = true, features = ["wasm_js"] }

[dev-dependencies]
tempfile.workspace = true
criterion.workspace = true

[features]
default = []
com-interop = []  # Future: COM object support

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

[lints]
workspace = true