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

142 Commits

Author SHA1 Message Date
Rob Ede
120d33057a
use sqlite in basics/todo 2022-02-06 07:55:51 +00:00
Chris Gubbin
1fb079dacd Added down migrations 2022-02-05 18:08:46 +00:00
Chris Gubbin
2aa8b15ce2 Updated basics/to-do to v4 using sqlx. 2022-02-05 17:34:43 +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
ffb20a1b20
move http-proxy to other 2022-02-02 02:03:54 +00:00
Rob Ede
a99c4ca546
clean up http-proxy 2022-02-02 02:02:47 +00:00
Luca Palmieri
d94a8ead36
Update basics/http-proxy to v4 (#478)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-02-02 01:51:58 +00:00
Rob Ede
6058625ecb
clean up json-validation 2022-02-02 01:51:25 +00:00
Luca Palmieri
5f3bdfcbe1
Update basics/json-validation to v4. (#475)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-02-02 01:48:16 +00:00
Rob Ede
da799d58e7
remove dep 2022-02-02 01:47:28 +00:00
Christopher Gubbin
e1dfa6840f
Updated basics/error-handling to v4. (#476)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-02-02 01:47:07 +00:00
Rob Ede
ce014059e6
all versions are 1.0 2022-02-02 01:45:20 +00:00
Rob Ede
3766547a93
remove authors 2022-02-02 01:44:26 +00:00
Rob Ede
13282bc044
edition = 2021 2022-02-02 01:43:51 +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
c960da6bdb
bump to rc.1 2022-02-02 00:44:58 +00:00
Christopher Gubbin
bcc9243206
Updated basics/nested-routing to v4. (#483) 2022-01-30 21:51:32 +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
Christopher Gubbin
a3726b0874
Updated basics/middleware-http-to-https to v4. (#487) 2022-01-29 17:43:00 +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
Christopher Gubbin
a3a4786d00
Updated basics/shutdown-server to v4. (#481) 2022-01-29 15:24:04 +00:00
Luca Palmieri
0e03496d36
Update basics/middleware-ext-mut to v4 (#484) 2022-01-29 14:42:30 +00:00
Rafael Bachmann
fe180ca96d
Update basics/state to v4. (#479) 2022-01-29 14:23:32 +00:00
Rafael Bachmann
72417cab6a
Update basics/static-index to v4. (#480) 2022-01-29 14:21:21 +00:00
Rob Ede
d327e8800b
update docker sample 2022-01-27 02:58:25 +00:00
fakeshadow
f6f45c32fb
enable two way streaming for proxy. (#463) 2021-11-12 13:30:48 +00:00
Sebastian Ziebell
e1b161bdfc
Use smaller Debian base image (#462) 2021-11-07 11:34:37 +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
Altug Sahin
8186a8cfea
fix broken links (#441)
Co-authored-by: Igor Aleksanov <popzxc@yandex.ru>
Co-authored-by: Altug Sahin <altugsahin@gmail.com>
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-10-06 22:28:53 +01:00
Daniel T. Rodrigues
c3407627d0
Restructure folders (#411) 2021-02-26 00:57:58 +00:00
Simon Strandgaard
7783600918
Improve the "basics" example (#393) 2020-12-18 21:32:36 +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
Rob Ede
49e29a5751
v3 examples (#364) 2020-09-12 16:49:45 +01:00
Yuki Okushi
6cdc1c8738
part1: Update dependencies 2020-04-05 02:30:49 +09:00
dowwie
04cebf6899 resolved formatting 2020-01-31 07:21:39 -05:00
BC-M
462996b0e7 Fix path-text (#225) 2020-01-08 19:23:01 +09:00
BC-M
69d44d6b95 Fix path name (#224) 2020-01-06 19:18:47 +09:00
kamnxt
69e4a44a4e Fix logging in basics example (#221) 2019-12-26 21:39:57 +04:00
Nikolay Kim
e8ab9ee7ca update deps 2019-12-25 20:48:33 +04:00
Nikolay Kim
d914b1c694 update dependencies 2019-12-20 22:30:26 +06:00
Nikolay Kim
22c7d747c2 update deps 2019-12-15 23:07:17 +06:00
Nikolay Kim
3127352797 upgrade to 2.0 alpha.3 2019-12-07 23:59:24 +06:00
Yuki Okushi
2b4e360adc
Update actix-session to 0.2.0 (#174) 2019-09-14 18:01:05 +09:00
Yuki Okushi
77dd2cc4e3
Fix favicon link (#172) 2019-09-13 17:15:26 +09:00
Yuki Okushi
f232b6c684
Fix clippy warnings (#168) 2019-09-05 00:04:57 +09:00
Nikolay Kim
93275d7986 update chat-broker example and fmt 2019-07-11 15:02:25 +06:00
Nikolay Kim
aa5750cafc update actix-web to 1.0.0 2019-06-06 16:47:40 +06:00
dowwie
a8b49dfaec updated code comment about log middleware 2019-06-01 09:27:34 -04:00
dowwie
4e3a42d77d changed order of logging middleware, which must register last 2019-06-01 09:24:54 -04:00
Nikolay Kim
cee9142257 upgrade actix-web 2019-05-12 11:58:26 -07:00
huang.xiangdong
68509a7eaf use absolute path 2019-05-06 18:30:39 +03:00
huang.xiangdong
67bc0144ba fix return home link bug 2019-05-06 18:30:39 +03:00
Nikolay Kim
8de183768c upgrade to beta3 2019-05-04 21:52:24 -07:00
Nikolay Kim
09b0188ff9 upgrade to alpha.6 2019-04-14 10:34:41 -07:00
Nikolay Kim
815e34f32d upgrade to alpha4 2019-04-07 23:39:45 -07:00
Nikolay Kim
86e0f3e02c upgrade to alpha3 2019-04-04 11:37:14 -07:00
Nikolay Kim
9a80911b92 update to alpha2 2019-03-30 09:12:42 -07:00
Nikolay Kim
769cc5b84e upgrade ws examples 2019-03-29 15:08:35 -07:00
Nikolay Kim
e4f71e8fd5 update deps 2019-03-29 13:43:03 -07:00
Juan Aguilar
53fc2221ef Update to master (#90) 2019-03-26 06:29:00 +03:00
Nikolay Kim
14eed91fcd update juniper and middleware examples 2019-03-10 19:19:50 -07:00
Nikolay Kim
f39a53ea3a upgrade diesel, r2d2, state examples 2019-03-07 14:50:29 -08:00
Nikolay Kim
60a9df8abd rename to Files 2019-03-06 23:44:46 -08:00
Nikolay Kim
c4df3356c7 enable logger 2019-03-06 19:45:45 -08:00
Nikolay Kim
51860a4f2a update web api 2019-03-06 15:51:56 -08:00
Nikolay Kim
80615b8579 use new actix-rt 2019-03-06 10:29:01 -08:00
Nikolay Kim
10731e43c6 convert r2d2 example 2019-03-06 10:04:41 -08:00
Nikolay Kim
40b5498902 enable files listing 2019-03-06 09:27:56 -08:00
Nikolay Kim
71e83fb87c update basic example 2019-03-05 22:16:42 -08:00
EasyToFindName
024e21439e Fix favicon's href (#51)
* Fix favicon's href

* Remove wrong index.html
2018-09-30 23:14:57 +03:00
Madao
3c5d53416b make the code neater (#49) 2018-09-28 08:35:13 +03: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
296b108bab typos -> text/plain 2018-07-04 09:43:54 +02:00
Nikolay Kim
fb0a582636 add async body example 2018-06-13 05:21:41 -07:00
Nikolay Kim
e4f1833215 cleanup and cargo fmt 2018-05-20 21:03:29 -07:00
Kelly Thomas Kline
7ecbb5449c
Correct path 2018-05-20 18:22:37 -07:00
Nikolay Kim
bbeb262a5c upgrade actix-web to 0.6 2018-05-08 11:08:43 -07:00
dowwie
911386d5c8 updated basics example to return 500 statuscode for /error request 2018-04-17 13:55:49 -04:00
Nikolay Kim
447ee25869 icons 2018-04-16 10:53:34 -07:00
krircc
c0ddc4bd9d git push fix basics 2018-04-15 10:45:30 +08:00
krircc
95deb8024e git push fix basics 2018-04-15 10:37:52 +08:00
Nikolay Kim
79a026a744
Merge pull request #3 from andreevlex/feature/issue-2
delete index.html
2018-04-14 19:26:27 -07:00
krircc
15663241e0 git push fix basics 2018-04-15 10:19:26 +08:00
Alexander Andreev
8f93a85083 delete index.html
fix #2
2018-04-14 22:04:12 +03:00
Nikolay Kim
1dea2cf3c3 add workspace 2018-04-13 12:32:15 -07:00
krircc
3ebde8e7c2 actix examples in actix release version 2018-04-13 09:18:42 +08:00