1
0
mirror of https://github.com/actix/examples synced 2025-06-26 17:17:42 +02:00
Commit Graph

1768 Commits

Author SHA1 Message Date
a1d799a3f2 Read SQLite path from .env and fix DATABASE_URL 2019-06-12 23:03:20 +02:00
238e68de65 Update README.md 2019-06-11 17:47:37 +08:00
65adce90f8 Update README.md 2019-06-11 17:47:04 +08:00
8a547e12ab Merge pull request #140 from arve0/http-proxy-tls
resolve issue 139
2019-06-11 11:54:23 +06:00
114056bc76 resolve issue 139 2019-06-10 18:06:56 +02:00
7373a5b1ef Merge pull request #138 from tiniuclx/master
Adds Handlebars example
2019-06-09 11:00:33 +06:00
006b7f3d08 adds Handlebars example
Closes #122
2019-06-08 18:48:20 +01:00
a93d8f41d4 Merge pull request #135 from ctm/insignificant_typos
Fixes trivial typos.
2019-06-08 10:02:52 +06:00
6fbbacc077 Merge pull request #136 from fairingrey/fix_validation
add unused validation to async_ex1 example
2019-06-08 10:02:29 +06:00
72a58b7ca8 cargo fmt 2019-06-07 13:30:14 -07:00
f1a34d534c add unused validation to async_ex1 example 2019-06-06 15:30:54 -07:00
f7dd2e6236 Fixes trivial typos. 2019-06-06 15:20:25 -06:00
aa5750cafc update actix-web to 1.0.0 2019-06-06 16:47:40 +06:00
db86fdc3db Merge pull request #133 from Dowwie/master
Re-ordered registration of logging middleware
2019-06-01 12:36:13 -04:00
a8b49dfaec updated code comment about log middleware 2019-06-01 09:27:34 -04:00
4e3a42d77d changed order of logging middleware, which must register last 2019-06-01 09:24:54 -04:00
6c7b068a90 Merge pull request #129 from blackjune/patch-1
Fix bug in state type
2019-05-25 09:20:40 -07:00
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
eff911db89 Merge pull request #127 from senden9/patch-1
Fix bug in database script
2019-05-25 02:14:24 -07:00
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
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
7491a003c3 Merge pull request #124 from hstefan/protobuf-crate
Adapting protobuf example to use actix_protobuf
2019-05-21 14:13:52 -07:00
fdf061610d Adapting protobuf example to use actix_protobuf 2019-05-21 22:09:27 +02:00
e771c05815 Revert "fix streaming issue in http-full-proxy example" 2019-05-16 00:03:08 +02:00
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
e07bbfe01c fix streaming issue in http-full-proxy example 2019-05-12 23:11:58 +02:00
cee9142257 upgrade actix-web 2019-05-12 11:58:26 -07:00
68509a7eaf use absolute path 2019-05-06 18:30:39 +03:00
67bc0144ba fix return home link bug 2019-05-06 18:30:39 +03:00
8de183768c upgrade to beta3 2019-05-04 21:52:24 -07:00
d571ee5abb explicit Error for middlewares 2019-04-25 11:19:21 -07:00
0445615e59 update jsonwebtoken 2019-04-23 11:23:46 -07:00
982ec7bb2f multipart: fix size result calculation 2019-04-22 16:42:04 +03:00
f073d9029f use actix-multipart 0.1.0-beta.1 2019-04-21 17:08:16 -07:00
3058f53bac update simple-auth example 2019-04-21 09:37:29 -07:00
1f2d4ed54f Merge branch 'master' of github.com:actix/examples 2019-04-21 09:36:46 -07:00
52811611d0 update to beta.1 2019-04-21 09:36:31 -07:00
22c9dc39ac Merge pull request #112 from mohanson/jsonrpc
Add jsonrpc example
2019-04-20 11:24:15 -07:00
0faa540b8d Merge branch 'master' of github.com:actix/examples 2019-04-16 15:03:20 -07:00
bc2b17602e fix proxy example 2019-04-16 15:03:11 -07:00
916c48367e Merge pull request #114 from NathanielAJohnson/master
clarify use of sleep in async_db
2019-04-15 11:13:19 -04:00
28d008e97c clarify use of sleep in async_db 2019-04-15 10:02:57 -05:00
15833104ef Update README.md 2019-04-15 14:16:38 +08:00
397b8e22fa Fix an error in method wait 2019-04-15 10:27:25 +08:00
8371d77f7c Add jsonrpc example 2019-04-15 10:05:22 +08:00
09b0188ff9 upgrade to alpha.6 2019-04-14 10:34:41 -07:00
8fb2bf6869 update actix-web version 2019-04-12 13:39:14 -07:00
173d65f285 Merge pull request #110 from Dowwie/master
added unit test example to async_ex2
2019-04-10 15:20:52 -04:00
4be1464249 added unit test example to async_ex2 2019-04-10 14:08:10 -04:00
934d6e46f1 Merge pull request #109 from Dowwie/master
moved readme for async_ex2
2019-04-09 14:35:31 -04:00