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 --features "python"
Publish
# Create a release build
maturin build --features "python" --release
# publish to PyPi with maturing
maturin publish --features "python"
Metadata
Release files for timelock-wasm-wrapper 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| timelock_wasm_wrapper-0.0.2-cp310-cp310-manylinux_2_34_x86_64.whl | CPython 3.10 | CPython 3.10 | Linux glibc 2.34+ x86-64 | Details for timelock_wasm_wrapper-0.0.2-cp310-cp310-manylinux_2_34_x86_64.whl |
Release files / timelock_wasm_wrapper-0.0.2-cp310-cp310-manylinux_2_34_x86_64.whl
| Download URL | timelock_wasm_wrapper-0.0.2-cp310-cp310-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 463.1 kB |
| Tags | CPython 3.10 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
b181dd9da4df92c3476ba17b3ece1d19d3495e6be4c2c1ce944e03f4a245aec3
|
|
BLAKE2b-256 checksum How to use checksums |
76abbf0396861271f1e1b956e42114915461ef4b390f71336c9730eef5f8a09c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.7.5
|
Security for timelock-wasm-wrapper 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.