Rust port of Point-Free's swift-navigation v2.7.0 -- state-driven navigation tools for Rust applications.
Framework-agnostic navigation primitives ported from Swift:
AlertState-- Declarative alert dialog descriptionsConfirmationDialogState-- Confirmation dialog descriptionsButtonState-- Button descriptions with roles and actionsTextState-- Rich text with modifiers (bold, italic, colors, fonts)UINavigationPath-- Type-erased navigation stack with serde supportUIBinding-- Two-way value bindings with field and enum case projectionUITransaction-- Thread-local transaction contextobserve()-- Observation function with cancellation tokens
# Run all tests (56 tests)
cargo test
# Just the library
cargo test -p swift-navigation
# Lint
cargo clippyThis crate is a sibling dependency of the TCA Rust Port, providing navigation state management for all platform shells (SwiftUI, Jetpack Compose, Ratatui, Iced, WASM).
- Point-Free -- original swift-navigation
MIT