1
0
mirror of https://github.com/actix/examples synced 2024-11-27 16:02:57 +01:00

Merge branch 'master' into update/apalis

This commit is contained in:
Rob Ede 2024-07-20 01:55:50 +01:00 committed by GitHub
commit 9ae76644d8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 7 additions and 8 deletions

View File

@ -59,7 +59,7 @@ jobs:
timeout-minutes: 10 timeout-minutes: 10
- name: Install cargo-ci-cache-clean - name: Install cargo-ci-cache-clean
uses: taiki-e/install-action@v2.41.7 uses: taiki-e/install-action@v2.42.0
with: with:
tool: cargo-ci-cache-clean tool: cargo-ci-cache-clean

View File

@ -50,7 +50,7 @@ jobs:
redis-version: 6 redis-version: 6
- name: cargo test - 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 timeout-minutes: 30
- name: cargo test (diesel) - name: cargo test (diesel)
@ -60,11 +60,11 @@ jobs:
cd databases/diesel cd databases/diesel
diesel migration run diesel migration run
chmod a+rwx test.db 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 timeout-minutes: 10
- name: Install cargo-ci-cache-clean - name: Install cargo-ci-cache-clean
uses: taiki-e/install-action@v2.41.7 uses: taiki-e/install-action@v2.42.0
with: with:
tool: cargo-ci-cache-clean tool: cargo-ci-cache-clean

View File

@ -29,13 +29,12 @@
- [r2d2](https://crates.io/crates/r2d2) // A generic connection pool. - [r2d2](https://crates.io/crates/r2d2) // A generic connection pool.
- [serde](https://crates.io/crates/serde) // A generic serialization/deserialization framework. - [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_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. - [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. - [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) 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 ### Dependencies

View File

@ -6,7 +6,7 @@ A pre-built solution is soon to be built-in. For now, see [`RedirectHttps`](http
## This Example ## 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). 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).

View File

@ -19,7 +19,7 @@ cargo run --bin websocket-server
### rust client ### rust client
```sh ```sh
cd websockets/websocket cd websockets/echo
cargo run --bin websocket-client cargo run --bin websocket-client
``` ```