aboutsummaryrefslogtreecommitdiff
path: root/src/urls.rs
diff options
context:
space:
mode:
authorMelody Horn / boringcactus <melody@boringcactus.com>2021-06-13 10:19:13 -0600
committerMelody Horn / boringcactus <melody@boringcactus.com>2021-06-13 10:19:13 -0600
commit109966b7e365423bce83b78004eb1c21b7892940 (patch)
treeb254d5ec7e53de15e88319d381fce530e422d97a /src/urls.rs
parent4c8940569e5729213b7eee6f3d5be39b745b697b (diff)
downloadtosin-109966b7e365423bce83b78004eb1c21b7892940.tar.gz
tosin-109966b7e365423bce83b78004eb1c21b7892940.zip
break a few things out of folders
Diffstat (limited to 'src/urls.rs')
-rw-r--r--src/urls.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/urls.rs b/src/urls.rs
new file mode 100644
index 0000000..45720b6
--- /dev/null
+++ b/src/urls.rs
@@ -0,0 +1,5 @@
+pub use warp::path;
+
+use crate::http::Response;
+
+pub type UrlMap = warp::filters::BoxedFilter<(Response,)>;