1
0
mirror of https://github.com/actix/examples synced 2024-11-23 14:31:07 +01:00

Merge branch 'master' into dependabot/github_actions/taiki-e/install-action-2.42.0

This commit is contained in:
Rob Ede 2024-07-20 00:57:50 +01:00 committed by GitHub
commit 91d437c891
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 5 additions and 6 deletions

View File

@ -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

View File

@ -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

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 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).

View File

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