#frp

sodium-rust

Sodium FRP (Functional Reactive Programming)

8 stable releases

Uses new Rust 2021

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

#405 in Development tools

Download history 11/week @ 2022-08-13 14/week @ 2022-08-20 5/week @ 2022-08-27 13/week @ 2022-09-03 17/week @ 2022-09-10 6/week @ 2022-09-17 13/week @ 2022-09-24 14/week @ 2022-10-01 11/week @ 2022-10-08 4/week @ 2022-10-15 4/week @ 2022-10-22 15/week @ 2022-10-29 13/week @ 2022-11-05 9/week @ 2022-11-12 10/week @ 2022-11-19 31/week @ 2022-11-26

67 downloads per month

BSD-3-Clause

200KB
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