neon-utils

Crates.ioneon-utils
lib.rsneon-utils
version1.1.0
sourcesrc
created_at2021-06-10 15:43:59.492222
updated_at2021-08-02 21:41:21.232605
descriptionA collection of utilities for use with neon-bindings
homepage
repository
max_upload_size
id408619
size27,047
Jannis Pohlmann (Jannis)

documentation

README

A collection of tools for working with neon-bindings to interop between node and Rust.

  • Serialize to/from special types like Duration, U256, Vec<u8> (from a hex string or ArrayBuffer), RecoverableSignature, etc.
  • More safely deal with the Throw hazard presented by the neon-bindings error model avoiding segfaults and recovered errors re-throwing
  • Threadsafe Proxy types to easily access Rust data owned by a JavaScript instance
  • run_async to schedule work on microthreads
Commit count: 0

cargo fmt