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

11 Commits

Author SHA1 Message Date
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
Juan Aguilar
53fc2221ef Update to master (#90) 2019-03-26 06:29:00 +03:00
Nikolay Kim
b31c8e3308 rename web::State to web::Data 2019-03-16 20:23:09 -07:00
Nikolay Kim
f39a53ea3a upgrade diesel, r2d2, state examples 2019-03-07 14:50:29 -08:00
Douman
61a4b3b23b Improve shared state example 2018-10-27 14:03:02 +03:00
Jan Niehusmann
c6f092fc80 Encapsulate app state in Arc<Mutex<...>> (#54) 2018-10-14 20:56:25 +03:00
Nikolay Kim
2cc1b23761 upgrade example to actix-web 0.7 2018-07-16 12:36:53 +06:00
Nikolay Kim
e4f1833215 cleanup and cargo fmt 2018-05-20 21:03:29 -07:00
Nikolay Kim
bbeb262a5c upgrade actix-web to 0.6 2018-05-08 11:08:43 -07:00
Nikolay Kim
0b9d7ab855 update state example 2018-05-02 06:20:43 -07:00
krircc
3ebde8e7c2 actix examples in actix release version 2018-04-13 09:18:42 +08:00