Commit Graph

241 Commits

Author SHA1 Message Date
Sergio Benitez 9b1cf229d7 Fix build, documentation, and tests.
This commit makes it possible to build, document, and test Rocket v0.4.
The main changes are:

  * A `Cargo.lock` was added that includes references to yanked deps.
  * The `tls` feature isn't tested as `ring` fails to build.
  * The site guide was moved to `docs/guide`.
  * The `site/` directory was removed.
2024-02-25 15:19:37 -08:00
Sergio Benitez d535cdf185 Reenable dependencies. 2022-05-26 18:10:50 -07:00
Sergio Benitez 5a20d76926 Update UI tests for latest nightly. 2022-05-25 18:48:27 -07:00
Sergio Benitez a316991adf New version: 0.4.11. 2022-05-25 17:56:36 -07:00
Sergio Benitez 5824f56c4e Remove removed rustc features.
* 'crate_visibility_modifier'
* 'external_doc'

Closes #2205.
2022-05-25 17:48:07 -07:00
Sergio Benitez 08e5b6dd0d New version: 0.4.10. 2021-05-21 23:16:16 -07:00
Sergio Benitez aabd886388 New version: 0.4.9. 2021-05-19 10:21:05 -07:00
Sergio Benitez 7adfbd5a1e New version: 0.4.8. 2021-05-18 21:18:12 -07:00
Sergio Benitez 425f741b87 Update 'Try' impl, codegen for nightly-2021-05-18.
Minimum nightly is now '2021-05-18'.
2021-05-18 20:59:11 -07:00
Sergio Benitez b67bd8be90 New version: 0.4.7. 2021-02-09 17:41:40 -08:00
Sergio Benitez b4fadae53d New version: 0.4.6. 2020-11-09 23:22:43 -08:00
Sergio Benitez 11ec95ef8f Update broken doc links in contrib. 2020-11-09 23:19:41 -08:00
Jeb Rosen b109d151a6 Fix library versions in database contrib docs. 2020-09-12 03:11:51 -07:00
Sergio Benitez 6f5725b83d Update source code idiomacy, clearing warnings. 2020-09-12 03:10:27 -07:00
Sergio Benitez 559e64cc1f Migrate to 'trybuild' for UI tests. 2020-09-12 02:43:49 -07:00
Sergio Benitez 4683407f59 New version: 0.4.5. 2020-05-30 14:29:06 -07:00
Sergio Benitez e75e227afc Improve docs for 'Options::NormalizeDirs'. 2020-05-30 01:40:39 -07:00
Sergio Benitez 883388634e Add 'Options::NormalizeDirs' to 'StaticFiles'.
Closes #1198.

Co-authored-by: Keith Wansbrough <keithw@lochan.org>
2020-05-30 01:09:20 -07:00
Sergio Benitez 807e3b8d85 New version: 0.4.4. 2020-03-09 02:17:21 -07:00
Sergio Benitez 635a4bddba Fix more broken links. 2020-03-09 02:04:03 -07:00
Sergio Benitez cba00ec66a Fix an array of broken doc links. 2020-03-09 01:12:43 -07:00
Jeb Rosen 2b9c4197d8 Remove [target.'cfg(debug_assertions)'.dependencies] in contrib Cargo.toml.
This is not supported and is the same as putting the contents in
[dependencies] anyway. It became a warning in rust-lang/cargo#7660.

Backport of 4151cd46db.
2020-03-08 12:49:23 +01:00
Sergio Benitez b3d65b0ad2 New version: 0.4.3. 2020-02-29 18:19:02 -08:00
adrian5 c40276e8d2 Fix typo in databases documentation: extraneous word 'database'. 2020-02-27 16:02:36 -08:00
Sergio Benitez 996694aefb Update UI tests for latest nightly. 2020-02-27 14:41:21 -08:00
Sergio Benitez 35753c4d53 Fix tests for Windows. 2019-07-06 01:15:47 -07:00
Sergio Benitez 2d4dc5ae58 New version: 0.4.2. 2019-06-28 17:50:57 -07:00
Sergio Benitez ab2c012c26 Fix link to 'Rustqlite' in databases docs. 2019-06-28 17:38:54 -07:00
Jeb Rosen 225218de3f Document contrib database library versions.
This commit also adds a note to the contrib database documentation
describing how to enable features in upstream database crates.
2019-06-28 12:20:51 -07:00
Sergio Benitez de076895db Update 'glob' dependency to 0.3. 2019-06-28 12:20:02 -07:00
Sergio Benitez 2d4eec8f7e Update 'version_check' to 0.9. 2019-06-28 12:17:28 -07:00
Sergio Benitez be829bd891 Set Content-Type on 'MsgPack' responses.
Fixes #1009.
2019-06-28 12:11:23 -07:00
Sergio Benitez ca1e6e0cf7 Set 'StaticFiles' rank with method, not bit-flags. 2019-06-28 12:11:07 -07:00
Sergio Benitez 4ad1813772 Allow setting a custom rank on 'StaticFiles'.
Resolves #965.
2019-06-28 12:11:04 -07:00
Adam 233121b6dc Implement 'FromIterator' for 'JsonValue'. 2019-06-28 12:09:32 -07:00
Sergio Benitez f1f09f17ca New version: 0.4.1. 2019-05-11 16:51:38 -07:00
Unknown 99afa7d5f7 Fix missing '```' at end of template example code. 2019-05-09 09:11:51 -07:00
Blake Smith fcd64342fd Fix typo in 'databases' documentation: 'pg_db' -> 'my_db'. 2019-03-13 06:32:28 -07:00
Peter Farr 622f4f399c Flesh out database examples in the API documentation:
* Demonstrate multiple databases in ROCKET_DATABASES environment variable.
  * Add a second example of connection guard type creation.
2019-03-13 06:30:31 -07:00
Sergio Benitez d8ada552c9 Remove duplicate 'use' in 'helmet' tests. 2019-02-06 19:40:26 -08:00
jeb 90296dde80 Change `rocket_contrib` to not depend on default features from `rocket`. 2019-01-31 20:25:44 -08:00
An Long 5ce43ed4e9 Add support for memcache connection pooling in 'rocket_contrib'. 2019-01-13 11:16:11 -08:00
Austin Hartzheim a88bc95201 Specify 'rocket_contrib' version correctly in doc examples. 2019-01-12 14:54:22 -08:00
Eric Dattore aba3ad327b Add database pool integration tests. 2018-12-23 21:12:44 -08:00
Sergio Benitez 3f58ea692f Add compile tests to contrib codegen. 2018-12-23 21:08:07 -08:00
Eric Dattore 7dd0c8fd02 Implement 'DerefMut' for database pools.
This commit also fixes database pool codegen amidst of generics.

Fixes #854.
Resolves #862.
2018-12-23 21:06:45 -08:00
Sergio Benitez 746023fe1f Use '&*' in database docs for reliable deref coercions.
Resolves #855.
2018-12-10 22:20:34 -08:00
Sergio Benitez b88a2d7d05 Add notes about enabling features to contrib docs. 2018-12-07 09:07:27 -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