-
Profile: {user}
-
This is the user profile for a user named {user}.
-
-
Current time: {new Date(time).toLocaleString()}
-
-
- Clicked {count}{" "}
- times.
-
-
- );
-};
-
-export default Profile;
diff --git a/src/main.rs b/src/main.rs
index bd37596..5e8de4f 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -9,6 +9,9 @@ extern crate rocket_contrib;
#[macro_use]
extern crate anyhow;
+#[macro_use]
+extern crate serde;
+
extern crate chrono;
pub mod models;
@@ -81,6 +84,27 @@ fn log_get(device_name: &RawStr, conn: DbConn) -> Result