1
0
mirror of https://github.com/actix/actix-website synced 2024-12-18 09:53:12 +01:00
Commit Graph

257 Commits

Author SHA1 Message Date
dependabot[bot]
a2e4c0ea35
chore(deps): bump env_logger from 0.11.3 to 0.11.5 in /examples (#418)
Bumps [env_logger](https://github.com/rust-cli/env_logger) from 0.11.3 to 0.11.5.
- [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.11.3...v0.11.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-29 21:30:41 +00:00
dependabot[bot]
2367c85c85
chore(deps): bump the shuttle group in /examples with 2 updates (#417)
Bumps the shuttle group in /examples with 2 updates: [shuttle-actix-web](https://github.com/shuttle-hq/shuttle) and [shuttle-runtime](https://github.com/shuttle-hq/shuttle).


Updates `shuttle-actix-web` from 0.46.0 to 0.47.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.46.0...v0.47.0)

Updates `shuttle-runtime` from 0.46.0 to 0.47.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.46.0...v0.47.0)

---
updated-dependencies:
- dependency-name: shuttle-actix-web
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: shuttle
- dependency-name: shuttle-runtime
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: shuttle
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-29 21:30:38 +00:00
dependabot[bot]
938c6a8c85
chore(deps): bump tokio from 1.38.0 to 1.38.1 in /examples (#413)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.38.0 to 1.38.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.38.0...tokio-1.38.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-22 05:28:37 +00:00
dependabot[bot]
81e3fdf506
chore(deps): bump openssl from 0.10.64 to 0.10.66 in /examples (#415)
Bumps [openssl](https://github.com/sfackler/rust-openssl) from 0.10.64 to 0.10.66.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.64...openssl-v0.10.66)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-22 05:28:33 +00:00
dependabot[bot]
bf2e206d70
chore(deps): bump diesel from 2.2.1 to 2.2.2 in /examples (#414)
Bumps [diesel](https://github.com/diesel-rs/diesel) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/diesel-rs/diesel/releases)
- [Changelog](https://github.com/diesel-rs/diesel/blob/v2.2.2/CHANGELOG.md)
- [Commits](https://github.com/diesel-rs/diesel/compare/v2.2.1...v2.2.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-22 05:27:58 +00:00
dependabot[bot]
74f043d202
chore(deps): bump rustls from 0.23.10 to 0.23.11 in /examples (#408)
Bumps [rustls](https://github.com/rustls/rustls) from 0.23.10 to 0.23.11.
- [Release notes](https://github.com/rustls/rustls/releases)
- [Changelog](https://github.com/rustls/rustls/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rustls/rustls/compare/v/0.23.10...v/0.23.11)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-19 23:59:10 +00:00
dependabot[bot]
2bc82d720d
chore(deps): bump uuid from 1.9.1 to 1.10.0 in /examples (#409)
Bumps [uuid](https://github.com/uuid-rs/uuid) from 1.9.1 to 1.10.0.
- [Release notes](https://github.com/uuid-rs/uuid/releases)
- [Commits](https://github.com/uuid-rs/uuid/compare/1.9.1...1.10.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-19 23:58:59 +00:00
dependabot[bot]
83d56c0e3f
chore(deps): bump serde from 1.0.203 to 1.0.204 in /examples (#406)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.203 to 1.0.204.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.203...v1.0.204)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-08 09:20:47 +00:00
dependabot[bot]
52d9c2a8b3
chore(deps): bump serde_json from 1.0.119 to 1.0.120 in /examples (#407)
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.119 to 1.0.120.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.119...v1.0.120)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-08 09:20:45 +00:00
dependabot[bot]
3af8b9ebc6
Bump log from 0.4.21 to 0.4.22 in /examples (#401)
Bumps [log](https://github.com/rust-lang/log) from 0.4.21 to 0.4.22.
- [Release notes](https://github.com/rust-lang/log/releases)
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/log/compare/0.4.21...0.4.22)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-01 09:36:00 +00:00
dependabot[bot]
872b0d3b6a
Bump serde_json from 1.0.117 to 1.0.119 in /examples (#402)
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.117 to 1.0.119.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.117...v1.0.119)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-01 09:35:50 +00:00
dependabot[bot]
c645de4fb8
Bump uuid from 1.9.0 to 1.9.1 in /examples (#403)
Bumps [uuid](https://github.com/uuid-rs/uuid) from 1.9.0 to 1.9.1.
- [Release notes](https://github.com/uuid-rs/uuid/releases)
- [Commits](https://github.com/uuid-rs/uuid/compare/1.9.0...1.9.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-01 09:35:44 +00:00
dependabot[bot]
47ef97fff1
Bump actix-web from 4.7.0 to 4.8.0 in /examples (#399)
Bumps [actix-web](https://github.com/actix/actix-web) from 4.7.0 to 4.8.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/web-v4.7.0...web-v4.8.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-24 09:18:29 +00:00
dependabot[bot]
0b5bb40a24
Bump uuid from 1.8.0 to 1.9.0 in /examples (#400)
Bumps [uuid](https://github.com/uuid-rs/uuid) from 1.8.0 to 1.9.0.
- [Release notes](https://github.com/uuid-rs/uuid/releases)
- [Commits](https://github.com/uuid-rs/uuid/compare/1.8.0...1.9.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-24 09:17:54 +00:00
dependabot[bot]
75c62844a3
Bump the shuttle group in /examples with 2 updates (#392)
Bumps the shuttle group in /examples with 2 updates: [shuttle-actix-web](https://github.com/shuttle-hq/shuttle) and [shuttle-runtime](https://github.com/shuttle-hq/shuttle).


Updates `shuttle-actix-web` from 0.45.0 to 0.46.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.45.0...v0.46.0)

Updates `shuttle-runtime` from 0.45.0 to 0.46.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.45.0...v0.46.0)

---
updated-dependencies:
- dependency-name: shuttle-actix-web
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: shuttle
- dependency-name: shuttle-runtime
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: shuttle
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-17 09:20:42 +00:00
dependabot[bot]
9426c876f0
Bump derive_more from 0.99.17 to 0.99.18 in /examples (#393)
Bumps [derive_more](https://github.com/JelteF/derive_more) from 0.99.17 to 0.99.18.
- [Release notes](https://github.com/JelteF/derive_more/releases)
- [Changelog](https://github.com/JelteF/derive_more/blob/v0.99.18/CHANGELOG.md)
- [Commits](https://github.com/JelteF/derive_more/compare/v0.99.17...v0.99.18)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-17 09:20:10 +00:00
dependabot[bot]
7194ec9892
Bump rustls from 0.23.9 to 0.23.10 in /examples (#394)
Bumps [rustls](https://github.com/rustls/rustls) from 0.23.9 to 0.23.10.
- [Release notes](https://github.com/rustls/rustls/releases)
- [Changelog](https://github.com/rustls/rustls/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rustls/rustls/compare/v/0.23.9...v/0.23.10)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-17 09:06:11 +00:00
dependabot[bot]
20cd93f251
Bump diesel from 2.2.0 to 2.2.1 in /examples (#395)
Bumps [diesel](https://github.com/diesel-rs/diesel) from 2.2.0 to 2.2.1.
- [Release notes](https://github.com/diesel-rs/diesel/releases)
- [Changelog](https://github.com/diesel-rs/diesel/blob/v2.2.1/CHANGELOG.md)
- [Commits](https://github.com/diesel-rs/diesel/compare/v2.2.0...v2.2.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-17 09:06:03 +00:00
dependabot[bot]
594d3f3d34
Bump actix from 0.13.3 to 0.13.5 in /examples (#388)
Bumps [actix](https://github.com/actix/actix) from 0.13.3 to 0.13.5.
- [Release notes](https://github.com/actix/actix/releases)
- [Commits](https://github.com/actix/actix/compare/actix-v0.13.3...actix-v0.13.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-10 05:05:54 +00:00
dependabot[bot]
4d79ea80e8
Bump actix-web from 4.6.0 to 4.7.0 in /examples (#387)
Bumps [actix-web](https://github.com/actix/actix-web) from 4.6.0 to 4.7.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/web-v4.6.0...web-v4.7.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-10 05:05:54 +00:00
dependabot[bot]
ef53794120
Bump actix-files from 0.6.5 to 0.6.6 in /examples (#389)
Bumps [actix-files](https://github.com/actix/actix-web) from 0.6.5 to 0.6.6.
- [Release notes](https://github.com/actix/actix-web/releases)
- [Changelog](https://github.com/actix/actix-web/blob/v0.6.6/CHANGES.md)
- [Commits](https://github.com/actix/actix-web/compare/v0.6.5...v0.6.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-10 05:05:54 +00:00
Rob Ede
be23be43f1
chore: update rustls dependency to 0.23 2024-06-05 05:20:08 +01:00
dependabot[bot]
c68e5ef33e
Bump diesel from 2.1.6 to 2.2.0 in /examples (#383)
Bumps [diesel](https://github.com/diesel-rs/diesel) from 2.1.6 to 2.2.0.
- [Release notes](https://github.com/diesel-rs/diesel/releases)
- [Changelog](https://github.com/diesel-rs/diesel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/diesel-rs/diesel/compare/v2.1.6...v2.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-03 13:57:41 +00:00
dependabot[bot]
4c261b0b23
Bump tokio from 1.37.0 to 1.38.0 in /examples (#382)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.37.0 to 1.38.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.37.0...tokio-1.38.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-03 13:57:30 +00:00
Hichem Fantar
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
Rob Ede
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
dependabot[bot]
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
Rob Ede
40a7ddad85
docs: clearer use of actix_web::Result 2024-02-06 14:49:05 +00:00
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
Rob Ede
ee701e0e23
prettier js/html 2023-11-01 15:32:44 +00:00
Rob Ede
9ca7f89606
update examples deps 2023-11-01 15:21:39 +00:00
Rob Ede
c427ae50f3
publish = false 2023-11-01 15:21:01 +00:00
Rob Ede
73dc338ff9
edition = 2021 2023-11-01 15:09:54 +00:00
Rob Ede
37169d5232
remove unused example deps 2023-11-01 15:09:25 +00:00
Orhun Parmaksız
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
Rob Ede
c5a9579193
update testing docs to give less precedence to unit testing 2023-09-10 02:56:48 +01:00
Olof Kasselstrand
77920d65fe
Update virtual hosting example to use guard::Host instead of guard::Header (#318) 2023-03-14 13:45:18 +00:00
Rob Ede
5fa564fd4e
clippy 2023-03-13 17:59:23 +00:00
Rob Ede
1a3fedc78f
update database examples 2023-03-13 17:58:08 +00:00
Jonas Fassbender
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
Ibraheem Ahmed
034a6f1890
Improve home page (#305)
* improve landing page

* revert navbar
2023-01-09 09:52:42 +00:00
Takahiro, NAKAMURA
f6d103da57
update user_session sample (#292) 2022-10-26 11:14:06 +01:00
Raphael C
2bc48c18c8
fix(ex-database): place pool get in web::block (#290) 2022-10-07 18:12:51 +01:00
Ovidiu Gheorghies
779f8ea83e
Change method from GET to POST (#277)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-07-30 18:19:42 +01:00
Kenneth Allen
bb42ca002c
Update information on Compress middleware (#279) 2022-07-19 11:11:45 +01:00
Santiago
8393aea71a
migrate to docusaurus (v2) (#266)
Co-authored-by: ibraheemdev <ibrah1440@gmail.com>
2022-07-16 18:59:20 +09:00
Orhun Parmaksız
f12f950c91
Add full payload test for stream (#272) 2022-06-11 04:33:39 +01:00
Rob Ede
dde397f5f4
improve server docs 2022-04-07 16:52:12 +01:00
Rob Ede
7d988fc27e
improve extractors docs 2022-04-07 16:22:17 +01:00
Rob Ede
0ddb72f6b0
remove references to .data() 2022-04-07 15:55:55 +01:00
Rob Ede
b11a2f6e99
improve path docs 2022-04-07 15:54:55 +01:00
Rob Ede
12cbd2ebbf
s/Actix-web/Actix Web 2022-04-07 15:44:10 +01:00
nikstur
e370fddcc3
Bumped version of actix to 0.13 (#267) 2022-03-20 15:53:36 +00:00
Rob Ede
f504c65862
remove outdated info about force closing connections 2022-03-05 23:54:23 +00:00
Rob Ede
b8431bef6f
update remaining examples to v4 2022-02-26 05:22:21 +00:00
Rob Ede
997fb14e79
fix note about app_data 2022-02-26 04:50:39 +00:00
Rob Ede
81dfe300a2
update examples to v4 (#258) 2022-02-26 03:56:24 +00:00
Daniel Saxton
e3c8b5edca
Update logger example (#250) 2022-01-01 22:05:37 +00:00
Mark Lodato
3167a55853
Improve error handler example (#248) 2021-12-22 18:36:35 +00:00
nikstur
c66502c548
Improve json documentation (#245)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-12-05 14:41:37 +00:00
Nrot
3fffc45c7e
Update to work code (#241) 2021-11-20 23:14:04 +00:00
maxstanley
bcf63b6e83
Fix Diesel Database example (#234) 2021-10-22 18:59:11 +09:00
HeartDev
e503dec23a
Correct the content-type in the ResponseBiuilder example (#236)
It's text/plain not plain/text
2021-08-23 14:43:35 +01:00
Ali MJ Al-Nasrawy
09ad5775ac
Remove invalid docs regarding parsing PathBuf (#230)
This paragraph is no longer valid since v1.0!

Also, the example code still compiles fine and this may easily introduce
a security vulnerability for the user.
2021-06-01 21:04:35 +09:00
Jacky Wu
63d70701e0
fix: correct my_errors log print issue. (#229) 2021-05-10 10:31:54 +01:00
Mark Lodato
1069dfa177
Clarify use of Arc in shared state (#221) 2021-04-06 08:41:26 +09:00
heddi.nabbisen
d148e3e437
Errors: split code lines to make where logger is wrapped clearer (#218) 2021-03-01 02:29:36 +00:00
Rokas Muningis
501d52b485
Include proper import/use example in testing docs, unit test section. (#217) 2021-02-28 19:31:00 +00:00
Rob Ede
4aece987ac
clarify what happens when extractor fails 2021-01-17 16:47:27 +00:00
Rob Ede
cdbb5dd2b2
use Bytes re-export
closes #202
2020-11-27 01:10:05 +00:00
Pirmin Kalberer
c5e185ae85
Fix param name in db example (#191) 2020-09-24 23:53:32 +01:00
Rob Ede
4d8d53cea5
v3 (#188) 2020-09-12 16:21:54 +01:00
John Bradley
a0ce9f28e2
fix function name in shared mutable state example (#186) 2020-09-06 10:45:51 +01:00
Michael Snoyman
d659d04649
Minor wording recommendations (#184)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2020-09-04 13:19:43 +01:00
vo9312
1c9ccd8078
Update main.rs 2020-07-02 16:45:31 -05:00
Rob Ede
34ae647fd5
fix extraction in app state extract examples
fixes #167
2020-04-06 02:06:15 +01:00
Stig Johan Berggren
0b9a56aa2a
Use RUST_LOG env var if set (#163)
* Use RUST_LOG env var if set

* Remove redundant use statement
2020-03-03 06:53:39 +09:00
Daniel Franklin
b43bbd2b51 Fix logic bug in streaming request example
Previously the example printed "Chunk: {}" once after the entire
response was received, but the accompanying text read "we read and print
the request payload chunk by chunk".

The example now prints every chunk as it was received.
2020-03-01 15:26:05 -05:00
Rob Ede
85228f23ea
remove unusable create_app example 2020-02-16 21:55:16 +00:00
Yuki Okushi
e9b3985bcf
Suppress some warnings on CI (#143)
* Suppress some warnings on CI

* Remove unused imports
2020-01-23 10:17:13 +09:00
Evgeniy Tatarkin
bc4e0422c8 update testing to actix-web 2.0.0 and improve stream testing code (#141)
* update testing to actix-web 2.0.0 and improve stream testing code
2020-01-22 06:40:37 +09:00
Gerónimo Garcia Sgritta
f30016e112 Fix DB article code examples (#140)
This change fixes issue #139 and renders the code example
2020-01-04 20:04:35 +09:00
Nikolay Kim
4fffc16668 fix chunked example 2020-01-02 18:41:14 +06:00
Nikolay Kim
b8e2a2310c update extractors 2020-01-02 18:33:33 +06:00
Nikolay Kim
4046b0b697 review handlers section 2020-01-02 13:11:12 +06:00