#turbo #generate-html #html #hotwire

hotwire-turbo

Generate HTML custom element payloads compatible with Hotwire Turbo and Turbo Power

2 releases

0.1.1 Nov 27, 2023
0.1.0 Oct 20, 2023

#2 in #turbo

MIT license

45KB
738 lines

hotwire-turbo

Generate HTML custom element payloads compatible with Hotwire Turbo and Turbo Power.

A Rust implementation of turbo-rails TagHelper and [turbo_power-rails StreamHelper] (https://github.com/marcoroth/turbo_power-rails/blob/main/lib/turbo_power/stream_helper.rb).

TODOs

  • README
    • Simplest example
    • Axum support example
  • Much more API documentation
  • Benchmarking
  • Performance optimization(?, inline, String generation, etc)
  • Examples
  • TurboBoost Streams support
  • TurboBoost Commands support

Build status Crates.io Crates.io docs docs

Dependencies

~145KB