1 unstable release
0.0.1 | Jun 10, 2024 |
---|
#40 in #virtual-dom
22 downloads per month
Used in respo
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
~245–690KB
~16K SLoC