Skip to content

Possibility of including the candid wasm binary #95

@chenyan-dfinity

Description

@chenyan-dfinity

A few projects are compiling the Rust candid_parser library as Wasm module, and run them in browser, e.g., https://gitlab.com/dfinity-lab/legalregistry/public-dashboards-ui/-/blob/dev/rs/didc/src/lib.rs?ref_type=heads.

I am wondering if it makes sense to include the Wasm module here? The main concern is code size. Does npm have some kind of feature flags that can selectively include certain files?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions