aboutsummaryrefslogtreecommitdiff
path: root/src/response.rs
diff options
context:
space:
mode:
authorFuwn <[email protected]>2023-03-31 22:10:02 +0000
committerFuwn <[email protected]>2023-03-31 22:10:02 +0000
commit30622ece082a951a975133f02a26a4709a9610e0 (patch)
treedc06366cd07f1795fc9f2bf93a9d52b2b9f7bfea /src/response.rs
parentfeat(carg): bump 0.2.2 -> 0.2.3 (diff)
downloadwindmark-30622ece082a951a975133f02a26a4709a9610e0.tar.xz
windmark-30622ece082a951a975133f02a26a4709a9610e0.zip
feat(response): macro-based responses
Diffstat (limited to 'src/response.rs')
-rw-r--r--src/response.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/response.rs b/src/response.rs
index 2da020f..455bf42 100644
--- a/src/response.rs
+++ b/src/response.rs
@@ -18,6 +18,8 @@
//! Content and response handlers
+mod macros;
+
macro_rules! response {
($name:ident, $status:expr) => {
pub fn $name<S>(content: S) -> Self