From 510c011c35b43efc0a5203a41cbc71dd31fb5d0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?On=C3=A8?= <43485962+c-git@users.noreply.github.com> Date: Fri, 19 Jul 2024 10:44:43 -0400 Subject: [PATCH 1/3] fix: update broken link (#858) --- middleware/http-to-https/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/middleware/http-to-https/README.md b/middleware/http-to-https/README.md index 4da84bd3..fa8c9ea0 100644 --- a/middleware/http-to-https/README.md +++ b/middleware/http-to-https/README.md @@ -6,7 +6,7 @@ A pre-built solution is soon to be built-in. For now, see [`RedirectHttps`](http ## This Example -This example is the next step after implementing this example : [Setup TLS via rustls](https://github.com/actix/examples/tree/master/security/rustls). +This example is the next step after implementing this example : [Setup TLS via rustls](https://github.com/actix/examples/tree/master/https-tls/rustls). You might have already implemented TLS (using one of the ways mentioned in the example of security section), and have setup your server to listen to port 443 (for HTTPS). From 95cc3d5242c0159de5eef7549d1c7325e7cdaff3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?On=C3=A8?= <43485962+c-git@users.noreply.github.com> Date: Fri, 19 Jul 2024 14:45:43 -0400 Subject: [PATCH 2/3] fix: update path for cd command (#859) --- websockets/echo/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/websockets/echo/README.md b/websockets/echo/README.md index dab0dd88..d1724d74 100644 --- a/websockets/echo/README.md +++ b/websockets/echo/README.md @@ -19,7 +19,7 @@ cargo run --bin websocket-server ### rust client ```sh -cd websockets/websocket +cd websockets/echo cargo run --bin websocket-client ``` From 87d90cc0d000e8240f6d0744ccf53365bc7798b7 Mon Sep 17 00:00:00 2001 From: Rob Ede Date: Sat, 20 Jul 2024 00:26:52 +0100 Subject: [PATCH 3/3] ci: fix diesel example --- .github/workflows/ci.yml | 4 ++-- auth/simple-auth-server/README.md | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a743c5ce..4e8a1825 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -50,7 +50,7 @@ jobs: redis-version: 6 - name: cargo test - run: cargo test --workspace --all-features --no-fail-fast --exclude=diesel-example -- --nocapture + run: cargo test --workspace --all-features --no-fail-fast --exclude=db-diesel -- --nocapture timeout-minutes: 30 - name: cargo test (diesel) @@ -60,7 +60,7 @@ jobs: cd databases/diesel diesel migration run chmod a+rwx test.db - cargo test -p=diesel-example --no-fail-fast -- --nocapture + cargo test -p=db-diesel --no-fail-fast -- --nocapture timeout-minutes: 10 - name: Install cargo-ci-cache-clean diff --git a/auth/simple-auth-server/README.md b/auth/simple-auth-server/README.md index a16def22..0c7270a4 100644 --- a/auth/simple-auth-server/README.md +++ b/auth/simple-auth-server/README.md @@ -29,13 +29,12 @@ - [r2d2](https://crates.io/crates/r2d2) // A generic connection pool. - [serde](https://crates.io/crates/serde) // A generic serialization/deserialization framework. - [serde_json](https://crates.io/crates/serde_json) // A JSON serialization file format. -- [serde_derive](https://crates.io/crates/serde_derive) // Macros 1.1 implementation of #[derive(Serialize, Deserialize)]. - [sparklepost](https://crates.io/crates/sparklepost) // Rust bindings for Sparkpost email API. - [uuid](https://crates.io/crates/uuid) // A library to generate and parse UUIDs. Read the full tutorial series on [gill.net.in](https://gill.net.in) -- [Auth Web Microservice with Rust using Actix Web v2 - Complete Tutorial](https://gill.net.in/posts/auth-microservice-rust-actix-web1.0-diesel-complete-tutorial/) +- [Auth Web Microservice with Rust using Actix Web v4 - Complete Tutorial](https://gill.net.in/posts/auth-microservice-rust-actix-web1.0-diesel-complete-tutorial/) ### Dependencies