4 releases
0.1.3 | Mar 16, 2024 |
---|---|
0.1.2 | Mar 16, 2024 |
0.1.1 | Mar 3, 2024 |
0.1.0 | Feb 26, 2024 |
#455 in Asynchronous
215KB
6K
SLoC
Sodium
A Functional Reactive Programming (FRP) library for Rust
Avaliable on crates.io: https://crates.io/crates/sodium
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
~0.4–5MB
~13K SLoC