Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
amitu committed Dec 19, 2024
1 parent a7c5e4f commit 6d432a8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions v0.5/fastn-router/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,14 @@ mod route;
#[derive(serde::Deserialize, serde::Serialize, Debug, Clone)]
pub struct Router {}

#[derive(Debug, Copy, PartialEq, Clone)]
pub enum Method {
Get,
Post,
}

#[allow(dead_code)]
#[derive(Debug)]
// the router will depend on fastn-section.
pub enum Route {
NotFound,
Expand All @@ -27,6 +29,7 @@ pub enum Route {
Static(String),
}

#[derive(Debug)]
pub struct Document {
// this is private yet
#[expect(unused)]
Expand Down

0 comments on commit 6d432a8

Please sign in to comment.