Skip to content

ivanceras/rust-node-ffi-string

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Most of rust-ffi to nodejs example is returning an integer. This is not so practical at all, since we want to call a feature complete api.

By feature complete I mean JSON as both argument and return

Install node ffi

npm install ffi --save

Build and run!

cargo build --release
node string.js

About

A very practical example of rust and node ffi call using string, json

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •