Commit Graph

889 Commits

Author SHA1 Message Date
Sergio Benitez eda1fb5517 New version: 0.3.10. 2018-05-05 00:29:30 -07:00
Richard Petrie bd64064a54 Fix database pool type in state guide. 2018-05-05 00:28:46 -07:00
Sergio Benitez d8ad92d083 Improve robustness of environment variable TOML parser. 2018-05-05 00:22:45 -07:00
Sergio Benitez 933e1e44f1 Update minimum nightly to '2018-05-04'. 2018-05-04 23:53:52 -07:00
Tim "S.D.Eagle" Zeitz aeaa4d7883 Update codegen for 2018-05-03 nightly. 2018-05-04 23:52:59 -07:00
Marshall Bowers 47df409be2 Replace 'macro_reexport' with 'pub use'. 2018-05-04 23:52:40 -07:00
Sergio Benitez 4e0b170456 New version: 0.3.9. 2018-04-26 20:00:27 -07:00
Sergio Benitez 067fd82230 Update codegen and core for 2018-04-26 nightly. 2018-04-26 20:00:27 -07:00
Sergio Benitez 18e1a77353 Freeze managed state before launch. 2018-04-26 20:00:27 -07:00
David Wilkening 76135e86c9 Update rustdocs to refer to 256-bit keys everywhere. 2018-04-26 20:00:27 -07:00
Michael Noronha f29e602164 Fix minor typo in rustdocs: 'avaiable' -> 'available'. 2018-04-26 20:00:27 -07:00
pixelistik f4e17688ee Fix typo in guide: 'revisting' -> 'revisiting'. 2018-04-26 20:00:27 -07:00
ImPerat0R_ b205e6a74f Use correct response code in catcher rustdocs. 2018-04-26 20:00:23 -07:00
messense 4a9c621fc2 Preallocate 512 byte buffer for JSON deserialization. 2018-04-26 19:50:22 -07:00
Sergio Benitez bebdaabb58 New version: 0.3.8. 2018-04-07 14:12:29 -07:00
Sergio Benitez 53061f2a65 Update codegen for 2018-04-06 nightly. 2018-04-07 14:11:13 -07:00
Sergio Benitez 56e24bd57f New version: 0.3.7. 2018-04-03 21:12:43 -07:00
Sergio Benitez 3ee9dd661a Remove stabilized feature gates.
These are:

  * i128_type
  * conservative_impl_trait
  * never_type
2018-04-03 20:55:31 -07:00
Sergio Benitez 1731861022 Update pear dependency. 2018-04-03 20:55:31 -07:00
Sergio Benitez 2257a3b6d8 Update codegen for 2018-04-03 nightly. 2018-04-03 20:55:31 -07:00
Sergio Benitez 89e64d5ab3 Improve docstring for Collider impl for Route. 2018-04-03 20:55:31 -07:00
Sergio Benitez 3e72b87012 Remove the outdated README performance section. 2018-04-03 20:55:31 -07:00
Shawn T. Amundson 250d7a6f3d Fix typo in responses guide: 'An' -> 'As'. 2018-04-03 20:55:31 -07:00
Karuna Murti b85cde4a33 Add WASM as known media type. 2018-04-03 20:55:31 -07:00
Nicholas Donnelly 490b46a96b Added WEBM, OGG, and WAV as known media types. 2018-04-03 20:55:31 -07:00
Lucas Morales 92c7c3493e Add fragment URI parsing tests. 2018-04-03 20:55:31 -07:00
ta.tanaka 40688a26a6 Fix fragment URI parsing. 2018-04-03 20:55:31 -07:00
Daniel McNab abded5f299 Correct various spellings and typos in the guide.
Note that there are also some changes to the release notes included.
2018-04-03 20:55:31 -07:00
Songbird0 ae83e06565 Replace 'above' with 'below' in route parse error message. 2018-04-03 20:55:31 -07:00
Sergio Benitez defb0e2942 Fix 'unknown-media-type' compile-fail test. 2018-03-22 13:31:33 -05:00
Sergio Benitez 1b90f6ac83 Remove unnecessary 'do_match_until' function. 2018-02-25 20:01:52 -08:00
Sergio Benitez 6f505afb33 Fix collisions for strings with different lengths.
Previously, a collision check for strings with different lengths would
succeed if one string was both a prefix and a suffix of the other. The
root cause of the bug was a failure to check whether string equality
terminated early due to a matching prefix.

Fixes #574.
2018-02-25 20:01:47 -08:00
Sergio Benitez 5c9aa8e2c9 Fix 'diesel' version in state guide and todo example. 2018-02-25 20:01:25 -08:00
Eric Dattore 18ab9fb27d Use 'diesel::r2d2' in state guide and todo example.
Diesel now reexports r2d2, so rather than including that library
explicitly, let's leverage the reexport.
2018-02-25 19:58:13 -08:00
Sergio Benitez 3653a5efd9 Update 'state' to 0.4. 2018-02-25 19:52:10 -08:00
Sergio Benitez 5d47456a2e Update 'uuid' dependency to '0.6'.
Resolves #565.
2018-02-25 19:51:21 -08:00
Sergio Benitez f061c8ba9e Update yansi and pear dependencies. 2018-02-25 19:50:21 -08:00
Sergio Benitez 444e61f23d Spiffy up 'uncased_eq' implementation. 2018-02-25 19:48:17 -08:00
messense 6b608797a2 Eagerly read JSON data for deserialization.
Issue #547 identified a performance issue when serde's 'from_reader' is
used to deserialize incoming data. Using 'from_str' resolves the issue.
This commit swaps a use of 'from_reader' in favor of 'from_str' in
rocket_contrib's 'Json' implementation.

Additionally, this commit ensures that un-deserialized JSON data is
discarded as long as it is within the JSON data limit.

Closes #562.
2018-02-25 19:47:53 -08:00
Sergio Benitez d0f002c3d7 Remove unsafe 'from_utf8_unchecked'. 2018-02-25 19:47:06 -08:00
Sergio Benitez 15bce5907e Update 'rusqlite' to fix dependency resolution. 2018-02-08 14:04:48 -08:00
Sean Stangl 68b6fa7eab Update 'handlebars' to 0.28. 2018-01-13 10:58:11 -08:00
Sergio Benitez 4fe30711a3 Add Travis 'env' to run tests with '--release'. 2018-01-13 10:58:11 -08:00
Sergio Benitez 0d9731fbe6 Group 'Rocket.state()' method with other accessors. 2018-01-13 10:58:10 -08:00
Sergio Benitez 58f5988ec4 Fix compiletest linker flags for release builds. 2018-01-13 10:58:10 -08:00
Sergio Benitez c63a947b98 Forward CLI arguments to Cargo in testing script. 2018-01-13 10:58:10 -08:00
Sergio Benitez 103ebc8416 Update copyright year in LICENSE-MIT. 2018-01-12 20:07:31 -08:00
Sergio Benitez 174f85e2b9 New version: 0.3.6. 2018-01-12 19:34:16 -08:00
Sergio Benitez aaa9d6bf98 Update minimum nightly to '2018-01-12'.
The '2018-01-12' nightly release includes a commit that reverts the
change that broke 'ring', un-breaking 'ring', and thus un-breaking
Rocket. As a result, the '[patch]' workaround is no longer required.
Rocket is back on the latest nightly!
2018-01-12 19:20:08 -08:00
Sergio Benitez f485bb6b04 Revert "Document nightly compatibility issues."
This reverts commit 4718c0a85a.
2018-01-12 19:04:52 -08:00