1
0
mirror of https://github.com/actix/examples synced 2024-11-27 16:02:57 +01:00
Commit Graph

614 Commits

Author SHA1 Message Date
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
Darin
e4d79472e9
Merge pull request #238 from bikeshedder/async_pg_better_instructions
Improve async_pg example
2020-01-16 15:07:53 -05:00
Michael P. Jung
ac7931fd27 Remove shell script and add more verbose instructions to README 2020-01-16 19:29:37 +01:00
Michael P. Jung
b94ab2165f Add dotenv and config crate to async_pg example 2020-01-16 18:45:11 +01:00
Darin
050b3a2b1e
Merge pull request #236 from Dowwie/master
fixed formatting for async_pg
2020-01-16 06:48:07 -05:00
dowwie
a68483e542 fixed formatting for async_pg 2020-01-16 06:46:28 -05:00
Darin
a6475ad63e
Merge pull request #235 from Dowwie/master
added async_pg example
2020-01-15 19:20:05 -05:00
dowwie
e0c8f4533e added async_pg example 2020-01-15 19:19:15 -05:00
adwhit
94892d992d improve state example (#234)
* improve state example

Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
2020-01-13 02:45:59 +09:00
Roman Frołow
882b9c3964 Update juniper example (#233) 2020-01-13 01:14:08 +09:00
Roman Frołow
ebdcdf8130 Remove unused deps found with https://github.com/est31/cargo-udeps (#232) 2020-01-13 00:25:52 +09:00
Darin
5493df64e1
Merge pull request #231 from rofrol/remove-serde_derive
Remove serde_derive
2020-01-12 08:07:36 -05:00
Roman Frołow
e89687e712 Remove serde_derive https://github.com/serde-rs/serde/issues/1441#issuecomment-445481084 2020-01-12 14:04:02 +01:00
Roman Frołow
9c34ded6fd Use derive feature from serde https://github.com/serde-rs/serde/issues/1441#issuecomment-445481084 (#230) 2020-01-12 21:11:12 +09:00
Yuki Okushi
5cbaa75e21
Fix yarte test (#229)
The behavior has been changed from c4999d81ed
2020-01-12 19:57:39 +09:00
Bevan Hunt
49308b70e5 add broker to readme (#227) 2020-01-11 22:04:19 +09:00