1
0
mirror of https://github.com/actix/examples synced 2024-12-23 18:28:20 +01:00
Commit Graph

1458 Commits

Author SHA1 Message Date
grey
f1a34d534c add unused validation to async_ex1 example 2019-06-06 15:30:54 -07:00
Clifford T. Matthews
f7dd2e6236 Fixes trivial typos. 2019-06-06 15:20:25 -06:00
Nikolay Kim
aa5750cafc update actix-web to 1.0.0 2019-06-06 16:47:40 +06:00
Darin
db86fdc3db
Merge pull request #133 from Dowwie/master
Re-ordered registration of logging middleware
2019-06-01 12:36:13 -04: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
6c7b068a90
Merge pull request #129 from blackjune/patch-1
Fix bug in state type
2019-05-25 09:20:40 -07:00
blackjune
511ab8ce51
Fix bug in state type
Fix bug in state type 
```rust
let counter = Arc::new(Mutex::new(0));
```
may not be usize

Error before this change:
```
App data is not configured, to configure use App::data()
```
2019-05-25 22:22:43 +08:00
Nikolay Kim
eff911db89
Merge pull request #127 from senden9/patch-1
Fix bug in database script
2019-05-25 02:14:24 -07:00
Stefano Probst
25f7ce87b4
Fix bug in database script
Fix error that occurs if script is used like in the async_db readme.

Error before this change:
``` bash
$ LANG=C bash db/setup_db.sh
db/setup_db.sh: line 2: db.sql: No such file or directory
Error: cannot open "nyc_centralpark_weather.csv
```
2019-05-24 20:34:08 +02:00
Nikolay Kim
49fc6df226
Merge pull request #121 from zeljic/revert-120-fix-http-full-proxy-streaming
Revert "fix streaming issue in http-full-proxy example"
2019-05-21 14:14:10 -07:00
Nikolay Kim
7491a003c3
Merge pull request #124 from hstefan/protobuf-crate
Adapting protobuf example to use actix_protobuf
2019-05-21 14:13:52 -07:00
Stefan Puhlmann
fdf061610d Adapting protobuf example to use actix_protobuf 2019-05-21 22:09:27 +02:00
Đorđe Zeljić
e771c05815
Revert "fix streaming issue in http-full-proxy example" 2019-05-16 00:03:08 +02:00
Nikolay Kim
343e240807
Merge pull request #120 from zeljic/fix-http-full-proxy-streaming
fix streaming issue in http-full-proxy example
2019-05-12 18:52:31 -07:00
zeljic
e07bbfe01c fix streaming issue in http-full-proxy example 2019-05-12 23:11:58 +02: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
d571ee5abb explicit Error for middlewares 2019-04-25 11:19:21 -07:00
Nikolay Kim
0445615e59 update jsonwebtoken 2019-04-23 11:23:46 -07:00
Sylvain Kerkour
982ec7bb2f multipart: fix size result calculation 2019-04-22 16:42:04 +03:00
Nikolay Kim
f073d9029f use actix-multipart 0.1.0-beta.1 2019-04-21 17:08:16 -07:00
Nikolay Kim
3058f53bac update simple-auth example 2019-04-21 09:37:29 -07:00
Nikolay Kim
1f2d4ed54f Merge branch 'master' of github.com:actix/examples 2019-04-21 09:36:46 -07:00
Nikolay Kim
52811611d0 update to beta.1 2019-04-21 09:36:31 -07:00
Nikolay Kim
22c9dc39ac
Merge pull request #112 from mohanson/jsonrpc
Add jsonrpc example
2019-04-20 11:24:15 -07:00
Nikolay Kim
0faa540b8d Merge branch 'master' of github.com:actix/examples 2019-04-16 15:03:20 -07:00
Nikolay Kim
bc2b17602e fix proxy example 2019-04-16 15:03:11 -07:00
Darin
916c48367e
Merge pull request #114 from NathanielAJohnson/master
clarify use of sleep in async_db
2019-04-15 11:13:19 -04:00
nathaniel
28d008e97c clarify use of sleep in async_db 2019-04-15 10:02:57 -05:00
Mohanson
15833104ef
Update README.md 2019-04-15 14:16:38 +08:00
mohanson
397b8e22fa Fix an error in method wait 2019-04-15 10:27:25 +08:00
mohanson
8371d77f7c Add jsonrpc example 2019-04-15 10:05:22 +08:00
Nikolay Kim
09b0188ff9 upgrade to alpha.6 2019-04-14 10:34:41 -07:00
Nikolay Kim
8fb2bf6869 update actix-web version 2019-04-12 13:39:14 -07:00
Darin
173d65f285
Merge pull request #110 from Dowwie/master
added unit test example to async_ex2
2019-04-10 15:20:52 -04:00
dowwie
4be1464249 added unit test example to async_ex2 2019-04-10 14:08:10 -04:00
Darin
934d6e46f1
Merge pull request #109 from Dowwie/master
moved readme for async_ex2
2019-04-09 14:35:31 -04:00
dowwie
3b548c20f4 moved readme for async_ex2 2019-04-09 14:34:55 -04:00
Darin
80793ccfbd
Merge pull request #108 from Dowwie/master
added async_ex2 to illustrate app-level configuration registration for asynchronous handlers
2019-04-09 14:32:56 -04:00
dowwie
d29f113ffc added async_ex2 2019-04-09 14:12:07 -04:00
dowwie
4b62438e05 updated async_ex1, removing old Box example and fixing example 2019-04-09 10:36:37 -04:00
Nikolay Kim
4bec1ede67
Merge pull request #107 from xaxoxa/patch-2
Revert to alpha3 multipart example to avoid panic
2019-04-08 08:40:10 -07:00
chris
6545bbfd3d
Revert to alpha3 multipart example to avoid panic
The alpha4 multipart example seems to cause a panic (as mentioned in #736). So this reverts to the alpha3 example, tweaked for the actix-multipart crate.

https://github.com/actix/actix-web/issues/736
2019-04-08 16:33:35 +02:00
Nikolay Kim
764ac94a07 Merge branch 'master' of github.com:actix/examples 2019-04-07 23:39:59 -07:00
Nikolay Kim
815e34f32d upgrade to alpha4 2019-04-07 23:39:45 -07:00
Nikolay Kim
d51fdc72f3
Merge pull request #106 from tizgafa/yarte_update
Update template_yarte to actix_web-1.0.0-alpha.3
2019-04-05 12:34:14 -07:00
tizgafa
13516008f8 Update template_yarte to actix_web-1.0.0-alpha.3 2019-04-05 18:43:47 +02:00