An open API service indexing awesome lists of open source software.

https://github.com/zweifisch/ob-rust

org-babel functions for rust evaluation
https://github.com/zweifisch/ob-rust

Last synced: over 1 year ago
JSON representation

org-babel functions for rust evaluation

Awesome Lists containing this project

README

          

* ob-rust

org-babel functions for rust evaluation

no session support

** examples

: #+BEGIN_SRC rust
: for count in 0..3 {
: println!("{}. Hello World!", count);
: }
: #+END_SRC
:
: #+RESULTS:
: : 0. Hello World!
: : 1. Hello World!
: : 2. Hello World!

the last expression will be printed automatically

: #+BEGIN_SRC rust
: let double = |num| { num + num };
:
: double(17)
: #+END_SRC
:
: #+RESULTS:
: : 34