Registry / other / stdweb

stdweb

JSON →
library0.4.20rscratesunverified

A standard library for the client-side Web.

# Cargo.toml [dependencies] stdweb = "0.4.20"
INSTALL
IMPORT
SIG · STDWEB
S
stdweb
otherrustv0.4.20
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

js!
use stdweb::js;

Logs a message to the browser console using the js! macro.

use stdweb::js; fn main() { js! { console.log("Hello from stdweb!"); } }
Debug
Known issues
breakingDeprecated in favor of wasm-bindgen
fix
Migrate to wasm-bindgen and web-sys
affects: >=0.4.0
Upgrade
Version history
0.4.20latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Resources
stdweb — cargo add stdweb · libregistry