tincan 0.3.0

A lightweight reactive state management library for Rust.
Documentation

Tincan

Crates.io GitHub Documentation License: MIT

Overview

Tincan provides fine-grained reactivity with signals, computed values (memos), and side effects. It's designed for building reactive applications with automatic dependency tracking and efficient updates.

Core Concepts

  • Scope: The reactive context that owns all reactive primitives
  • Signal: Mutable reactive state that notifies observers when changed
  • Memo: Computed values that cache results and only recompute when dependencies change
  • Effect: Side effects that automatically re-run when dependencies change

Examples

See the examples directory for practical usage of Tincan's features.

Benchmarks

Run performance benchmarks:

cargo bench

Change Log

See CHANGELOG.md for a detailed list of changes and improvements.

License

MIT License - see LICENSE for details.