1
0
mirror of https://github.com/actix/examples synced 2024-11-23 22:41:07 +01:00
Commit Graph

450 Commits

Author SHA1 Message Date
Rob Ede
5a76baa51a
Merge pull request #692 from actix/dependabot/cargo/tokio-1.35.1
chore(deps): bump tokio from 1.34.0 to 1.35.1
2024-01-01 21:06:13 +00:00
Rob Ede
1635ec2abf
Merge pull request #696 from actix/dependabot/cargo/actix-web-4.4.1
chore(deps): bump actix-web from 4.4.0 to 4.4.1
2024-01-01 21:05:49 +00:00
dependabot[bot]
8a39b26b58
chore(deps): bump eyre from 0.6.9 to 0.6.11
Bumps [eyre](https://github.com/eyre-rs/eyre) from 0.6.9 to 0.6.11.
- [Commits](https://github.com/eyre-rs/eyre/compare/eyre@0.6.9...eyre@0.6.11)

---
updated-dependencies:
- dependency-name: eyre
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-01 21:03:25 +00:00
Rob Ede
a19ede3dd0
Merge branch 'master' into dependabot/cargo/tokio-1.35.1 2024-01-01 21:03:13 +00:00
Rob Ede
a75a9f8ae2
Merge branch 'master' into dependabot/cargo/awc-3.3.0 2024-01-01 21:03:11 +00:00
dependabot[bot]
34e30a9be3
chore(deps): bump actix-web from 4.4.0 to 4.4.1
Bumps [actix-web](https://github.com/actix/actix-web) from 4.4.0 to 4.4.1.
- [Release notes](https://github.com/actix/actix-web/releases)
- [Changelog](https://github.com/actix/actix-web/blob/master/CHANGES.md)
- [Commits](https://github.com/actix/actix-web/compare/web-v4.4.0...web-v4.4.1)

---
updated-dependencies:
- dependency-name: actix-web
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-01 21:02:43 +00:00
dependabot[bot]
7fe3e7b539
chore(deps): bump tokio from 1.34.0 to 1.35.1
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.34.0 to 1.35.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.34.0...tokio-1.35.1)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-01 21:02:26 +00:00
dependabot[bot]
f14fb2e961
chore(deps): bump awc from 3.2.0 to 3.3.0
Bumps [awc](https://github.com/actix/actix-web) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/actix/actix-web/releases)
- [Changelog](https://github.com/actix/actix-web/blob/master/CHANGES.md)
- [Commits](https://github.com/actix/actix-web/compare/awc-v3.2.0...awc-v3.3.0)

---
updated-dependencies:
- dependency-name: awc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-01 20:59:48 +00:00
Rob Ede
2e41ce0544
Merge pull request #695 from actix/dependabot/cargo/time-0.3.31
chore(deps): bump time from 0.3.30 to 0.3.31
2024-01-01 20:57:31 +00:00
Rob Ede
87616fa02e
Merge pull request #693 from actix/dependabot/cargo/actix-cors-0.6.5
chore(deps): bump actix-cors from 0.6.4 to 0.6.5
2024-01-01 20:55:19 +00:00
dependabot[bot]
b05244cbf2
chore(deps): bump time from 0.3.30 to 0.3.31
Bumps [time](https://github.com/time-rs/time) from 0.3.30 to 0.3.31.
- [Release notes](https://github.com/time-rs/time/releases)
- [Changelog](https://github.com/time-rs/time/blob/main/CHANGELOG.md)
- [Commits](https://github.com/time-rs/time/compare/v0.3.30...v0.3.31)

---
updated-dependencies:
- dependency-name: time
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-01 17:55:58 +00:00
dependabot[bot]
afff11073e
chore(deps): bump actix-cors from 0.6.4 to 0.6.5
Bumps [actix-cors](https://github.com/actix/actix-extras) from 0.6.4 to 0.6.5.
- [Release notes](https://github.com/actix/actix-extras/releases)
- [Commits](https://github.com/actix/actix-extras/compare/cors-v0.6.4...cors-v0.6.5)

---
updated-dependencies:
- dependency-name: actix-cors
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-01 17:54:22 +00:00
dependabot[bot]
f8d3d9693b
chore(deps): bump reqwest from 0.11.22 to 0.11.23
Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.11.22 to 0.11.23.
- [Release notes](https://github.com/seanmonstar/reqwest/releases)
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.11.22...v0.11.23)

---
updated-dependencies:
- dependency-name: reqwest
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-01 17:52:28 +00:00
Rob Ede
5072295de5
Merge pull request #683 from actix/dependabot/cargo/redis-0.24.0
Bump redis from 0.23.3 to 0.24.0
2023-12-26 04:00:17 +00:00
Rob Ede
1e294fa1ab
Merge branch 'master' into dependabot/cargo/redis-0.24.0 2023-12-26 03:55:07 +00:00
Rob Ede
1d4380a854
Merge branch 'master' into dependabot/cargo/aws-2cd9d297e1 2023-12-26 03:49:46 +00:00
Rob Ede
a5d56c7382
Merge pull request #687 from actix/dependabot/cargo/deadpool-postgres-0.12.1
Bump deadpool-postgres from 0.11.0 to 0.12.1
2023-12-25 21:16:20 +00:00
Rob Ede
a7a7cc5c67
Merge pull request #686 from actix/dependabot/cargo/actix-http-3.5.1
Bump actix-http from 3.4.0 to 3.5.1
2023-12-25 21:16:01 +00:00
dependabot[bot]
401119cc2f
Bump openssl from 0.10.60 to 0.10.62
Bumps [openssl](https://github.com/sfackler/rust-openssl) from 0.10.60 to 0.10.62.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.60...openssl-v0.10.62)

---
updated-dependencies:
- dependency-name: openssl
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-25 17:50:45 +00:00
dependabot[bot]
7146f8e31c
Bump deadpool-postgres from 0.11.0 to 0.12.1
Bumps [deadpool-postgres](https://github.com/bikeshedder/deadpool) from 0.11.0 to 0.12.1.
- [Changelog](https://github.com/bikeshedder/deadpool/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bikeshedder/deadpool/compare/deadpool-postgres-v0.11.0...deadpool-postgres-v0.12.1)

---
updated-dependencies:
- dependency-name: deadpool-postgres
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-25 17:50:22 +00:00
dependabot[bot]
c706b4d75b
Bump actix-http from 3.4.0 to 3.5.1
Bumps [actix-http](https://github.com/actix/actix-web) from 3.4.0 to 3.5.1.
- [Release notes](https://github.com/actix/actix-web/releases)
- [Changelog](https://github.com/actix/actix-web/blob/master/CHANGES.md)
- [Commits](https://github.com/actix/actix-web/compare/http-v3.4.0...http-v3.5.1)

---
updated-dependencies:
- dependency-name: actix-http
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-25 17:50:02 +00:00
dependabot[bot]
5ad3972db0
Bump the aws group with 1 update
Bumps the aws group with 1 update: [aws-sdk-s3](https://github.com/awslabs/aws-sdk-rust).


Updates `aws-sdk-s3` from 1.8.0 to 1.11.0
- [Release notes](https://github.com/awslabs/aws-sdk-rust/releases)
- [Changelog](https://github.com/awslabs/aws-sdk-rust/blob/main/CHANGELOG.md)
- [Commits](https://github.com/awslabs/aws-sdk-rust/commits)

---
updated-dependencies:
- dependency-name: aws-sdk-s3
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: aws
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-25 17:49:39 +00:00
dependabot[bot]
bc6f961be9
Bump prost from 0.12.1 to 0.12.3 (#682) 2023-12-18 17:48:39 +00:00
dependabot[bot]
1ae7a90642
Bump clap from 4.4.10 to 4.4.11 (#681) 2023-12-18 17:48:26 +00:00
dependabot[bot]
ea57f05bc5
Bump the aws group with 2 updates (#680) 2023-12-18 17:47:51 +00:00
dependabot[bot]
e9c899a32a
Bump redis from 0.23.3 to 0.24.0
Bumps [redis](https://github.com/redis-rs/redis-rs) from 0.23.3 to 0.24.0.
- [Release notes](https://github.com/redis-rs/redis-rs/releases)
- [Commits](https://github.com/redis-rs/redis-rs/compare/redis-0.23.3...redis-0.24.0)

---
updated-dependencies:
- dependency-name: redis
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-18 17:42:43 +00:00
dependabot[bot]
f22516a0d4
Bump zerocopy from 0.7.25 to 0.7.31 (#678) 2023-12-15 03:57:03 +00:00
dependabot[bot]
7e18ca2d61
Bump the aws group with 2 updates (#674) 2023-12-11 21:11:16 +00:00
dependabot[bot]
6441a3791f
Bump actix-web-lab from 0.20.0 to 0.20.1 (#675) 2023-12-11 21:11:04 +00:00
dependabot[bot]
eb479ec7f4
Bump once_cell from 1.18.0 to 1.19.0 (#677) 2023-12-11 21:10:50 +00:00
dependabot[bot]
e9ae710b9f
Bump the aws group with 1 update (#667)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-04 18:02:45 +00:00
dependabot[bot]
a9d49dcf25
Bump config from 0.13.3 to 0.13.4 (#671)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rob Ede <robjtede@icloud.com>
2023-12-04 18:02:38 +00:00
dependabot[bot]
16f396015f
Bump clap from 4.4.8 to 4.4.10 (#669)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-04 18:02:10 +00:00
dependabot[bot]
b759579bcc
Bump apalis from 0.4.5 to 0.4.7 (#670)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-04 18:01:46 +00:00
dependabot[bot]
81a79d23c8
Bump the aws group with 2 updates (#659)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rob Ede <robjtede@icloud.com>
2023-11-29 19:59:03 +00:00
dependabot[bot]
75b0819e6f
Bump uuid from 1.5.0 to 1.6.1 (#660)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-29 19:58:24 +00:00
dependabot[bot]
eb802879e6
Bump diesel from 2.1.3 to 2.1.4 (#662)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-29 19:55:47 +00:00
dependabot[bot]
3a7e16e955
Bump openssl from 0.10.59 to 0.10.60 (#664) 2023-11-29 02:43:16 +00:00
dependabot[bot]
24a07569ec
Bump url from 2.4.1 to 2.5.0 (#663)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rob Ede <robjtede@icloud.com>
2023-11-28 04:27:04 +00:00
dependabot[bot]
e6a51bfe99
Bump async-graphql-actix-web from 6.0.10 to 6.0.11 (#661)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-27 20:17:52 +00:00
dependabot[bot]
1b43dde946
Bump the aws group with 1 update (#653)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rob Ede <robjtede@icloud.com>
2023-11-20 18:54:13 +00:00
dependabot[bot]
f967173aee
Bump async-graphql from 6.0.10 to 6.0.11 (#654)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-20 18:25:35 +00:00
dependabot[bot]
be35d8d6c7
Bump eyre from 0.6.8 to 0.6.9 (#655)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-20 18:24:55 +00:00
dependabot[bot]
1ceca93723
Bump rustls from 0.21.8 to 0.21.9 (#657)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-20 18:24:40 +00:00
dependabot[bot]
8f24139bfe
Bump env_logger from 0.10.0 to 0.10.1 (#656)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-20 18:23:02 +00:00
dependabot[bot]
58074e22df
Bump self_cell from 0.10.2 to 0.10.3 (#651)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-14 18:42:33 +00:00
dependabot[bot]
1a9a15c7db
Bump handlebars from 4.4.0 to 4.5.0 (#646)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rob Ede <robjtede@icloud.com>
2023-11-13 17:51:38 +00:00
dependabot[bot]
7f223163e9
Bump tokio from 1.33.0 to 1.34.0 (#647)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rob Ede <robjtede@icloud.com>
2023-11-13 17:51:32 +00:00
dependabot[bot]
f546b0c203
Bump rustls-pemfile from 1.0.3 to 1.0.4 (#648)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-13 17:47:09 +00:00
dependabot[bot]
1a04b03c9f
Bump minijinja from 1.0.9 to 1.0.10 (#649)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-13 17:47:00 +00:00
dependabot[bot]
226742f40e
Bump clap from 4.4.7 to 4.4.8 (#650)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-13 17:46:50 +00:00
Rob Ede
1027b6e1fb
update aws-sdk deps 2023-11-07 03:27:23 +00:00
Rob Ede
0de1c02762
chore: rename middleware dirs 2023-10-29 23:51:05 +00:00
Rob Ede
5d36d72976
chore: move and document rate limit middleware 2023-10-29 23:47:02 +00:00
will
cf55f50d1d
Add rate-limit example (#642)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2023-10-29 23:32:02 +00:00
Rob Ede
84a1e0974e
update sanitize-filename dep 2023-10-29 02:30:17 +00:00
Rob Ede
0281a1a112
fix last dotenv reference 2023-10-29 01:48:04 +01:00
Rob Ede
07bb27eb4b
migrate to dotenvy 2023-10-29 01:17:49 +01:00
Rob Ede
220b54c231
update aws-sdk deps 2023-10-29 01:16:34 +01:00
Rob Ede
4e15805325
update postgres and sailfish deps 2023-10-29 01:14:14 +01:00
Rob Ede
8fa3507674
update async-graphql deps 2023-10-29 01:10:31 +01:00
Rob Ede
95926dc0f5
update argon2 dep 2023-10-29 01:08:45 +01:00
Rob Ede
1a44c313e4
update actix ecosystem deps 2023-10-29 01:06:58 +01:00
Rob Ede
1eeb935674
update protobuf versions 2023-10-29 00:55:43 +01:00
dependabot[bot]
87f5d72b14
Bump aes-gcm from 0.10.2 to 0.10.3 (#637)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-22 16:29:00 +00:00
Rob Ede
fce8c007a2
remove unneeded deps 2023-09-11 00:50:09 +01:00
Rob Ede
22b4255fac
migrate acme example to acme-rfc8555 (#635) 2023-09-10 23:45:01 +00:00
Rob Ede
72d0d1eb4b
fix: remaining upgrade issues 2023-08-29 18:56:00 +01:00
Rob Ede
09dad8f836
chore: update deps 2023-08-29 18:49:21 +01:00
Rob Ede
cfea68d5c7
use rustls v0.21 2023-08-29 18:28:15 +01:00
Rob Ede
2ece131b36
remove unneeded dependencies 2023-07-18 17:42:33 +01:00
Rob Ede
1a634a983f
remove jsoncrate 2023-07-18 17:34:26 +01:00
Rob Ede
20105d13fe
chore: update deps 2023-07-18 16:22:29 +01:00
Rob Ede
3513108eb5
update mysql dep to 24 2023-07-18 16:22:00 +01:00
Rob Ede
f3cf37bb0d
fix vue example ports
closes #624
2023-07-17 22:26:11 +01:00
Rob Ede
a86471501d
split up mysql modules 2023-07-17 20:59:04 +01:00
Rob Ede
dfd925d4c1
add mysql example to workspace 2023-07-17 17:55:17 +01:00
Rob Ede
1ca11e70e8
update sqlx dep to 0.7 2023-07-09 02:05:10 +01:00
Rob Ede
4bfe63857e
update aws-sdk deps 2023-07-09 01:33:45 +01:00
Rob Ede
dbfa486897
update minijinja version 2023-07-09 00:56:56 +01:00
Rob Ede
7b865c6aed
update deps 2023-07-08 18:52:09 +01:00
dependabot[bot]
ce10427457
Bump openssl from 0.10.52 to 0.10.55 (#621) 2023-06-22 00:06:45 +01:00
Rob Ede
aae806b42f
update deps 2023-05-22 12:47:21 +01:00
dependabot[bot]
c6c8463ac5
Bump aws-sigv4 from 0.54.1 to 0.54.2 (#620)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-27 02:23:15 +09:00
dependabot[bot]
acbed8e670
Bump openssl from 0.10.45 to 0.10.48 (#611)
Bumps [openssl](https://github.com/sfackler/rust-openssl) from 0.10.45 to 0.10.48.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.45...openssl-v0.10.48)

---
updated-dependencies:
- dependency-name: openssl
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-25 02:22:18 +00:00
Rob Ede
6424e4e023
standardize examples 2023-03-14 03:11:49 +00:00
Rob Ede
ca6eaee52e
update actix-web-lab dep 2023-03-14 02:40:02 +00:00
Rob Ede
0c820844c8
clippy 2023-03-14 02:36:22 +00:00
Rob Ede
080db60175
update multipart examples to use derive macro 2023-02-26 21:57:10 +00:00
Rob Ede
9b77b033b0
refine versions 2023-02-26 21:57:10 +00:00
dependabot[bot]
f4eb989dcb
Bump tokio from 1.24.1 to 1.25.0 (#601)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-04 01:03:55 +00:00
Rob Ede
e353c7ae11
update deps 2023-01-07 15:23:31 +00:00
dependabot[bot]
34746a346d
Bump tokio from 1.23.0 to 1.24.1 (#597)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-06 22:18:21 +00:00
Rob Ede
de5e6eecc0
improve prod advice in cookie-auth 2023-01-03 14:04:10 +00:00
Rob Ede
7ca1024742
add reqwest alternative to http proxy 2023-01-01 20:22:50 +00:00
Rob Ede
defc334b14
update deps 2022-12-30 16:48:10 +00:00
Rob Ede
b91e424ab4
address clippy lints 2022-12-30 16:30:16 +00:00
Rob Ede
061860743f
add background-jobs example 2022-12-30 16:23:24 +00:00
Yuki Okushi
aee47e0817
Use workspace dependencies for actix-web (#594) 2022-12-21 14:49:28 +00:00
Rob Ede
096521d526
add middleware-encrypted-payloads example 2022-12-18 21:10:03 +00:00
Rob Ede
4df66d1e8a
add from_fn to mdidleware example 2022-12-17 22:10:54 +00:00
Rob Ede
4272586f0c
re-add request body in middleware example 2022-12-17 22:10:53 +00:00
Rob Ede
a814ac0d5c
fix diesel test in CI (#592) 2022-12-12 02:41:22 +00:00
Rob Ede
fbf376db47
re-add todo example 2022-12-11 15:32:09 +00:00
Rob Ede
bf1daf86a7
update deps 2022-12-11 15:31:32 +00:00
Rob Ede
c78332c0f9
update env_logger to 0.10 2022-12-11 15:25:57 +00:00
Rob Ede
3ffb06abb7
update mysql dependency to 23 2022-12-11 15:25:15 +00:00
Rob Ede
6f763395d7
unhide todo 2022-10-26 16:51:50 +01:00
Rob Ede
ddda86784a
update deps 2022-10-26 16:51:27 +01:00
Rob Ede
ae25a7908d
add auto reloading to minijinja 2022-10-16 21:49:01 +01:00
Rob Ede
bf0386ade7
reduce minijinja boilerplate 2022-10-16 21:36:23 +01:00
Rob Ede
5e8883e35a
add minijinja templating example 2022-10-16 21:20:01 +01:00
Rob Ede
6953e927ac
simplify data_factory example 2022-10-16 19:24:17 +01:00
Rob Ede
fa323545e9
update redis example to v0.22 2022-10-16 19:14:40 +01:00
Rob Ede
fc0486dd4a
remove lazy_static 2022-09-11 16:14:07 +01:00
Rob Ede
ed04cc97b3
update diesel to v2 2022-09-10 23:33:09 +01:00
Rob Ede
fd86b650f1
update deps 2022-09-10 23:07:55 +01:00
Rob Ede
0319f18995
chore: remove fluent crate override 2022-08-28 18:43:05 +01:00
Rob Ede
818d8b1384
chore: update lab dep 2022-08-28 18:41:16 +01:00
Rob Ede
7fd8c57cd2
chore: update deps 2022-08-28 18:40:59 +01:00
Rob Ede
d259177eab
use placeholder approach to shutdown-server 2022-08-07 23:58:56 +01:00
Rob Ede
2a680d0659
bump deps 2022-08-07 23:13:00 +01:00
Rob Ede
d55caee58e
update sse example 2022-08-07 23:12:52 +01:00
Rob Ede
05e19266ad
use semantic SSE types 2022-08-07 01:24:40 +01:00
Rob Ede
087ac5ef24
update deps 2022-08-05 19:43:46 +01:00
Rob Ede
c8a4544ea1
return uploaded files information in s3 example 2022-08-01 03:19:39 +01:00
Rob Ede
4840cfdb68
migrate s3 example to aws-sdk-s3 2022-08-01 01:17:59 +01:00
Rob Ede
0149e64c7a
bump uuid to v1 2022-07-31 23:51:08 +01:00
dependabot[bot]
9adb5d3f0e
Bump juniper from 0.15.9 to 0.15.10 (#567)
Bumps [juniper](https://github.com/graphql-rust/juniper) from 0.15.9 to 0.15.10.
- [Release notes](https://github.com/graphql-rust/juniper/releases)
- [Changelog](https://github.com/graphql-rust/juniper/blob/master/release.toml)
- [Commits](https://github.com/graphql-rust/juniper/compare/juniper-v0.15.9...juniper-v0.15.10)

---
updated-dependencies:
- dependency-name: juniper
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-30 00:19:27 +01:00
Rob Ede
c557986915
update actix-session everywhere 2022-07-21 03:30:12 +01:00
Koki Nishihara
5c9f69bb07
update example redis-session (#545)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-07-21 03:21:07 +01:00
Rob Ede
b8a1449605
improve actorless echo example 2022-07-12 01:08:15 +01:00
Rob Ede
f3ff729a69
add actorless chat example 2022-07-11 20:19:29 +01:00
Rob Ede
a4a060994d
add actorless websocket echo example 2022-07-11 01:44:46 +01:00
Rob Ede
4ff98dbaa5
re-add fluent templating example to workspace 2022-07-10 03:48:11 +01:00
Rob Ede
0f08afee18
update sailfish 2022-07-09 23:39:21 +01:00
Rob Ede
0a201cd860
update async-graphql deps 2022-07-09 23:35:09 +01:00
Rob Ede
a46a459476
update deps 2022-07-09 23:13:39 +01:00
Rob Ede
ecc8522725
update mysql deps 2022-07-09 23:11:36 +01:00
Rob Ede
bbb2e54f07
update some easy deps 2022-07-09 22:54:51 +01:00
Rob Ede
4b801ba222
clippy 2022-07-09 21:05:06 +01:00
Rob Ede
e97bc83f59
update actix-web-lab deps 2022-07-09 20:48:05 +01:00
Rob Ede
43e79460b7
update deps 2022-07-09 20:43:47 +01:00
Daniel Hartig
04e3ccaca5
Updated actix-session version to 0.6 in examples/auth/cookie-session (#560) 2022-06-21 07:32:08 +09:00
Yuri Astrakhan
7a957cee6e
Update Cargo.lock to fix the build (#556) 2022-06-08 03:36:16 +01:00
Andrew Langmeier
271a68c07d
Update dependencies for databases/postgres (#555)
Fix config code to account for breaking changes
2022-06-08 00:51:42 +01:00
Rob Ede
4f1881d1a3
clean up rustls example 2022-03-15 18:17:19 +00:00
Rob Ede
c9ebeacf58
fix cors example 2022-03-15 17:32:27 +00:00
Rob Ede
f27cc4b6b4
normalize ports to 8080 2022-03-06 00:41:32 +00:00
Rob Ede
e8cd22d2f2
reduce futures dep 2022-03-06 00:15:19 +00:00
Rob Ede
b8fc58bec6
add guard example
closes #533
2022-03-05 14:28:43 +00:00
Rob Ede
c3fd8e1315
update dependencies 2022-03-04 16:28:40 +00:00
Rob Ede
418e6f2548
update deps 2022-03-04 03:46:05 +00:00
Rob Ede
4dc9199781
update actix web to stable version 2022-02-25 21:08:53 +00:00
Rob Ede
bad25d643e
use futures-util in more cases 2022-02-22 12:12:17 +00:00
Rob Ede
1206905a11
fix static-files readme name 2022-02-18 03:36:04 +00:00
Rob Ede
b388c10aea
fix links 2022-02-18 02:13:08 +00:00
Rob Ede
74ee6ae707
rename nested routing binary 2022-02-18 02:02:44 +00:00
Rob Ede
cc3d356209
restructure folders 2022-02-18 02:01:48 +00:00
Rob Ede
4d8573c3fe
update all websocket examples to v4 2022-02-18 01:44:53 +00:00
Rob Ede
1b23e3ff3d
update async-graphql example 2022-02-17 21:29:55 +00:00
Rob Ede
e0888cd255
update graphql advanced example 2022-02-17 20:59:04 +00:00
Rob Ede
7857ac65f8
update protobuf example 2022-02-17 20:22:36 +00:00
averichev
ddb84ebf6f
feat: Example for Sailfish template engine (#528)
Co-authored-by: aaverichev <Aleksandr.Averichev@hermesrussia.ru>
Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-02-17 20:15:18 +00:00
Nick
d815a44ccc
Upgrade dependencies in websocket-tcp-example (#469)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-02-17 19:54:41 +00:00
Christopher Gubbin
5c1e25fe52
Database interactions/redis (#524)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-02-15 00:35:00 +00:00
Rob Ede
7ea3f7f54a
clean up sse example 2022-02-14 01:37:51 +00:00
Rob Ede
0b74135fb0
Adding auto OpenSSL ACME Let's Encrypt example. (#523)
Co-authored-by: Lajto Mekadimon <85128868+lajtomekadimon@users.noreply.github.com>
2022-02-06 16:31:44 +00:00
Rob Ede
fb9f9d243d
disable db/diesel for now 2022-02-06 08:31:17 +00:00
Rob Ede
da60a30fd9
delete db/r2d2 example 2022-02-06 08:25:38 +00:00
Rob Ede
a4d43c0ff8
fix db/basic 2022-02-06 08:19:35 +00:00
Rob Ede
ae9a9a0382
fmt 2022-02-02 15:50:58 +00:00
Rob Ede
06b024d6fe
fix lockfile 2022-02-02 15:21:49 +00:00
Luca Palmieri
9c620d1943
Update template-engines/tinytemplate to v4 (#501) 2022-02-02 15:18:48 +00:00
Luca Palmieri
f9b0dde4c8
Update template-engines/tera to v4 (#499) 2022-02-02 15:18:19 +00:00
Luca Palmieri
6afc431858
Update template-engines/handlerbars to v4 (#497) 2022-02-02 15:17:17 +00:00
Luca Palmieri
32f6289764
Update template-engines/askama to v4 (#496) 2022-02-02 15:16:44 +00:00
Luca Palmieri
71899bf343
Update json/jsonrpc to v4 (#491) 2022-02-02 15:16:19 +00:00
Luca Palmieri
5dec713add
Update database-interactions/mongo-db to the latest v4 beta (#508)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-02-02 15:15:25 +00:00
Rafael Bachmann
c01f0ea5f3
Update basics/todo to v4. (#486)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-02-02 02:19:01 +00:00
Rob Ede
d36c2f0f1f
clean up run-in-thread 2022-02-02 02:09:06 +00:00
Luca Palmieri
ca703d9cec
Update basics/run-in-thread to v4 (#485) 2022-02-02 02:04:37 +00:00
Rob Ede
a99c4ca546
clean up http-proxy 2022-02-02 02:02:47 +00:00
Rob Ede
6058625ecb
clean up json-validation 2022-02-02 01:51:25 +00:00
Rob Ede
da799d58e7
remove dep 2022-02-02 01:47:28 +00:00
Rob Ede
ce014059e6
all versions are 1.0 2022-02-02 01:45:20 +00:00
Rob Ede
07384c91aa
refactor basics/basics 2022-02-02 01:43:27 +00:00
Luca Palmieri
8dcc610d23
Update basics/basics to v4 (#474)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-02-02 01:24:28 +00:00
Rob Ede
9aef457a78
improve awc_http example 2022-02-02 01:17:10 +00:00
Rob Ede
c960da6bdb
bump to rc.1 2022-02-02 00:44:58 +00:00
Luca Palmieri
8fae03844c
Update database_interactions/diesel to v4 (#507) 2022-01-31 02:46:08 +00:00
Apoorv Vardhan
4d2b948bcf
Upgrade security/web-cors to v4 (#514) 2022-01-31 02:45:53 +00:00
PrivateDave
25066b754f
Updated basics/docker_sample to v4. (#504) 2022-01-30 16:21:43 +00:00
Rafael Bachmann
1c7ea7154e
Update basics/hello-world to v4. (#477) 2022-01-30 16:17:18 +00:00
Luca Palmieri
c2b5d89ea6
Update json/json to v4 (#489) 2022-01-29 16:44:20 +00:00
Luca Palmieri
e903184a12
Update basics/middleware to v4 (#482)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-01-29 16:39:58 +00:00
Luca Palmieri
9a00813b93
Update template-engines/yarte to v4 (#502) 2022-01-29 16:39:36 +00:00
Luca Palmieri
8b5de155bd
Update db/basic, db/sqlx_todo and db/r2d2 to v4 (#506) 2022-01-29 16:25:46 +00:00
Rob Ede
062a3af80c
delete udp echo example 2022-01-29 16:06:32 +00:00
Luca Palmieri
0e03496d36
Update basics/middleware-ext-mut to v4 (#484) 2022-01-29 14:42:30 +00:00
Rob Ede
d327e8800b
update docker sample 2022-01-27 02:58:25 +00:00
Christian Beier
1cc73366c5
Fix deadlock in casbin example (#471)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-01-19 19:49:57 +00:00
Christian Beier
16447351c1
Fix casbin example for actix-web v3 (#467) 2022-01-04 11:41:17 +00:00
Rishad Baniya
11cd3f2b58
Middleware example - Redirect http connections to https (#457) 2021-10-13 15:06:42 +01:00
Eric
817c7e1150
Working middleware using extensions_mut (#402)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-10-07 04:04:19 +01:00
Rob Ede
0c4ab86a9a
remove unwraps in multipart examples
inspired by #406
2021-10-07 03:27:50 +01:00
Rob Ede
bfede4c1bb
improve sqlx example
inspired by #455
2021-10-07 03:00:13 +01:00
Rob Ede
c69b7598fb
dep update 2021-10-06 23:56:44 +01:00
Rob Ede
f623284c71
ignore protobuf-example in ci 2021-10-06 23:12:42 +01:00
Rob Ede
900a699fba
regererate rustls certs
fixes #445
2021-10-06 22:42:44 +01:00
Yuki Okushi
bb4f97ba41
Upgrade juniper to 0.15 (#423) 2021-04-26 20:32:32 +09:00
netroby
ef13969220
Bump tera version to 1.8.0, print the listening port to cli (#421)
Co-authored-by: ZhiFeng Hu <huzhifeng@coldlake.cn>
2021-04-25 21:15:27 +09:00
Yuki Okushi
fb897db380
Upgrade lexical-cores to the latest (#422)
log:
```
    Updating crates.io index
    Removing lexical-core v0.6.2
      Adding lexical-core v0.6.8
      Adding lexical-core v0.7.6
```
2021-04-25 21:00:29 +09:00
Juan Aguilar
a66c05448e
Update yarte to 0.15 (#416) 2021-03-04 01:38:53 +09:00
Daniel T. Rodrigues
7487a81e90
Fix sqlx_todo CI checks (#415) 2021-03-03 23:37:17 +09:00
Daniel T. Rodrigues
75c19eb5c9
Add tests to diesel example (#414)
* add tests to diesel example

* add diesel migration to gh workflow

* update diesel gh action

* update diesel gh action

* review #414 diesel tests
2021-03-02 03:35:02 +09:00
Daniel T. Rodrigues
c3407627d0
Restructure folders (#411) 2021-02-26 00:57:58 +00:00
Juan Aguilar
401753dd90
Refactor template yarte example for use bytes implementation (#392) 2020-12-17 21:34:40 +00:00
yjh
89d2e4e3f7
fix typo and update some deps (#390)
* chore: fix typo for `run-in-thread`

* chore: update some deps for examples
2020-12-14 11:30:06 +00:00
Yuki Okushi
5c8749c2a2
Use rust-argon2 instead of less-maintained argonautica (#389) 2020-12-02 12:29:03 +09:00
Aravinth Manivannan
876da8cf70
stateful websockets using actors (#384)
Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
2020-11-30 21:41:33 +09:00
Yuki Okushi
c6f9ce071a
Update tiny_template example and deps (#388)
* Update actix crates in tiny_template example

* Run `cargo update`

    Updating crates.io index
    Updating git repository `https://github.com/bcmyers/argonautica`
    Updating actix-cors v0.5.0 -> v0.5.3
    Updating actix-http v2.1.0 -> v2.2.0
    Updating actix-web v3.2.0 -> v3.3.1
    Updating addr2line v0.13.0 -> v0.14.0
    Updating aes v0.4.0 -> v0.6.0
    Updating aes-gcm v0.6.0 -> v0.8.0
    Updating aes-soft v0.4.0 -> v0.6.4
    Updating aesni v0.7.0 -> v0.10.0
    Updating ahash v0.3.8 -> v0.4.6
    Updating aho-corasick v0.7.14 -> v0.7.15
    Updating anyhow v1.0.33 -> v1.0.34
    Removing arc-swap v0.4.7
    Updating arrayvec v0.5.1 -> v0.5.2
    Updating async-executor v1.3.0 -> v1.4.0
    Updating async-global-executor v1.3.0 -> v1.4.3
    Updating async-graphql v2.0.0 -> v2.1.5
    Updating async-graphql-actix-web v2.0.0 -> v2.1.5
    Updating async-graphql-derive v2.0.0 -> v2.1.4
    Updating async-graphql-parser v2.0.0 -> v2.1.2
    Updating async-graphql-value v2.0.0 -> v2.0.5
    Updating async-io v1.1.10 -> v1.3.0
    Updating async-std v1.6.5 -> v1.7.0
    Updating async-task v4.0.2 -> v4.0.3
    Updating async-trait v0.1.41 -> v0.1.42
    Updating awc v2.0.0 -> v2.0.3
    Updating backtrace v0.3.53 -> v0.3.55
    Updating base-x v0.2.6 -> v0.2.8
    Updating blake2b_simd v0.5.10 -> v0.5.11
    Removing block-cipher v0.7.1
    Updating bstr v0.2.13 -> v0.2.14
    Updating cc v1.0.61 -> v1.0.65
      Adding cipher v0.2.5
    Updating combine v4.3.2 -> v4.4.0
      Adding console_error_panic_hook v0.1.6
    Updating const_fn v0.4.2 -> v0.4.3
    Updating cookie v0.14.2 -> v0.14.3
    Updating core-foundation v0.7.0 -> v0.9.1
    Updating core-foundation-sys v0.7.0 -> v0.8.2
    Updating crc32fast v1.2.0 -> v1.2.1
      Adding crossbeam-utils v0.8.1
    Removing crypto-mac v0.8.0
      Adding crypto-mac v0.9.1
      Adding crypto-mac v0.10.0
      Adding ctr v0.6.0
    Updating derive_utils v0.10.0 -> v0.11.0
    Updating encoding_rs v0.8.24 -> v0.8.26
    Updating env_logger v0.8.1 -> v0.8.2
    Updating flate2 v1.0.18 -> v1.0.19
      Adding form_urlencoded v1.0.0
    Updating futures v0.3.6 -> v0.3.8
    Updating futures-executor v0.3.6 -> v0.3.8
    Updating futures-lite v1.11.1 -> v1.11.2
    Updating gimli v0.22.0 -> v0.23.0
    Updating globset v0.4.5 -> v0.4.6
    Updating h2 v0.2.6 -> v0.2.7
    Updating handlebars v3.5.0 -> v3.5.1
    Removing hashbrown v0.8.2
    Updating hkdf v0.9.0 -> v0.10.0
    Removing hmac v0.8.1
      Adding hmac v0.9.0
      Adding hmac v0.10.1
    Updating hyper v0.13.8 -> v0.13.9
    Updating ignore v0.4.16 -> v0.4.17
    Updating instant v0.1.7 -> v0.1.9
    Updating io-enum v0.2.3 -> v0.2.4
    Removing itertools v0.9.0
    Updating libc v0.2.79 -> v0.2.80
    Updating lock_api v0.4.1 -> v0.4.2
    Updating lru v0.6.0 -> v0.6.1
    Updating memchr v2.3.3 -> v2.3.4
    Removing miow v0.2.1
    Removing miow v0.3.5
      Adding miow v0.2.2
      Adding miow v0.3.6
    Updating native-tls v0.2.4 -> v0.2.6
    Updating net2 v0.2.35 -> v0.2.36
    Updating num-integer v0.1.43 -> v0.1.44
    Updating num-traits v0.2.12 -> v0.2.14
    Updating object v0.21.1 -> v0.22.0
    Updating once_cell v1.4.1 -> v1.5.2
    Updating onig v6.1.0 -> v6.1.1
    Updating onig_sys v69.5.1 -> v69.6.0
    Updating parking_lot v0.11.0 -> v0.11.1
    Updating pin-project v1.0.1 -> v1.0.2
    Updating pin-project-internal v1.0.1 -> v1.0.2
    Removing pin-project-lite v0.1.10
      Adding pin-project-lite v0.1.11
      Adding pin-project-lite v0.2.0
    Updating pkg-config v0.3.18 -> v0.3.19
    Updating polling v2.0.1 -> v2.0.2
    Updating polyval v0.4.1 -> v0.4.2
    Updating postgres-protocol v0.5.2 -> v0.5.3
    Updating postgres-types v0.1.2 -> v0.1.3
    Updating ppv-lite86 v0.2.9 -> v0.2.10
    Updating redis-async v0.6.3 -> v0.6.6
    Updating regex v1.4.0 -> v1.4.2
    Updating regex-syntax v0.6.19 -> v0.6.21
    Updating reqwest v0.10.8 -> v0.10.9
    Updating resolv-conf v0.6.3 -> v0.7.0
    Updating ring v0.16.15 -> v0.16.18
    Updating rust-argon2 v0.8.2 -> v0.8.3
    Updating rustc-demangle v0.1.17 -> v0.1.18
      Adding scoped-tls v1.0.0
    Updating security-framework v0.4.4 -> v2.0.0
    Updating security-framework-sys v0.4.3 -> v2.0.0
    Updating serde v1.0.116 -> v1.0.117
    Updating serde_derive v1.0.116 -> v1.0.117
    Updating serde_urlencoded v0.6.1 -> v0.7.0
    Updating sha-1 v0.9.1 -> v0.9.2
    Updating sha2 v0.9.1 -> v0.9.2
    Updating signal-hook-registry v1.2.1 -> v1.2.2
    Updating smallvec v1.4.2 -> v1.5.0
    Updating socket2 v0.3.15 -> v0.3.17
      Adding spin v0.6.0
    Updating standback v0.2.11 -> v0.2.13
    Updating string_cache v0.8.0 -> v0.8.1
    Updating syn v1.0.44 -> v1.0.53
    Updating termcolor v1.1.0 -> v1.1.2
    Updating terminal_size v0.1.13 -> v0.1.15
    Updating thiserror v1.0.21 -> v1.0.22
    Updating thiserror-impl v1.0.21 -> v1.0.22
    Updating time v0.2.22 -> v0.2.23
    Removing tinyvec v0.3.4
    Removing tinyvec v1.0.1
      Adding tinyvec v1.1.0
    Updating tokio v0.2.22 -> v0.2.23
    Updating tokio-macros v0.2.5 -> v0.2.6
    Updating tracing v0.1.21 -> v0.1.22
      Adding tracing-futures v0.2.4
    Updating trust-dns-proto v0.19.5 -> v0.19.6
    Updating trust-dns-resolver v0.19.5 -> v0.19.6
    Updating twox-hash v1.5.0 -> v1.6.0
    Updating unicode-normalization v0.1.13 -> v0.1.16
    Updating unicode-segmentation v1.6.0 -> v1.7.1
    Updating url v2.1.1 -> v2.2.0
    Updating v_escape v0.14.0 -> v0.14.1
      Adding wasm-bindgen-test v0.3.18
      Adding wasm-bindgen-test-macro v0.3.18
    Updating wepoll-sys v3.0.0 -> v3.0.1
2020-11-30 08:54:00 +00:00
Rob Ede
7148fd3d0e
add client certificate example (#380) 2020-10-30 04:22:24 +00:00
Rob Ede
5573e5fd34
update cors example to 0.5 2020-10-19 23:36:53 +01:00
Sunli
66d27bbe61
Update async-graphql-demo for async-graphql v2.0.0 (#378) 2020-10-13 16:45:19 +09:00
Yuki Okushi
cd62e1301f
web-cors: Update actix-cors to 0.4 (#373) 2020-10-03 07:51:05 +09:00
Yuki Okushi
b727e796b9
Correct some items' name to fix the build (#370) 2020-09-20 06:17:56 +09:00
Rob Ede
d836b046c9
migrate ci to github actions (#367) 2020-09-16 01:11:49 +01:00
Nikolay Kim
66cbf644b9 update deps 2018-08-02 11:50:41 -07:00
Nikolay Kim
ba3cf13c72 add ssl feature 2018-08-02 09:30:06 -07:00
Sadika Sumanapala
7156e1cbf0 Rename example 'complex-middleware' to 'cookie-auth-full' 2018-07-23 15:29:32 +05:30
Sadika Sumanapala
1e7402e2bb Complex middleware example 2018-07-21 20:07:58 +05:30
Sadika Sumanapala
6784ebbb4a Use built-in middleware 2018-07-21 20:04:58 +05:30
Nikolay Kim
5499c01c65 upgrade redis example 2018-07-21 07:00:04 -07:00
Nikolay Kim
271749c433 update actix-web dependency 2018-07-21 05:10:26 -07:00
Nikolay Kim
2cc1b23761 upgrade example to actix-web 0.7 2018-07-16 12:36:53 +06:00
Gorm Casper
ab7736c790 init 2018-07-09 20:18:31 +02:00
Gorm Casper
8c7a0ab29b create form example 2018-07-04 17:12:33 +02:00
Nikolay Kim
fb0a582636 add async body example 2018-06-13 05:21:41 -07:00
Nikolay Kim
cc2cfaab6e update deps 2018-06-05 09:41:08 -07:00
Nikolay Kim
96a77890ba do not use with2 2018-06-01 11:31:53 -07:00
Nikolay Kim
e4f1833215 cleanup and cargo fmt 2018-05-20 21:03:29 -07:00
Nikolay Kim
db8d57052e remove unused files 2018-05-16 21:10:34 -07:00
Nikolay Kim
16f7649b29 split websocket-chat example 2018-05-11 14:35:43 -07:00
Nikolay Kim
bbeb262a5c upgrade actix-web to 0.6 2018-05-08 11:08:43 -07:00
Nikolay Kim
27de52b5d5 add backend server for http proxy example 2018-05-07 18:55:18 -07:00
Nikolay Kim
85af2bce54 add cookie session example 2018-05-02 15:11:57 -07:00
Nikolay Kim
cde7ef8c96 add askama example 2018-04-24 09:12:48 -07:00
Nikolay Kim
894a795ee7 add cookie auth example 2018-04-18 16:46:35 -07:00
Nikolay Kim
1dea2cf3c3 add workspace 2018-04-13 12:32:15 -07:00