Skip to content

Add JS Packaging #93

@bgins

Description

@bgins

Summary

Problem

We do not package rs-ucan for JavaScript environments.

Impact

rs-ucan cannot be used in web browsers, node, and other JavaScript environments.

Solution

Add a crate that acts as a thin layer over the ucan and ucan-key-support crates. The crate should compile to Wasm and provide JS packaging.

Detail

Is your feature request related to a problem? Please describe.

We want to use rs-ucan in the UCAN validator. See #19 (comment) for more detail.

Describe the solution you'd like

Add a ucan-wasm crate that produces a JS-packaged version of rs-ucan.

Additional context

Implementing initial support with a limited set of features and targets will probably be best. This approach will let us get the machinery in place and support the UCAN validator as a first target.

ETA: 2023-09-01

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions