Skip to main content

Wasm bidings for the timelock encryption crate

Project description

WASM Bindings for Timelock

This crate provides wasm compatibility for the timelock crate. It provides compatibility for both javascript and python (3+).

Build

For JavaScript Compatibility

To compile to wasm, first build the project and them run wasm-pack

cargo build
wasm-pack build --target web --out-dir pkg

For Python Compatibility

Python compatible wasm output is generated with PyO3.

First create a virtual env, then run:

pip install maturin
# specify your python version
export PYO3_CROSS_PYTHON_VERSION="3.10"
maturin develop

Publish

# creat a release build
maturin build --release
# publish to testpypi

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

timelock_wasm_wrapper-0.0.1-cp310-cp310-manylinux_2_34_x86_64.whl (458.8 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.34+ x86-64

File details

Details for the file timelock_wasm_wrapper-0.0.1-cp310-cp310-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for timelock_wasm_wrapper-0.0.1-cp310-cp310-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 0f9be85fbd9ec1793cb8a17bb3eca3b7a4e0c89b55efc05e07ec1b1fa2c4f969
MD5 1d8efd46c3ddd9c6083be273f4389119
BLAKE2b-256 0242faaa90326ca8851995ac37352cccb4ac0128a36a6acdc5abce3ed990a7a8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page