Crates.io | mago-wasm |
lib.rs | mago-wasm |
version | |
source | src |
created_at | 2024-12-07 14:32:44.85536 |
updated_at | 2024-12-10 23:57:56.351012 |
description | Exposes PHP code analysis and tooling functionalities as WebAssembly modules, enabling browser-based tools and editor integrations. |
homepage | https://github.com/carthage-software/mago |
repository | https://github.com/carthage-software/mago |
max_upload_size | |
id | 1475643 |
Cargo.toml error: | TOML parse error at line 19, column 1 | 19 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
mago-wasm
is a WebAssembly (WASM) crate designed to provide high-level functionality for the Mago toolchain, specifically tailored for use in browser environments.
This crate is primarily intended for the Mago Playground and similar projects where running Mago directly in the browser is required.
If you are building applications outside of a browser context, you should use the dedicated Mago crates instead of this crate.
To build the WASM module, run the following command:
wasm-pack build --target web
This will generate a pkg
directory containing the WASM module and associated JavaScript bindings.