fx-rs
What it does
Section titled “What it does”fx-rs brings ability-style algebraic effects to stable Rust: typed effects (abilities), handlers that interpret them, and lenses for focusing into context, the same effect-handler programming model offered by fx.go, expressed in Rust’s type system.
cargo add fx-rsKey features
Section titled “Key features”- Abilities, typed algebraic effects
- Handlers, interpret and transform effects
- Lenses, focus into structured context
- Functional, stable Rust, published on crates.io
Role in the ecosystem
Section titled “Role in the ecosystem”fx-rs is the Rust member of a cross-language algebraic-effects family that includes nfx (Nix) and fx.go (Go). For a more type theoretic take on effects in Rust, freer monads with a dependent type checker, see rust-effects.
Source Code crates.io Support this project