1 unstable release

0.0.1 Jun 10, 2024

#37 in #virtual-dom

Download history 156/week @ 2024-06-06 62/week @ 2024-06-13 31/week @ 2024-06-20 9/week @ 2024-06-27

258 downloads per month
Used in respo

Apache-2.0

4KB

RespoState derive macro

to be used like:

#[derive(Debug, Clone, Default, PartialEq, Eq, Deserialize, Serialize, RespoState)]
struct PanelState {
  content: String,
}

find more details in https://crates.io/crates/respo .


lib.rs:

following https://doc.rust-lang.org/book/ch19-06-macros.html#how-to-write-a-custom-derive-macro

Dependencies

~320–780KB
~19K SLoC