8 stable releases

2.1.2 Nov 27, 2022
2.1.1 Oct 27, 2020
2.1.0 Jul 28, 2020
2.0.1 Apr 23, 2020
1.0.1 Nov 24, 2018

#574 in Development tools

BSD-3-Clause

205KB
5.5K SLoC

Sodium

A Functional Reactive Programming (FRP) library for Rust

Avaliable on crates.io: https://crates.io/crates/sodium-rust

See tests under src/tests for example usage. Sodium objects within lambda expressions are traced via lambda1, lambda2, etc. just like the TypeScript version does.

Pitfalls

No Global State

You must create a SodiumCtx for your application and keep passing it around in order to create sodium objects.


lib.rs:

Sodium is a library for doing Functional Reactive Programming (FRP) in Rust.

Dependencies

~87KB