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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file timelock_wasm_wrapper-0.0.1-cp310-cp310-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: timelock_wasm_wrapper-0.0.1-cp310-cp310-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 458.8 kB
- Tags: CPython 3.10, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0f9be85fbd9ec1793cb8a17bb3eca3b7a4e0c89b55efc05e07ec1b1fa2c4f969
|
|
| MD5 |
1d8efd46c3ddd9c6083be273f4389119
|
|
| BLAKE2b-256 |
0242faaa90326ca8851995ac37352cccb4ac0128a36a6acdc5abce3ed990a7a8
|