Skip to content

Commit

Permalink
resolve the updates to axum
Browse files Browse the repository at this point in the history
  • Loading branch information
m4salah committed Dec 30, 2023
1 parent d42aca9 commit 740077d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/handlers/day6.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
use axum::{
http::StatusCode,
routing::{get, post},
Json,
};
use fancy_regex::Regex;
use reqwest::StatusCode;
use serde::{Deserialize, Serialize};

pub fn router() -> axum::Router {
Expand Down
3 changes: 2 additions & 1 deletion src/handlers/day7.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
use std::collections::HashMap;

use axum::{headers::Cookie, http::StatusCode, routing::get, Json, TypedHeader};
use axum::{http::StatusCode, routing::get, Json};
use axum_extra::{headers::Cookie, TypedHeader};
use base64::{engine::general_purpose, Engine};
use serde::{Deserialize, Serialize};
use serde_json::Value;
Expand Down

0 comments on commit 740077d

Please sign in to comment.