Rocket/core/lib
Sergio Benitez 02011a1307 Clean up codebase: fix reasonable clippy warnings.
This commit is a codebase-wide cleanup driven by clippy warnings. In
addition to fixing every reasonable warning, the following new
functionality was introduced:

  * `Accept::new()` now takes any `T: Into<QMediaType>` iterator.
  * `TempFile::is_empty()` was added.
  * `HeaderMap` now implements `IntoIterator`.

This commit makes the following breaking changes:

  * The `IntoCollection` trait is gone. Generics previously bound by the
    trait are now bound by `IntoIterator`. This affects:
    - `Accept::new()`
    - `ContentType::with_params()`
    - `Permission::{allow, allowed}()`
  * `MediaType`, `QMediaType`, and `Allow` implement `IntoIterator`,
    enabling most existing code to continue working without change.
  * The inherent `HeaderMap::into_iter()` method was removed.
  * The `Ok` variant in ErrorKind::Liftoff` is now `Box<Rocket<Orbit>>`.
2024-03-20 00:47:38 -07:00
..
fuzz Doc, fix, and test 'cli_colors' deserialization. 2023-12-18 16:37:56 -08:00
src Clean up codebase: fix reasonable clippy warnings. 2024-03-20 00:47:38 -07:00
tests Clean up codebase: fix reasonable clippy warnings. 2024-03-20 00:47:38 -07:00
Cargo.toml Clean up codebase: fix reasonable clippy warnings. 2024-03-20 00:47:38 -07:00
build.rs Fix min dependency versions. Update MSRV to 1.64. 2023-12-13 17:49:05 -08:00