reorganize router macro package

This commit is contained in:
Evan Almloff committed 2023-05-13 18:14:30 -05:00
1 parent d6b2145aa7
commit adfc10461e
7 files changed
+183 -156

No files matched your search

+4 -1
View File
@@ -2,7 +2,10 @@ use proc_macro2::TokenStream;
use quote::quote;
use syn::Ident;
use crate::route::{static_segment_idx, Route, RouteSegment};
use crate::{
route::Route,
segment::{static_segment_idx, RouteSegment},
};
// First deduplicate the routes by the static part of the route
#[derive(Debug)]