gen_plugin/lib.rs
1//! # Plugin transform module
2//! this module is responsible for transforming the plugin into a token in GenUI framework.
3//! If you write a GenUI plugin, you need to use this module to connect your plugin to the GenUI framework.
4//! ## Example
5//! After you write a network plugin, you need to define a `token.toml` file in the root of your plugin.
6//! ```toml
7//! [plugin]
8//! name = "network-http"
9//! category = "network"
10//!
11//! [macros]
12//! http_get = { category = "prop_macro"}
13//! ```
14//!
15//!
16//!
17//!
18//!
19//!
20//!
21//!
22//!
23//!
24//!
25//!
26mod extern_struct;
27mod token;
28
29pub use extern_struct::*;
30pub use token::*;