MCPcopy Index your code
hub / github.com/SodiumFRP/sodium-rust

github.com/SodiumFRP/sodium-rust @v2.1.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release v2.1.2 ↗ · + Follow
385 symbols 1,850 edges 32 files 92 documented · 24%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

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.

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Method 253
Function 72
Class 50
Interface 8
Enum 2

Languages

Rust100%

Modules by API surface

src/tests.rs51 symbols
src/impl_/stream.rs37 symbols
src/impl_/sodium_ctx.rs30 symbols
src/impl_/cell.rs30 symbols
src/impl_/gc_node.rs29 symbols
src/impl_/node.rs28 symbols
src/stream.rs27 symbols
src/impl_/lambda.rs21 symbols
src/cell.rs18 symbols
src/sodium_ctx.rs14 symbols
src/impl_/stream_sink.rs9 symbols
src/impl_/router.rs9 symbols

For agents

$ claude mcp add sodium-rust \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page