1
0
mirror of https://github.com/actix/examples synced 2025-06-26 09:17:41 +02:00
Commit Graph

150 Commits

Author SHA1 Message Date
03da1cb967 refactor: improve basics example 2025-05-19 18:22:27 +02:00
738c8879fd style: remove extra blank lines in do_something_random function 2025-05-04 19:19:13 -07:00
3fbe782be8 style: fix code formatting according to rustfmt 2025-05-04 19:17:55 -07:00
5ebb1ad951 feat: improve error handling example - Add structured error responses with JSON format - Improve error messages and logging - Add better success/error probability constants - Use proper logging levels - Add serde for JSON serialization 2025-05-04 19:12:37 -07:00
04f8cba71b chore: fmt 2025-03-21 06:07:31 +00:00
a7527d72f3 chore: edition 2024 2025-03-11 01:42:01 +00:00
df0dc549a5 chore: update derive_more to v2 2025-02-24 04:08:14 +00:00
ad0c1b765e chore: update rand to 0.9 2025-02-24 03:28:07 +00:00
f30795f014 chore: fmt 2024-08-07 02:04:57 +01:00
697d2ec49d chore: update deps 2024-07-07 02:51:12 +01:00
bfed118301 chore: remove redundant imports 2024-02-20 03:29:12 +00:00
e2c32161a9 update dotenv::dotenv references 2023-10-29 01:18:40 +01:00
07bb27eb4b migrate to dotenvy 2023-10-29 01:17:49 +01:00
2ece131b36 remove unneeded dependencies 2023-07-18 17:42:33 +01:00
1e0cedade0 ci: fix sqlx test 2023-07-09 02:08:43 +01:00
1ca11e70e8 update sqlx dep to 0.7 2023-07-09 02:05:10 +01:00
e475c8f324 doc: add usage into README.md file in basics/error-handling folder (#613) 2023-03-27 16:07:11 +01:00
bc1f32ace5 feat: add README.md into basics/hello-world (#612) 2023-03-26 15:39:11 +01:00
6424e4e023 standardize examples 2023-03-14 03:11:49 +00:00
ca6eaee52e update actix-web-lab dep 2023-03-14 02:40:02 +00:00
1baca5fd21 Fixed "Method not allowed" on the todo app due to 307 redirect not ch… (#599)
fixes https://github.com/actix/examples/issues/598
2023-01-09 10:21:39 +00:00
b951c4dbee move derive_more to workspace dep 2023-01-02 20:38:03 +00:00
59ecb09c20 move rand to workspace dep 2023-01-02 20:35:37 +00:00
9e4882285e move serde deps to workspace 2023-01-02 20:35:11 +00:00
91ffa11e19 move a couple more things to workspace deps 2023-01-02 20:33:43 +00:00
b91e424ab4 address clippy lints 2022-12-30 16:30:16 +00:00
66c7e1e9b5 use workspace deps for log and env_logger 2022-12-30 16:25:40 +00:00
aee47e0817 Use workspace dependencies for actix-web (#594) 2022-12-21 14:49:28 +00:00
c78332c0f9 update env_logger to 0.10 2022-12-11 15:25:57 +00:00
32022a5ec1 add content_type for basic example response body to decode utf-8 correctly (#586) 2022-11-21 14:47:48 +00:00
ddda86784a update deps 2022-10-26 16:51:27 +01:00
818d8b1384 chore: update lab dep 2022-08-28 18:41:16 +01:00
fcd013fcde add session ttl customization example 2022-08-28 18:39:28 +01:00
c557986915 update actix-session everywhere 2022-07-21 03:30:12 +01:00
0f08afee18 update sailfish 2022-07-09 23:39:21 +01:00
a64e21ee6e group imports 2022-07-09 21:08:11 +01:00
4b801ba222 clippy 2022-07-09 21:05:06 +01:00
c47371caa7 Replace all unwraps in hello-world example with ? operator (#562) 2022-06-24 18:17:52 +01:00
db5f00e771 Use captured args in format string (#558) 2022-06-08 03:53:38 +01:00
e1d124c0e3 fmt 2022-03-07 13:34:59 +00:00
e239414a55 format markdown 2022-03-06 00:43:10 +00:00
f27cc4b6b4 normalize ports to 8080 2022-03-06 00:41:32 +00:00
e8cd22d2f2 reduce futures dep 2022-03-06 00:15:19 +00:00
c3fd8e1315 update dependencies 2022-03-04 16:28:40 +00:00
4dc9199781 update actix web to stable version 2022-02-25 21:08:53 +00:00
1206905a11 fix static-files readme name 2022-02-18 03:36:04 +00:00
fbd3b228e9 fmt 2022-02-18 02:44:02 +00:00
aca1dab890 rc3 2022-02-18 02:40:58 +00:00
6f1c9e2350 standardize binary names 2022-02-18 02:22:58 +00:00
74ee6ae707 rename nested routing binary 2022-02-18 02:02:44 +00:00