Skip to content
/ rust.js Public
forked from yorkie/rust.js

Run your JavaScript apps backed by Rust

Notifications You must be signed in to change notification settings

huytd/rust.js

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust.js

NPM and Node.js compatible backend JavaScript platform, which is implemented in Rust.

Build

Prerequisites:

  • Rust 1.10.0+
  • Python 2.6 or 2.7
  • GNU Make 3.81 or newer
$ ./configure
$ make

Usage

rustjs 0.1.0
Yorkie Liu <yorkiefixer@gmail.com>
The platform lets you can work with Rust, C, C++ and JavaScript compatible with NPM and Cargo

USAGE:
  rustjs <INPUT> [FLAGS]

FLAGS:
    -h, --help       Prints help information
    -v, --version    Prints version information

POSITIONAL ARGUMENTS:
    INPUT      main script file

Working modules

  • assert This module is used for writing unit tests for your applications.
  • buffer Pure JavaScript is Unicode friendly but not nice to binary data.
  • events Many objects in rust.js emit events.
  • fs File I/O is provided by simple wrappers around standard POSIX functions.
  • os Provides a few basic operating-system related utility functions.
  • path This module contains utilities for handling and transforming file paths.
  • util These functions are in the module 'util'.

Development

Clone the repository

$ git clone git@github.com:yorkie/rust.js.git

Pull submodules

$ git submodule update --init --recursive

Build dependencies

$ ./configure && make

License

MIT

About

Run your JavaScript apps backed by Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 53.9%
  • JavaScript 26.9%
  • Python 16.6%
  • Makefile 2.6%