zapcode-core 1.0.0-beta.3

A minimal, secure TypeScript subset interpreter — parse, compile, execute, snapshot
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "zapcode-core"
version = "1.0.0-beta.3"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A minimal, secure TypeScript subset interpreter — parse, compile, execute, snapshot"
homepage = "https://github.com/TheUncharted/zapcode"
readme = "README.md"
keywords = [
    "typescript",
    "interpreter",
    "sandbox",
    "ai",
    "mcp",
]
categories = [
    "compilers",
    "wasm",
]
license = "MIT"
repository = "https://github.com/TheUncharted/zapcode"

[lib]
name = "zapcode_core"
path = "src/lib.rs"

[[test]]
name = "async_await"
path = "tests/async_await.rs"

[[test]]
name = "basic"
path = "tests/basic.rs"

[[test]]
name = "builtins"
path = "tests/builtins.rs"

[[test]]
name = "classes"
path = "tests/classes.rs"

[[test]]
name = "control_flow"
path = "tests/control_flow.rs"

[[test]]
name = "error_handling"
path = "tests/error_handling.rs"

[[test]]
name = "functions"
path = "tests/functions.rs"

[[test]]
name = "generators"
path = "tests/generators.rs"

[[test]]
name = "integration"
path = "tests/integration.rs"

[[test]]
name = "objects_arrays"
path = "tests/objects_arrays.rs"

[[test]]
name = "sandbox"
path = "tests/sandbox.rs"

[[test]]
name = "security"
path = "tests/security.rs"

[[test]]
name = "snapshot"
path = "tests/snapshot.rs"

[[test]]
name = "variables"
path = "tests/variables.rs"

[[bench]]
name = "execution"
path = "benches/execution.rs"
harness = false

[dependencies.indexmap]
version = "2.13.0"
features = ["serde"]

[dependencies.oxc_allocator]
version = "0.117.0"

[dependencies.oxc_ast]
version = "0.117.0"

[dependencies.oxc_parser]
version = "0.117.0"

[dependencies.oxc_span]
version = "0.117.0"

[dependencies.oxc_syntax]
version = "0.117.0"

[dependencies.postcard]
version = "1.1.3"
features = ["alloc"]

[dependencies.serde]
version = "1.0.228"
features = [
    "derive",
    "rc",
]

[dependencies.thiserror]
version = "2.0.18"

[dev-dependencies.divan]
version = "0.1.21"

[dev-dependencies.insta]
version = "1.46.3"
features = ["yaml"]