1 unstable release

0.0.1 Oct 22, 2022

#5 in #asyncronous

MIT license

5KB

js_lib

The js_lib crate provides simple 'javascript-like' functions.

Making a http get request

use js_lib::fetch;
# async fn example() -> Result<(), js_lib::Error> {
let result = fetch("https://www.google.com/").await;
# Ok(())
# }

lib.rs:

js_lib

The js_lib crate provides simple 'javascript-like' functions.

Making a http get request

use js_lib::fetch;
let result = fetch("https://www.google.com/").await;

Dependencies

~6–17MB
~222K SLoC