1
0
mirror of https://github.com/actix/examples synced 2024-11-24 06:43:00 +01:00
Commit Graph

637 Commits

Author SHA1 Message Date
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
Nikolay Kim
68e5c8c7e3
Update README.md 2020-01-09 21:13:36 +06: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
Guoli Lyu
b91f0c9db2 simplify websokcet client example with BoxedSocket (#166)
* fix tokio timer error for websocket client

* simplify webscoket client
2020-01-06 13:59:45 +09:00
Juan Aguilar
fed19e37b9 Update yarte version to "0.5" (#222) 2020-01-01 02:11:29 +09:00
Shirshak
feda57efb0 Add more community example (#223)
* Add more community example

* Update README.md
2020-01-01 02:10:59 +09:00
kamnxt
69e4a44a4e Fix logging in basics example (#221) 2019-12-26 21:39:57 +04:00
Yuki Okushi
81cc44dd99
Fix directory names on READMEs (#220) 2019-12-26 19:37:34 +09:00
Stephan Buys
d88d5fb2bc Add the actix-raft project to the community references (#219)
* Update README.md

Add a reference to the actix-raft project.

Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
2019-12-26 19:22:50 +09:00
Nikolay Kim
e8ab9ee7ca update deps 2019-12-25 20:48:33 +04:00
Nikolay Kim
a0812c9b29 add run-in-thread example 2019-12-25 07:44:33 +04:00
yurybikuzin
01b0d5fb21 Fix typo on websocket/README.md (#217) 2019-12-23 04:08:49 +09:00
Yuki Okushi
e2f17fc21e
Fix form example's test (#216)
* Update method name

* Fix typo
2019-12-23 03:51:33 +09:00
Nikolay Kim
d914b1c694 update dependencies 2019-12-20 22:30:26 +06:00
Yuki Okushi
7b35cd32c7
Update tera to 1.0 (#212) 2019-12-19 03:25:56 +09:00
Zoo Sky
b12b006c03 Add some docs and curl example (#211) 2019-12-18 08:25:06 +06:00
Nikolay Kim
31b5b7aa49 convert more examples 2019-12-16 13:09:54 +06:00
Nikolay Kim
ca3f11b59e migrate readis and websockets examples 2019-12-16 11:23:36 +06:00
Juan Aguilar
22fd5f3869 Update template yarte (#210) 2019-12-15 23:07:58 +06:00
Nikolay Kim
22c7d747c2 update deps 2019-12-15 23:07:17 +06:00
Nikolay Kim
e166c66f0b migrate websocket-chat example 2019-12-15 22:55:54 +06:00
Yuki Okushi
5ffbaacdce
Fix examples of diesel and json (#207) 2019-12-11 11:33:12 +09:00
Nikolay Kim
998f92d2e3 fix multipart example 2019-12-09 06:28:09 +06:00
Nikolay Kim
9ef1107c0c fix juniper example 2019-12-08 00:03:53 +06:00
Nikolay Kim
cbd9c4ee01 Merge branch 'master' of github.com:actix/examples 2019-12-07 23:59:47 +06:00
Jens Krause
7e37bef4a1 Update Juniper example (#197) 2019-12-07 23:59:35 +06:00
Nikolay Kim
3127352797 upgrade to 2.0 alpha.3 2019-12-07 23:59:24 +06:00