Skip to content

Commit

Permalink
. code clean - comments and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremychone committed Nov 29, 2023
1 parent 629a882 commit 8c19f5c
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 6 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,14 @@ More info at: https://rust10x.com/web-app
## Rust10x Web App YouTube Videos:

- [Episode 01 - Rust Web App - Base Production Code](https://youtube.com/watch?v=3cA_mk4vdWY&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q)
- [Topic video - Code clean - `#[cfg_attr(...)]` for unit test](https://www.youtube.com/watch?v=JdLi69mWIIE&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q)
- [Topic video - Code clean - `#[cfg_attr(...)]` for unit test](https://www.youtube.com/watch?v=DCPs5VRTK-U&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q)
- [Topic video - The Reasoning Behind Differentiating ModelControllers and ModelManager](https://www.youtube.com/watch?v=JdLi69mWIIE&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q)
- [Topic video - Base64Url - Understanding the Usage and Significance of Base64URL](https://www.youtube.com/watch?v=-9K7zNgsbP0&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q)

- [Episode 02 - Sea-Query (sql builder) & modql (mongodb like filter)](https://www.youtube.com/watch?v=-dMH9UiwKqg&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q)

- [Episode 03 - Cargo Workspace (multi-crates)](https://www.youtube.com/watch?v=zUxF0kvydJs&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q)
- [AI-Voice-Remastered](https://www.youtube.com/watch?v=iCGIqEWWTcA&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q)

- Other Related videos:
- [Rust Axum Full Course](https://youtube.com/watch?v=XZtlD_m59sM&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q)
Expand Down
2 changes: 1 addition & 1 deletion crates/services/web-server/examples/quick_dev.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![allow(unused)] // For beginning only.
#![allow(unused)] // For examples/.

use anyhow::Result;
use serde_json::json;
Expand Down
2 changes: 0 additions & 2 deletions crates/services/web-server/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// #![allow(unused)] // For early development.

// region: --- Modules

mod config;
Expand Down
1 change: 0 additions & 1 deletion crates/services/web-server/src/web/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ impl Error {
pub fn client_status_and_error(&self) -> (StatusCode, ClientError) {
use web::Error::*;

#[allow(unreachable_patterns)]
match self {
// -- Login
LoginFailUsernameNotFound
Expand Down
1 change: 0 additions & 1 deletion crates/services/web-server/src/web/mw_auth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ use serde::Serialize;
use tower_cookies::{Cookie, Cookies};
use tracing::debug;

#[allow(dead_code)] // For now, until we have the rpc.
pub async fn mw_ctx_require(
ctx: Result<CtxW>,
req: Request<Body>,
Expand Down

0 comments on commit 8c19f5c

Please sign in to comment.