1
0
mirror of https://github.com/actix/actix-website synced 2025-06-28 16:00:36 +02:00
Commit Graph

183 Commits

Author SHA1 Message Date
ad4aeac34f TypeScript compatibility (#379)
* Update file extensions and exports for TypeScript compatibility

* docs: fix typo in getting-started.md

* chore: add no-trailing-punctuation rule to VS Code settings

* feat: add @docusaurus/theme-mermaid for mermaid diagram support

* Update import paths for MermaidDiagram component

* remove redudndant check, use effect only runs after the component is mounted

* Update docusaurus.config.ts to fix syntax error

* bring back check because it's not possible to properly cancel a dynamic import

* feat: optimize dynamic import in CodeBlock component

* chore: update VS Code extensions.json with eslint recommendation

* Update docusaurus.config.ts to add GitHub repository link in header
2024-05-28 19:23:34 +00:00
046e738c10 Bump the shuttle group in /examples with 2 updates (#376)
Updates the requirements on [shuttle-actix-web](https://github.com/shuttle-hq/shuttle) and [shuttle-runtime](https://github.com/shuttle-hq/shuttle) to permit the latest version.

Updates `shuttle-actix-web` to 0.45.0
- [Release notes](https://github.com/shuttle-hq/shuttle/releases)
- [Changelog](https://github.com/shuttle-hq/shuttle/blob/main/CHANGELOG.md)
- [Commits](https://github.com/shuttle-hq/shuttle/compare/v0.44.0...v0.45.0)

Updates `shuttle-runtime` to 0.45.0
- [Release notes](https://github.com/shuttle-hq/shuttle/releases)
- [Changelog](https://github.com/shuttle-hq/shuttle/blob/main/CHANGELOG.md)
- [Commits](https://github.com/shuttle-hq/shuttle/compare/v0.44.0...v0.45.0)

---
updated-dependencies:
- dependency-name: shuttle-actix-web
  dependency-type: direct:production
  dependency-group: shuttle
- dependency-name: shuttle-runtime
  dependency-type: direct:production
  dependency-group: shuttle
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-20 09:27:10 +00:00
410ad6fc61 Bump the shuttle group in /examples with 2 updates (#375)
Updates the requirements on [shuttle-actix-web](https://github.com/shuttle-hq/shuttle) and [shuttle-runtime](https://github.com/shuttle-hq/shuttle) to permit the latest version.

Updates `shuttle-actix-web` to 0.44.0
- [Release notes](https://github.com/shuttle-hq/shuttle/releases)
- [Changelog](https://github.com/shuttle-hq/shuttle/blob/main/CHANGELOG.md)
- [Commits](https://github.com/shuttle-hq/shuttle/compare/v0.43.0...v0.44.0)

Updates `shuttle-runtime` to 0.44.0
- [Release notes](https://github.com/shuttle-hq/shuttle/releases)
- [Changelog](https://github.com/shuttle-hq/shuttle/blob/main/CHANGELOG.md)
- [Commits](https://github.com/shuttle-hq/shuttle/compare/v0.43.0...v0.44.0)

---
updated-dependencies:
- dependency-name: shuttle-actix-web
  dependency-type: direct:production
  dependency-group: shuttle
- dependency-name: shuttle-runtime
  dependency-type: direct:production
  dependency-group: shuttle
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-29 09:49:47 +00:00
ecdd7d2ff3 Bump the shuttle group in /examples with 2 updates (#373)
Updates the requirements on shuttle-actix-web and shuttle-runtime to permit the latest version.

Updates `shuttle-actix-web` to 0.43.0

Updates `shuttle-runtime` to 0.43.0

---
updated-dependencies:
- dependency-name: shuttle-actix-web
  dependency-type: direct:production
  dependency-group: shuttle
- dependency-name: shuttle-runtime
  dependency-type: direct:production
  dependency-group: shuttle
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-08 07:16:41 +00:00
ea3785ee90 Bump the shuttle group in /examples with 2 updates (#370)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-25 15:05:36 +00:00
50e837734b Bump the shuttle group in /examples with 2 updates (#367)
Updates the requirements on shuttle-actix-web and shuttle-runtime to permit the latest version.

Updates `shuttle-actix-web` to 0.41.0

Updates `shuttle-runtime` to 0.41.0

---
updated-dependencies:
- dependency-name: shuttle-actix-web
  dependency-type: direct:production
  dependency-group: shuttle
- dependency-name: shuttle-runtime
  dependency-type: direct:production
  dependency-group: shuttle
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-17 09:24:28 +00:00
2f9e49c622 docs: use rustls in http/2 example 2024-03-02 17:30:56 +00:00
EB
7c063e890f Update Cargo.toml (#365)
* Update Cargo.toml

serde::Deserialize is added features/derive

* Update Cargo.toml

---------

Co-authored-by: Rob Ede <robjtede@icloud.com>
2024-03-01 18:06:22 +00:00
b5b6419c05 Bump the shuttle group in /examples with 2 updates (#364)
Updates the requirements on shuttle-actix-web and shuttle-runtime to permit the latest version.

Updates `shuttle-actix-web` to 0.39.0

Updates `shuttle-runtime` to 0.39.0

---
updated-dependencies:
- dependency-name: shuttle-actix-web
  dependency-type: direct:production
  dependency-group: shuttle
- dependency-name: shuttle-runtime
  dependency-type: direct:production
  dependency-group: shuttle
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-19 10:49:27 +00:00
40a7ddad85 docs: clearer use of actix_web::Result 2024-02-06 14:49:05 +00:00
9f7734abc0 Bump the shuttle group in /examples with 2 updates (#362)
Updates the requirements on shuttle-actix-web and shuttle-runtime to permit the latest version.

Updates `shuttle-actix-web` to 0.38.0

Updates `shuttle-runtime` to 0.38.0

---
updated-dependencies:
- dependency-name: shuttle-actix-web
  dependency-type: direct:production
  dependency-group: shuttle
- dependency-name: shuttle-runtime
  dependency-type: direct:production
  dependency-group: shuttle
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-05 10:14:12 +00:00
94b9988879 Bump the shuttle group in /examples with 2 updates (#361)
Updates the requirements on shuttle-actix-web and shuttle-runtime to permit the latest version.

Updates `shuttle-actix-web` to 0.37.0

Updates `shuttle-runtime` to 0.37.0

---
updated-dependencies:
- dependency-name: shuttle-actix-web
  dependency-type: direct:production
  dependency-group: shuttle
- dependency-name: shuttle-runtime
  dependency-type: direct:production
  dependency-group: shuttle
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-29 09:54:11 +00:00
39254f1ead Update env_logger requirement from 0.10 to 0.11 in /examples (#360)
Updates the requirements on [env_logger](https://github.com/rust-cli/env_logger) to permit the latest version.
- [Release notes](https://github.com/rust-cli/env_logger/releases)
- [Changelog](https://github.com/rust-cli/env_logger/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rust-cli/env_logger/compare/v0.10.0...v0.11.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-22 04:15:31 +00:00
1678d4aae0 Bump the shuttle group in /examples with 2 updates (#358)
Updates the requirements on shuttle-actix-web and shuttle-runtime to permit the latest version.

Updates `shuttle-actix-web` to 0.36.0

Updates `shuttle-runtime` to 0.36.0

---
updated-dependencies:
- dependency-name: shuttle-actix-web
  dependency-type: direct:production
  dependency-group: shuttle
- dependency-name: shuttle-runtime
  dependency-type: direct:production
  dependency-group: shuttle
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-15 05:06:24 +00:00
d1837b2052 Update actix-session requirement from 0.8 to 0.9 in /examples (#359)
Updates the requirements on [actix-session](https://github.com/actix/actix-extras) to permit the latest version.
- [Release notes](https://github.com/actix/actix-extras/releases)
- [Commits](https://github.com/actix/actix-extras/compare/session-v0.8.0...redis-v0.9.0)

---
updated-dependencies:
- dependency-name: actix-session
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-15 05:06:00 +00:00
a8b8b24fe2 Bump the shuttle group in /examples with 2 updates (#352)
Updates the requirements on shuttle-actix-web and shuttle-runtime to permit the latest version.

Updates `shuttle-actix-web` to 0.35.0

Updates `shuttle-runtime` to 0.35.0

---
updated-dependencies:
- dependency-name: shuttle-actix-web
  dependency-type: direct:production
  dependency-group: shuttle
- dependency-name: shuttle-runtime
  dependency-type: direct:production
  dependency-group: shuttle
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-11 06:35:16 +00:00
cb49340786 Bump the shuttle group in /examples with 2 updates (#348)
Updates the requirements on shuttle-actix-web and shuttle-runtime to permit the latest version.

Updates `shuttle-actix-web` to 0.34.0

Updates `shuttle-runtime` to 0.34.0

---
updated-dependencies:
- dependency-name: shuttle-actix-web
  dependency-type: direct:production
  dependency-group: shuttle
- dependency-name: shuttle-runtime
  dependency-type: direct:production
  dependency-group: shuttle
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-27 11:26:03 +00:00
36ba3a59de Bump the shuttle group in /examples with 2 updates (#346)
Updates the requirements on shuttle-actix-web and shuttle-runtime to permit the latest version.

Updates `shuttle-actix-web` to 0.33.0

Updates `shuttle-runtime` to 0.33.0

---
updated-dependencies:
- dependency-name: shuttle-actix-web
  dependency-type: direct:production
  dependency-group: shuttle
- dependency-name: shuttle-runtime
  dependency-type: direct:production
  dependency-group: shuttle
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-20 04:47:53 +00:00
eba7b4cb3e Bump the shuttle group in /examples with 2 updates (#345)
Updates the requirements on shuttle-actix-web and shuttle-runtime to permit the latest version.

Updates `shuttle-actix-web` to 0.32.0

Updates `shuttle-runtime` to 0.32.0

---
updated-dependencies:
- dependency-name: shuttle-actix-web
  dependency-type: direct:production
  dependency-group: shuttle
- dependency-name: shuttle-runtime
  dependency-type: direct:production
  dependency-group: shuttle
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-13 08:58:41 +00:00
389681aa07 Bump the shuttle group in /examples with 2 updates (#342)
Updates the requirements on shuttle-actix-web and shuttle-runtime to permit the latest version.

Updates `shuttle-actix-web` to 0.31.0

Updates `shuttle-runtime` to 0.31.0

---
updated-dependencies:
- dependency-name: shuttle-actix-web
  dependency-type: direct:production
  dependency-group: shuttle
- dependency-name: shuttle-runtime
  dependency-type: direct:production
  dependency-group: shuttle
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-06 13:52:12 +00:00
ee701e0e23 prettier js/html 2023-11-01 15:32:44 +00:00
9ca7f89606 update examples deps 2023-11-01 15:21:39 +00:00
c427ae50f3 publish = false 2023-11-01 15:21:01 +00:00
73dc338ff9 edition = 2021 2023-11-01 15:09:54 +00:00
37169d5232 remove unused example deps 2023-11-01 15:09:25 +00:00
e72b12218a Add hosting instructions for Shuttle (#334)
* Add hosting instructions for Shuttle

* move shuttle sample code to examples dir

---------

Co-authored-by: Rob Ede <robjtede@icloud.com>
2023-11-01 15:08:40 +00:00
c5a9579193 update testing docs to give less precedence to unit testing 2023-09-10 02:56:48 +01:00
77920d65fe Update virtual hosting example to use guard::Host instead of guard::Header (#318) 2023-03-14 13:45:18 +00:00
5fa564fd4e clippy 2023-03-13 17:59:23 +00:00
1a3fedc78f update database examples 2023-03-13 17:58:08 +00:00
04f6f0bd02 Fixed keep-alive on response example (#316)
* fixed keep-alive on response example

* fixed dead code and unused variable errors
2023-03-03 15:07:26 +00:00
034a6f1890 Improve home page (#305)
* improve landing page

* revert navbar
2023-01-09 09:52:42 +00:00
f6d103da57 update user_session sample (#292) 2022-10-26 11:14:06 +01:00
2bc48c18c8 fix(ex-database): place pool get in web::block (#290) 2022-10-07 18:12:51 +01:00
779f8ea83e Change method from GET to POST (#277)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-07-30 18:19:42 +01:00
bb42ca002c Update information on Compress middleware (#279) 2022-07-19 11:11:45 +01:00
8393aea71a migrate to docusaurus (v2) (#266)
Co-authored-by: ibraheemdev <ibrah1440@gmail.com>
2022-07-16 18:59:20 +09:00
f12f950c91 Add full payload test for stream (#272) 2022-06-11 04:33:39 +01:00
dde397f5f4 improve server docs 2022-04-07 16:52:12 +01:00
7d988fc27e improve extractors docs 2022-04-07 16:22:17 +01:00
0ddb72f6b0 remove references to .data() 2022-04-07 15:55:55 +01:00
b11a2f6e99 improve path docs 2022-04-07 15:54:55 +01:00
12cbd2ebbf s/Actix-web/Actix Web 2022-04-07 15:44:10 +01:00
e370fddcc3 Bumped version of actix to 0.13 (#267) 2022-03-20 15:53:36 +00:00
f504c65862 remove outdated info about force closing connections 2022-03-05 23:54:23 +00:00
b8431bef6f update remaining examples to v4 2022-02-26 05:22:21 +00:00
997fb14e79 fix note about app_data 2022-02-26 04:50:39 +00:00
81dfe300a2 update examples to v4 (#258) 2022-02-26 03:56:24 +00:00
e3c8b5edca Update logger example (#250) 2022-01-01 22:05:37 +00:00
3167a55853 Improve error handler example (#248) 2021-12-22 18:36:35 +00:00