Jeb Rosen
b56e889a0e
Disable some known-failing tests for now.
2020-07-11 09:24:28 -07:00
Sergio Benitez
22c5e261b4
Prefix release codenames with 'v'.
2020-02-29 18:19:54 -08:00
Sergio Benitez
32e86c3b69
Inline macro docs into core crate.
2020-02-25 16:56:59 -08:00
Sergio Benitez
f8e72d2e2e
Add prerelease flag to 'config.sh'.
2020-01-29 14:16:50 -08:00
Jeb Rosen
ff2000293c
Update 'compiletest' and fix and re-enable compile UI tests.
2020-01-15 17:09:57 -08:00
Sergio Benitez
1caf87eb21
Move to 0.5.0-dev on master.
2019-05-13 16:18:48 -07:00
Jeb Rosen
0a3960b031
Clean up 'compression' module and documentation.
2019-04-27 08:54:21 -07:00
jeb
b9c3a5c64b
Remove test bootstrapping.
2019-02-08 16:50:14 -08:00
An Long
5ce43ed4e9
Add support for memcache connection pooling in 'rocket_contrib'.
2019-01-13 11:16:11 -08:00
Sergio Benitez
a4dcb0cf4c
New version: 0.4.0.
2018-12-06 09:19:11 -08:00
Eric Dattore
50a635ed8e
Add support for MongoDB connection pooling in 'rocket_contrib'.
2018-12-06 08:17:12 -08:00
Sergio Benitez
90a6749313
New version: 0.4.0-rc.2.
2018-11-30 21:00:18 -08:00
Sergio Benitez
b405b181a3
Test 'rocket_contrib' before publishing.
2018-11-30 21:00:18 -08:00
Sergio Benitez
7919ceac39
Strip dev-dependencies more reliably.
2018-11-30 20:58:29 -08:00
Sergio Benitez
4224419e63
Reduce 'cfg' usage for 'private-cookies' feature.
2018-11-08 23:56:15 -08:00
Linus Unnebäck
53758c6dd7
Introduce the 'private-cookies' feature.
2018-11-08 23:38:18 -08:00
Sergio Benitez
1bb23b8115
Rename 'space_helmet' to 'helmet'. Rework API.
2018-11-08 20:35:30 -08:00
Tal
c5167f1150
Add 'space_helmet' contrib module.
2018-11-08 20:35:26 -08:00
Sergio Benitez
4dbd87a36f
New version: 0.4.0-rc.1.
2018-10-31 14:35:30 -07:00
Sergio Benitez
4b5000e33b
Pass flags along in 'publish' script.
2018-10-31 04:47:21 -07:00
Sergio Benitez
ef3e7ca2c6
Make all top-level crates publishable.
2018-10-31 03:57:37 -07:00
Sergio Benitez
34c76dd0a9
Keep release info in site's 'index.toml'.
2018-10-28 20:17:44 -07:00
Sergio Benitez
5c40d3b7e2
Reenable MySQL pooling support.
2018-10-27 18:14:17 -07:00
Sergio Benitez
556206e8b3
Version all URLs to 'rocket.rs'.
2018-10-26 21:20:12 -07:00
Sergio Benitez
ed15e6685d
Track major version in scripts config.
2018-10-26 20:36:19 -07:00
Sergio Benitez
9ef0b731c8
Rename 'codegen_next' to 'codegen'.
2018-10-22 00:01:41 -07:00
Sergio Benitez
ed9d6096aa
Really disable MySQL pooling support.
2018-10-22 00:01:41 -07:00
Sergio Benitez
f5219174d0
Allow docs to be built without cleaning with '-d'.
2018-10-10 04:21:06 -07:00
Sergio Benitez
8b1e93192e
Version documentation.
2018-10-09 04:31:09 -07:00
Sergio Benitez
9cb031a47d
Modularize contrib.
2018-10-09 04:31:09 -07:00
Sergio Benitez
28f2a33abd
Use inter/intra-crate links in all documentation.
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
Sergio Benitez
58519e495e
Test all contrib features individually.
2018-08-18 16:52:45 -07:00
Sergio Benitez
df7111143e
Split the 'http' module into its own 'rocket_http' crate.
2018-06-07 15:34:47 +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
Sergio Benitez
162bf19c72
Require testing in release mode before publishing.
2018-05-31 20:47:18 +02:00
Sergio Benitez
f397e49a99
Various tiny improvements to shell scripts.
2018-01-23 18:53:02 -08:00
Sergio Benitez
f0af77d917
Disable incremental compilation in testing script.
...
With incremental compilation, compilation output disk usage grows to
almost 10GB. This prevent that from happening.
2018-01-23 18:49:59 -08:00
Sergio Benitez
dfc6fa13e4
Forward CLI arguments to Cargo in testing script.
2018-01-13 09:25:25 -08:00
Sergio Benitez
0101d8bf3a
Replace 'egrep' with 'git grep' in testing script.
2017-12-27 20:29:36 -08:00
Sergio Benitez
5b85a05366
Automatically set release date in 'bump_version.sh'.
2017-12-14 23:10:21 -08:00
Lucas Kolstad
2d72928ba1
Properly handle paths with spaces in shell scripts.
2017-09-07 17:07:31 -07:00
Sergio Benitez
aa9d9ab081
Run 'cargo update' in 'mk-docs.sh' script.
2017-09-04 19:07:39 -07:00
Sergio Benitez
6f5b840d00
Remove now-unneeded doc shenanigans.
2017-04-23 00:03:14 -07:00
Sergio Benitez
b5ef6ec85b
Add site contents, including the guide. Add license information.
2017-04-16 21:11:41 -07:00
Sergio Benitez
82ec8ee739
Use bash from env, not /usr/bin.
2017-04-06 22:04:32 -07:00
Sergio Benitez
7139941e04
Ensure no files have trailing whitespace.
2017-03-15 19:26:15 -07:00
Sergio Benitez
d4eda278a2
Parallelize testing. Fix compiletest dependencies.
2017-02-02 00:41:47 -08:00
Sergio Benitez
c6f8b251cb
Clean Rocket crates before testing to avoid versioning/rebuild issues.
2017-01-15 02:33:45 -08:00
Sergio Benitez
accfa17e6d
Tab regex isn't cross-platform. Use literal.
2016-12-28 22:47:29 -06:00
Sergio Benitez
7a882fd967
Disallow tabs in testing script.
2016-12-28 22:33:56 -06:00
Sergio Benitez
f86b1cd775
Print a nice message when readlink/readpath support is bad.
2016-12-25 22:23:54 -06:00
Sergio Benitez
61fb573622
Check git status in publish script.
2016-12-24 17:33:43 -06:00
Sergio Benitez
de6de99caf
Add script to automate publishing.
2016-12-24 13:05:32 -08:00
Sergio Benitez
61a998f227
Add script to bump version numbers.
2016-12-24 12:41:30 -08:00
Sergio Benitez
2dc1ba29f0
Adds tests for JSON example. Emit warning from JSON FromData.
...
This also includes a tiny change to the `mk-docs` script to build a
blank index at the root of the docs.
2016-12-21 22:56:58 -08:00
Sergio Benitez
9e86fa2f81
Add version check, updating/building status messages to testing script.
2016-12-11 22:15:15 -08:00
Sergio Benitez
0731cd6150
Update rocket_codegen for latest nightly.
2016-12-06 00:31:01 -08:00
Sergio Benitez
aff3f643f1
Skip testing todo example: Diesel is broken again.
2016-11-21 13:39:28 -08:00
Sergio Benitez
7beec53889
Don't skip the todo example since Diesel was fixed.
2016-11-02 18:50:37 +01:00
Sergio Benitez
0a4a647829
Diesel is broken. Skip it during testing.
2016-10-25 12:25:18 +02:00
Sergio Benitez
6a6efaf56b
Build the docs twice to get testing module docs.
2016-10-25 10:20:29 +02:00
Sergio Benitez
2f35b23514
Remove non-streaming requests. Use streaming requests everywhere.
...
This commit includes the following important API changes:
* The `form` route parameter has been removed.
* The `data` route parameter has been added.
* Forms are not handled via the `data` parameter and `Form` type.
* Removed the `data` parameter from `Request`.
* Added `FromData` conversion trate and default implementation.
* Added `DataOutcome` enum, which is the return type of `from_data`.
* 'FromData' is now used to automatically derive the `data` parameter.
* Moved `form` into `request` module.
* Removed `Failure::new` in favor of direct value construction.
This commit includes the following important package additions:
* Added a 'raw_upload' example.
* `manual_routes` example uses `Data` parameter.
* Now building and running tests with `--all-features` flag.
* All exmaples have been updated to latest API.
* Now using upstream Tera.
This commit includes the following important fixes:
* Any valid ident is now allowed in single-parameter route parameters.
* Lifetimes are now properly stripped in code generation.
* `FromForm` derive now works on empty structs.
2016-10-12 00:14:42 -07:00
Sergio Benitez
9cf23ae2d4
Fallback to relative path if directory doesn't exist.
2016-10-03 17:25:55 -07:00
Sergio Benitez
7c78994b70
Clean-up before creating docs to avoid dependencies in docs.
2016-10-02 17:51:35 -07:00
Sergio Benitez
dc677124c6
Add script to build docs.
2016-10-02 17:29:59 -07:00
Sergio Benitez
8ff92efc93
Use readlink on Linux.
2016-10-02 01:23:28 -07:00
Sergio Benitez
4a0984891a
Make running scripts more robust.
2016-10-02 01:18:37 -07:00
Sergio Benitez
4595338a39
Cache Cargo in Travis.
2016-09-30 15:39:55 -07:00
Sergio Benitez
fec2866517
Check that version numbers match in testing script.
2016-09-29 20:50:06 -07:00
Sergio Benitez
a3218192dd
Add contrib crate. Add JSON to contrib. Add JSON example.
2016-09-19 16:24:01 -07:00
Sergio Benitez
46f73ed57c
Renamed macros to codegen.
2016-09-08 20:38:58 -07:00
Sergio Benitez
025c9243c0
Now using a Cargo workspace for (much!) faster builds. Added a temporary query
...
params example.
2016-08-10 17:50:08 -07:00
Sergio Benitez
55d5dd2b46
Hopefully a fix for the travis bash script.
2016-08-06 20:59:51 -07:00
Sergio Benitez
d16d9bd0d7
Fixed todo example. Testing script now bootstraps when needed.
2016-08-06 19:57:44 -07:00
Sergio Benitez
9db5f5811f
Fixed all valid Clippy warnings. Removed deprecated method call.
2016-04-22 19:48:03 -07:00
Sergio Benitez
e4ceabb0e0
Added a travis file.
2016-03-17 20:18:16 -07:00