Dominic
20517d415d
Update examples/{extractors, errors} to futures 0.3 and actix-web 2.0 ( #130 )
...
* Update to futures 0.3
* update examples/errors to actix-web 2.0
2019-12-29 00:26:17 +09:00
Ralph Ursprung
e4eb883a0d
fix minor typo in output of extractors example ( #114 )
...
this has no effect on the actual functionality, it just fixes a typo
which was hard to overlook :)
2019-09-30 03:35:26 +09:00
Patrik Staš
f43a46b58e
Make sure app_mutable example works out of box ( #112 )
...
The page which refers make_app_mutable section: https://actix.rs/docs/application/
Although the original example compiled, I found it a bit incomplete as it didn't really start the server. As a beginner, I first tried to reuse original `main()` example and ran into lifetime issue with counter instance. Took me a bit to figure "ahha sure, I need to move it in."
2019-09-25 10:37:36 +06:00
Sven-Hendrik Haase
04bca7bf82
Fix PR comments
2019-08-06 01:30:50 +02:00
Sven-Hendrik Haase
553fe281fc
Document actix-web-codegen
...
This fixes #105
2019-08-05 18:32:00 +02:00
Sven-Hendrik Haase
a03b91023c
Merge pull request #103 from svenstaro/add-dyn-to-traits
...
Add dyn keyword to get rid of some warnings
2019-07-30 19:08:48 +02:00
Sven-Hendrik Haase
a7c8116fcd
Add bit about wrap_fn to middlewares page ( #104 )
2019-07-30 10:03:55 -07:00
Sven-Hendrik Haase
0ff37e7454
Add dyn keyword to get rid of some warnings
2019-07-29 12:44:00 +02:00
Nikolay Kim
b0ce2c21a2
fix state example
2019-07-22 11:10:21 +06:00
Katherine Philip
77b86e778f
Fix examples
2019-07-18 20:59:11 +07:00
Katherine Philip
31630f61f8
Minor tweaks
2019-07-15 17:12:37 +07:00
Katherine Philip
4521375534
Update App State documentation
2019-07-15 16:46:12 +07:00
Cameron Dershem
6f95771c34
Adds logging example to errors chapter.
2019-06-28 14:50:15 -04:00
Cameron Dershem
eb58a8692c
Makes clippy happy.
2019-06-28 14:22:51 -04:00
Cameron Dershem
5133ab874d
Final fixes before requesting review.
2019-06-28 13:31:30 -04:00
Cameron Dershem
cbf046b1f0
updates flexible responders.
2019-06-28 12:10:30 -04:00
Cameron Dershem
4833874c5d
Moves everything into the cargo workspace.
2019-06-26 19:18:43 -04:00
Cameron Dershem
0601997b41
Updates Compression section.
2019-06-26 14:15:03 -04:00
Cameron Dershem
387807ee6e
Websockets chapter done-ish.
2019-06-26 12:55:12 -04:00
Cameron Dershem
4436eff7de
Static Files is done-ish.
2019-06-26 04:27:25 -04:00
Cameron Dershem
eff4edb6fa
Middleware section is done-ish.
2019-06-26 02:59:20 -04:00
Cameron Dershem
1c3697197d
Responses section is done-ish.
2019-06-26 01:58:47 -04:00
Cameron Dershem
d7d4392d87
Requests is done-ish.
2019-06-26 01:27:17 -04:00
Cameron Dershem
be68e418b0
URL-Dispatch is done-ish.
2019-06-25 18:20:36 -04:00
Cameron Dershem
6b08c4664b
Errors section is done-ish.
2019-06-24 21:18:30 -04:00
Cameron Dershem
60f4f116cf
Testing is done-ish.
2019-06-24 17:43:31 -04:00
Cameron Dershem
4f57ce2fdb
Clippy fixes.
2019-06-22 09:18:08 -04:00
Cameron Dershem
339ac43814
Fixes missed example and config for extractors.
2019-06-20 04:26:34 -04:00
Cameron Dershem
c4c32091a6
extractors: done-ish.
2019-06-20 04:20:12 -04:00
Cameron Dershem
59f010461a
Handlers done-ish.
2019-06-20 02:04:22 -04:00
Cameron Dershem
4291b822fc
Server section is as good as I'm qualified.
2019-06-19 20:26:25 -04:00
Cameron Dershem
ea7bc84f8d
Intro: done-ish. Getting Started: done-ish. Application: done-ish.
2019-06-19 18:00:31 -04:00
Cameron Dershem
da969fed1f
simplifies the front-page examples.
2019-06-19 15:32:48 -04:00
Cameron Dershem
941bdfa491
Updates example version numbers to match actix-web version.
2019-06-19 00:38:23 -04:00
Cameron Dershem
4f9bd8b724
moves individual examples to pub mods to force building and have less dead_code
2019-06-19 00:20:50 -04:00
Cameron Dershem
a3cb721ed3
Removes websockets from feature rich mention.
2019-06-18 19:21:06 -04:00
Cameron Dershem
96d8bec2a8
fixes missing Comma.
2019-06-18 17:52:24 -04:00
Cameron Dershem
d42c8ee4a2
Updated SSL section with notes to create certs.
2019-06-18 17:29:54 -04:00
Cameron Dershem
e20f6d9d56
Updates http2 chapter after testing.
2019-06-18 17:17:43 -04:00
Cameron Dershem
1e8cdcd324
Removes author from Cargo.toml
2019-06-18 17:13:54 -04:00
Cameron Dershem
471d21b618
updates Getting Started.
2019-06-18 16:44:43 -04:00
Cameron Dershem
d762e83e74
Comments out non working sentry code.
2019-06-18 02:52:45 -04:00
Cameron Dershem
5ca7b6dc83
First pass at Sentry.
2019-06-18 02:42:43 -04:00
Cameron Dershem
559f54d22b
First pass at databases.
2019-06-18 02:21:24 -04:00
Cameron Dershem
917156db2c
Removes author from Cargo.toml
2019-06-17 18:40:29 -04:00
Cameron Dershem
5387f01269
First pass at Http2 section.
2019-06-17 18:31:10 -04:00
Cameron Dershem
262f835485
Moves websocket example to crate.
2019-06-17 18:07:57 -04:00
Cameron Dershem
769c9af8f9
First pass at Static Files.
2019-06-17 17:35:47 -04:00
Cameron Dershem
9a16b6db93
First pass at Middlewares.
2019-06-17 16:57:57 -04:00
Cameron Dershem
083522ef19
first pass at Testing.
2019-06-17 15:39:58 -04:00
Cameron Dershem
ea1600c417
First pass at Responses section.
2019-06-17 15:15:33 -04:00
Cameron Dershem
507842bf1c
First pass at Requests Chapter.
2019-06-17 14:34:23 -04:00
Cameron Dershem
f07c78a5ca
First pass at errors section.
2019-06-17 13:46:21 -04:00
Cameron Dershem
71e6f076a4
First pass at url-dispatch chapter.
2019-06-17 04:12:11 -04:00
Cameron Dershem
35156b0a75
Merge branch 'update1.0-url' into update1.0
2019-06-17 02:08:53 -04:00
Cameron Dershem
0c268d18c1
Quick pass at url-dispatch
2019-06-17 02:08:42 -04:00
Cameron Dershem
312031a085
Updates 'autoreloading' section
2019-06-17 00:44:38 -04:00
Cameron Dershem
3f95205696
Front page examples return 'impl Responder'
2019-06-16 23:37:57 -04:00
Cameron Dershem
f922e8fb96
First pass at Extractors.
2019-06-16 23:17:17 -04:00
Cameron Dershem
a313315a92
begin url-dispatch chapter.
2019-06-16 20:19:25 -04:00
Cameron Dershem
5bd4218b94
comments out keep_alive section to pass builds.
2019-06-15 17:01:17 -04:00
Cameron Dershem
cb31379c10
renames file to be more discoverable.
2019-06-15 17:00:15 -04:00
Cameron Dershem
f7b22dfdc0
First pass at Handlers chapter.
2019-06-15 16:37:08 -04:00
Cameron Dershem
8ab3e35851
First pass at Server section.
2019-06-13 17:10:51 -04:00
Cameron Dershem
992d182910
First pass at 'Application' section
2019-06-13 03:24:25 -04:00
Cameron Dershem
577dd90341
Updates getting-started to v1.0.
2019-06-13 00:33:32 -04:00
Cameron Dershem
315b131cdd
Cargo can't do nested workspaces.
2019-06-13 00:32:48 -04:00
Cameron Dershem
d2a2fc6979
Updates front-page flexible-responders to v1.0
2019-06-12 23:25:00 -04:00
Cameron Dershem
118286afb1
Updates front-page examples: powerful-extractor and easy-form-handling.
2019-06-12 19:23:51 -04:00
Cameron Dershem
cbd27e7668
Adds to workspace to test all code actually functions.
2019-06-12 18:14:10 -04:00
Cameron Dershem
a5f7e0d095
removes outdatej code in examples.
2019-06-12 04:56:59 -04:00
Cameron Dershem
8aa39e1afb
begin update of docs to actix-web 1.0
2019-06-12 04:51:45 -04:00
Nikolay Kim
5cd8d2edc8
use actix-web 0.7 for examples
2018-07-21 05:21:41 -07:00
Nikolay Kim
1bf14f774d
fix vh example
2018-06-09 06:26:27 -07:00
Nikolay Kim
5eb00bb9f3
Fix example
2018-06-09 04:58:22 -07:00
Yann Simon
14e47859a0
document how to start the app with state
2018-06-08 10:17:29 +02:00
Nikolay Kim
5938691794
add vh section
2018-06-07 21:08:11 -07:00
Armin Ronacher
ede773dd93
Outdent examples
2018-05-27 10:49:14 -07:00
Nikolay Kim
842c877da2
update url-dispatch examples
2018-05-24 10:13:55 -07:00
Nikolay Kim
ec11bf0db3
fix application examples
2018-05-24 09:31:40 -07:00
Nikolay Kim
d27ab00b71
convert server examples
2018-05-23 20:39:15 -07:00
Armin Ronacher
ab91b27c13
Test getting-started example
2018-05-23 23:25:51 +02:00
Armin Ronacher
93995e185f
Updated app examples
2018-05-23 22:01:36 +02:00
Armin Ronacher
e204566062
Added basic example with includes
2018-05-23 21:28:12 +02:00