Jacob Pratt
e44c5896b8
Remove stabilized 'async_await' feature gate and update the minimum nightly version.
2020-07-11 09:24:28 -07:00
Jeb Rosen
6044961680
Update parts of contrib and associated tests and examples:
...
* json
* templates
* helmet
* databases
* serve
* examples/cookies
* examples/handlebars_templates
* examples/json
* examples/session
* examples/static_files
* examples/tera_templates
2020-07-11 09:24:28 -07:00
Jeb Rosen
3e4f8453ce
Remove use of the 'decl_macro' feature.
...
Also removes one internal use in the 'typed-uris' codegen test.
2019-07-19 11:39:56 -07:00
Jeb Rosen
2315171971
Migrate contrib to Rust 2018.
2019-06-25 11:30:39 -07:00
Sergio Benitez
26db5ecb4e
Fix normalization and Windows issues.
2018-10-24 00:01:56 -07:00
Sergio Benitez
e0973d95f1
Log I/O error when live template reloading fails.
2018-10-23 23:58:12 -07:00
Sergio Benitez
9cb031a47d
Modularize contrib.
2018-10-09 04:31:09 -07:00
Sergio Benitez
2839aca8ce
Update features for latest nightly.
2018-10-09 04:31:09 -07:00
Sergio Benitez
360b0e80b0
Port all codegen tests to codegen_next.
2018-10-09 04:31:08 -07:00
jeb
8e779610c4
Reimplement 'routes!' and 'catchers!' as proc-macros.
2018-09-16 18:52:23 -07:00
Sergio Benitez
4098ddd92f
Improve templates contrib test by reusing code.
2018-08-13 02:14:16 -07:00
jeb
491b04cf5a
Implement template auto-reload.
...
Resolves #163 .
2018-08-10 23:29:12 -07:00
Sergio Benitez
39c952f8eb
Clean up 'TemplateMetadata' implementation.
2018-07-10 17:07:53 -07:00
Marc Mettke
c381386098
Add 'TemplateMetadata' request guard to contrib.
...
The request guard allows a user to query information about loaded
templates. In particular, a user can check whether a template was
loaded.
2018-07-10 15:11:43 -07:00
Beatriz Rizental
965c90afc9
Add 'log = off' config option to disable all logging.
2018-07-07 18:12:25 -07:00
Sergio Benitez
397a646dcf
Fix conditional compilation for contrib templates tests.
2018-06-03 20:42:15 +02:00
Sergio Benitez
f171dc9d09
Reorganize repository.
...
The directory structure has changed to better isolate crates serving
core and contrib. The new directory structure is:
contrib/
lib/ - the contrib library
core/
lib/ - the core Rocket library
codegen/ - the "compile extension" codegen library
codegen_next/ - the new proc-macro library
examples/ - unchanged
scripts/ - unchanged
site/ - unchanged
This commit also removes the following files:
appveyor.yml - AppVeyor (Rust on Windows) is far too spotty for use
rustfmt.toml - rustfmt is, unfortunately, not mature enough for use
Finally, all example Cargo crates were marked with 'publish = false'.
2018-06-03 18:44:38 +02:00