From 942b48914cf3189ddd26af38a7eccfbd3b8a25a6 Mon Sep 17 00:00:00 2001 From: Nikita Galaiko Date: Sun, 7 May 2023 17:27:43 +0200 Subject: [PATCH] move users inside app --- src-tauri/src/app/mod.rs | 1 + src-tauri/src/{ => app}/users/mod.rs | 0 src-tauri/src/{ => app}/users/storage.rs | 0 src-tauri/src/{ => app}/users/user.rs | 0 src-tauri/src/main.rs | 3 +-- 5 files changed, 2 insertions(+), 2 deletions(-) rename src-tauri/src/{ => app}/users/mod.rs (100%) rename src-tauri/src/{ => app}/users/storage.rs (100%) rename src-tauri/src/{ => app}/users/user.rs (100%) diff --git a/src-tauri/src/app/mod.rs b/src-tauri/src/app/mod.rs index f32d9c579..f27545544 100644 --- a/src-tauri/src/app/mod.rs +++ b/src-tauri/src/app/mod.rs @@ -5,6 +5,7 @@ pub mod project_repository; pub mod projects; pub mod reader; pub mod sessions; +pub mod users; pub mod watcher; mod writer; diff --git a/src-tauri/src/users/mod.rs b/src-tauri/src/app/users/mod.rs similarity index 100% rename from src-tauri/src/users/mod.rs rename to src-tauri/src/app/users/mod.rs diff --git a/src-tauri/src/users/storage.rs b/src-tauri/src/app/users/storage.rs similarity index 100% rename from src-tauri/src/users/storage.rs rename to src-tauri/src/app/users/storage.rs diff --git a/src-tauri/src/users/user.rs b/src-tauri/src/app/users/user.rs similarity index 100% rename from src-tauri/src/users/user.rs rename to src-tauri/src/app/users/user.rs diff --git a/src-tauri/src/main.rs b/src-tauri/src/main.rs index 2cbb50ce9..6da987f5a 100644 --- a/src-tauri/src/main.rs +++ b/src-tauri/src/main.rs @@ -10,7 +10,6 @@ mod git; mod pty; mod search; mod storage; -mod users; #[macro_use] extern crate log; @@ -27,7 +26,7 @@ use tauri_plugin_log::{ use thiserror::Error; use timed::timed; -use crate::app::{projects, deltas, sessions}; +use crate::app::{projects, deltas, sessions, users}; #[derive(Debug, Error)] pub enum Error {