1
0
mirror of https://github.com/actix/examples synced 2024-12-05 03:01:55 +01:00
Commit Graph

1329 Commits

Author SHA1 Message Date
Yuki Okushi
328e170c76
Merge pull request #286 from JohnTitor/clean-up
Clean-up things
2020-04-03 20:47:26 +09:00
Yuki Okushi
046604f286
Run rustfmt 2020-04-03 16:16:17 +09:00
Yuki Okushi
8f1c0a85cf
Fix/suppress warnings 2020-04-03 16:14:30 +09:00
Yuki Okushi
0f1568bd3c
Merge pull request #285 from JohnTitor/s3-cleanup
Clean-up s3 example
2020-04-03 15:11:00 +09:00
Yuki Okushi
cf56557d00
Clean-up s3 example 2020-04-01 18:56:36 +09:00
Yuki Okushi
20123c5d80
Merge pull request #280 from Jonathas-Conceicao/topic/fix_jsonrpc
jsonrpc: Fix AppState extraction
2020-03-28 12:35:59 +09:00
Yuki Okushi
92c9dd4c53
Merge pull request #281 from JohnTitor/diesel-uuid
Fix simple-auth-server compilation
2020-03-28 12:35:33 +09:00
Yuki Okushi
1c828c2e49
Merge pull request #277 from emreyalvac/patch-1
JWT example added to README.md
2020-03-28 10:50:23 +09:00
Yuki Okushi
e921a3f3cd
Fix simple-auth-server compilation 2020-03-28 10:47:54 +09:00
Jonathas-Conceicao
024c5e7597 jsonrpc: Fix AppState extraction
Signed-off-by: Jonathas-Conceicao <jadoliveira@inf.ufpel.edu.br>
2020-03-27 21:57:31 -03:00
Emre YALVAÇ
ac1868fdf2
JWT example added to README.md 2020-03-22 18:51:50 +03:00
Voldracarno Draconor
5320117bca
Fixed possible panic in multipart example (#276)
* Fixed possible panic

* Fixed possible panic in multipart-async-std
2020-03-22 08:31:45 +09:00
ggomagundan
7eaa87f4f1
add AWS_REGION env variable and add _ prefix (#270)
* add AWS_REGION env variable and add _ prefix

* update indent and remove brackets

* remove match code line

Co-authored-by: Kai <byeongsangp@tripbtoz.com>
2020-03-20 09:21:58 +09:00
Yuki Okushi
ee0d84fe38
Merge pull request #272 from JohnTitor/rusoto
Update `rusoto` dependencies to 0.43.0
2020-03-17 18:41:11 +09:00
Yuki Okushi
9eef5f2b6b
Update rusoto dependencies to 0.43.0 2020-03-17 08:53:05 +09:00
Yuki Okushi
4c9ec8b533
Merge pull request #271 from botika/master
Update yarte version to 0.7
2020-03-17 08:26:00 +09:00
Juan Aguilar Santillana
99e9d70225 Update yarte version to 0.7 2020-03-16 12:04:11 +01:00
Stig Johan Berggren
8f3ce39d05
New example: Return JSON decode errors to a client (#268)
* Add JSON decode error example

* cargo fmt

* Use more appropriate response codes

* curl -i similar for all examples

* Add one more example of 422 response

* use to_string instead of empty format!
2020-03-16 03:21:13 +09:00
Yuki Okushi
456f3efc55
Merge pull request #267 from hsluoyz/master
Add Casbin example to README
2020-03-07 16:04:50 +09:00
Yang Luo
eb812fbbd0 Add Casbin example to README 2020-03-07 12:38:54 +08:00
Chojan Shang
84b364544b
Add a basic casbin example for actix-web. (#264)
* Add the casbin example for actix-web.

* Update for clear description.
2020-03-03 15:13:43 +09:00
Darin
7fea040acb
Merge pull request #265 from Dowwie/master
updated versioning for async_pg dependency
2020-03-02 09:48:23 -05:00
dowwie
c02f7c0828 updated versioning for async_pg dependency 2020-03-02 08:48:31 -05:00
Darin
ab94e8c883
Merge pull request #263 from Dowwie/master
added awc https example
2020-03-01 13:17:05 -05:00
Darin
2444da34be
Update awc_https/src/main.rs
Co-Authored-By: Yuki Okushi <huyuumi.dev@gmail.com>
2020-03-01 13:16:57 -05:00
dowwie
71e27aa623 removed ssl validation deactivation 2020-03-01 09:06:51 -05:00
dowwie
54a2c3da92 added awc ssl example 2020-03-01 08:55:00 -05:00
curiousdev
50332ca491 Add docker_sample to examples collection 2020-02-24 15:08:04 -03:00
David D
dc8d61eb59
Add Complete Actix 2.x REST Server to the community section of README (#259)
* Add Complete Actix 2.x REST Server to the community section of the README
2020-02-18 10:47:25 +09:00
cheolgyu
007e194ad2
update rusoto_core = "0.43.0-beta.1" (#252) 2020-02-14 07:50:04 +09:00
Darin
691812f3f4
Merge pull request #254 from Dowwie/master
removed control-C handling because actix-server natively supports it
2020-02-12 08:20:43 -05:00
dowwie
c4c4b3e77b removed control-C handling because actix-server natively supports it 2020-02-12 07:53:01 -05:00
leizzer
120182f7de
Merge pull request #250 from cheolgyu/master
multipart + s3 example
2020-02-10 18:10:27 -03:00
cheolgyu
08b3621ac5 rename 2020-02-07 09:34:56 +09:00
Juan Aguilar
7198fa31e9
Update yarte version to 0.6.0 and his templates with partial block and html minifier new features (#251) 2020-02-07 02:19:04 +09:00
Elliot Jackson
443b8197ed
Update protobuf to actix-web 2.0.0 (#249)
* Update to actix-web 2.0.0

* Add README.md
2020-02-07 02:17:23 +09:00
cheolgyu
71d1d05118 update readme.md 2020-02-06 10:51:22 +09:00
cheolgyu
c6b75d5006 example 2020-02-06 10:06:41 +09:00
cheolgyu
5fb3d3270e example 2020-02-05 12:53:33 +09:00
Elliot Jackson
d59129c212
Fix templates path (#248) 2020-02-04 01:42:29 +09:00
Darin
741a530963
Merge pull request #246 from Dowwie/master
enhanced, renamed shutdown example and modified async_pg (readme, plus shutdown)
2020-01-31 07:27:16 -05:00
dowwie
04cebf6899 resolved formatting 2020-01-31 07:21:39 -05:00
dowwie
da72aef69c enhanced, renamed shutdown example and modified async_pg readme 2020-01-31 07:10:56 -05:00
Arve Seljebu
78a753a06a
update rusqlite and r2d2_sqlite in async_db and r2d2 (#148)
* upgrade rusqlite to 0.18

* add note about async_db blocking and running in thread pool

* idiomatic async_db

- DRY
- Iterator::collect + return type
- note about why we are sleeping

* remove r2d2/test.db
2020-01-30 15:52:10 +09:00
James H
817a61855d
Update README.md (#245) 2020-01-30 15:33:17 +09:00
Daniel Egger
569ec29a15 Also demonstrate how to pass shared counters via Atomic (#242)
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
2020-01-28 09:41:45 +09:00
Daniel Egger
fca1069b8a Arbiter::exec to start TcpServer will not work, simply call it (#118)
Fixes #115

Signed-off-by: Daniel Egger <daniel@eggers-club.de>
2020-01-27 23:17:14 +09:00
Rob Ede
e50aecc953 improve diesel example (#241)
* improve diesel example

* Update diesel/README.md

Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
2020-01-27 21:20:04 +09:00
Rob Ede
16a3c47a2c add self shutdown route example (#240) 2020-01-26 08:49:19 +09:00
torfmaster
469f8b538f Create async-std multipart example (#228) 2020-01-23 10:16:08 +09:00