#views #reactive #reflection #browser #meta #scripting-engine #structures

phlow

An engine for scripting reactive browsers in Rust by adding custom views to structures

15 stable releases

2.0.1 Apr 18, 2024
2.0.0 Apr 1, 2024
1.7.1 Jan 23, 2024
1.7.0 Dec 7, 2023
0.1.0 Jan 13, 2023

#1318 in Web programming

Download history 16/week @ 2024-06-16 8/week @ 2024-06-23 4/week @ 2024-06-30 31/week @ 2024-07-07 3/week @ 2024-07-14 6/week @ 2024-07-28 4/week @ 2024-08-11 1/week @ 2024-08-18 9/week @ 2024-08-25 6/week @ 2024-09-01 2/week @ 2024-09-08 12/week @ 2024-09-15 76/week @ 2024-09-22 11/week @ 2024-09-29

101 downloads per month
Used in 5 crates

MIT license

73KB
2K SLoC

phlow

The engine for scripting reactive browsers in Rust. Phlow allows developers to add phlow views to any structure defined in other crates, including generic structures.

Notice

This is a nightly crate because it relies on specialization (or min_specialization) features. See https://github.com/rust-lang/rust/issues/31844.

Depend

phlow = { version = "*" }

Features

  • printing - enabled by default, detects if an arbitrary type implements Display or Debug and uses an appropriate one in PhlowObject::to_string. As a result any object or reference wrapped in phlow!() becomes printable.
  • phlow-derive - - enabled by default, enable to define new extensions, is not required to import existing extensions

Dependencies

~1.3–6.5MB
~49K SLoC