#turbo #axum #hotwire #generate-html

hotwire-turbo-axum

Axum integration for hotwire-turbo

2 releases

0.1.1 Nov 27, 2023
0.1.0 Oct 20, 2023

#6 in #turbo

MIT license

6KB
68 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

~2.7–3.5MB
~74K SLoC