Skip to main content

Crate g3_kit_macros

Crate g3_kit_macros 

Source
Expand description

Proc macros for g3-kit. Use them through g3_kit::cache_shared and g3_kit::public.

Attribute Macros§

cache_shared
Caches a server function whose answer is the same for every visitor: at the CDN, on the server, or both.
public
Marks a server function as reachable without a session.

Derive Macros§

PublicRoutes
Marks pages of a Routable enum as reachable without a session.