Upd Dockerfiles, crates. Fixed rust 2018 idioms

- Updated crates
- Fixed Dockerfiles to build using the rust stable version
- Enabled warnings for rust 2018 idioms and fixed them.
This commit is contained in:
BlackDex authored and Daniel García committed 2022-01-30 22:26:18 +01:00
1 parent 775d07e9a0
commit f38926d666
23 files changed
+84 -34

No files matched your search

+1 -2
View File
@@ -1,5 +1,5 @@
#![forbid(unsafe_code)]
// #![warn(rust_2018_idioms)]
#![warn(rust_2018_idioms)]
#![warn(rust_2021_compatibility)]
#![cfg_attr(feature = "unstable", feature(ip))]
// The recursion_limit is mainly triggered by the json!() macro.
@@ -8,7 +8,6 @@
// If you go above 128 it will cause rust-analyzer to fail,
#![recursion_limit = "87"]
extern crate openssl;
#[macro_use]
extern crate rocket;
#[macro_use]