Skip to content

Conversation

@tmthecoder
Copy link
Owner

WIP: Rust currently doesn't allow for target-specific crate-type settings in the Cargo.toml, so this PR is halted until a CLI or config option becomes available.

Add support to deploy this crate as a WASM library.

All existing implementations seem to work fine with the #[wasm_bindgen] annotation with the exception of the parse_otpauth_uri as wasm_bindgen doesn't support non-C-style enums.

I've currently added a WASM-only workaround.

Functionality is still untested.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant