Skip to main content

Crate toolkit_zero_macros

Crate toolkit_zero_macros 

Source
Expand description

Procedural macros for toolkit-zero.

This crate is an internal implementation detail of toolkit-zero. Do not depend on it directly. Use the re-exported attribute macros:

  • mechanism โ€” server-side route declaration, via toolkit_zero::socket::server
  • request โ€” client-side request shorthand, via toolkit_zero::socket::client

Attribute Macrosยง

mechanism
Concise route declaration for toolkit-zero socket-server routes.
request
Concise HTTP client request for toolkit-zero socket-client routes.