#cstring #web-assembly #webassembly

no-std cstring

A super simple cstring library for WebAssembly

7 releases

0.1.1 Nov 22, 2020
0.1.0 Nov 22, 2020
0.0.5 Nov 15, 2020
0.0.4 Oct 9, 2019
0.0.2 Mar 18, 2019

#267 in WebAssembly

Download history 33/week @ 2020-08-10 29/week @ 2020-08-17 27/week @ 2020-08-24 25/week @ 2020-08-31 36/week @ 2020-09-07 16/week @ 2020-09-14 17/week @ 2020-09-21 18/week @ 2020-09-28 21/week @ 2020-10-05 18/week @ 2020-10-12 25/week @ 2020-10-19 16/week @ 2020-10-26 21/week @ 2020-11-02 38/week @ 2020-11-09 37/week @ 2020-11-16 72/week @ 2020-11-23

99 downloads per month
Used in 21 crates (6 directly)

MIT/Apache

44KB
637 lines

cstring

A super simple library for c strings in web assembly

[dependencies]
cstring = "0.0.4"

javascript

I've also included a very useful es6 module for interacting with strings in web assembly memory

import { extractCString, insertString } from "https://cdn.jsdelivr.net/gh/richardanaya/cstring/cstring.js";

Dependencies

~98KB