Native Rust FFI bindings for Deno applications.
deno add jsr:@sourcya/rusty-denoimport { hello, getPid, getCpuCount, getCpuUsage, close } from "@sourcya/rusty-deno";
console.log(await hello()); // "Hello World!"
console.log(await getPid()); // 12345
console.log(await getCpuCount()); // 8
console.log(await getCpuUsage()); // 15.23
close();deno run --unstable-ffi --allow-ffi your-script.ts| Section | Description |
|---|---|
| Getting Started | Installation and first steps |
| API Reference | Module and function documentation |
| Examples | Working code examples |
| Concepts | Technical deep-dives (ABI, FFI, memory) |
| Contributing | Development setup and guidelines |
MIT