Skip to content

Commit 2a890ba

Browse files
committed
Upgrade backend to Diesel 1.4
This commit upgrades Diesel, allowing us to re-enable some warnings and has the nice benefit of consolidating (some) versions of `proc-macro2`, `quote`, and `syn`.
1 parent 6e6eeb6 commit 2a890ba

File tree

5 files changed

+23
-55
lines changed

5 files changed

+23
-55
lines changed

Cargo.lock

Lines changed: 22 additions & 51 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ htmlescape = "0.3.1"
4747
license-exprs = "^1.4"
4848
dotenv = "0.11.0"
4949
toml = "0.4"
50-
diesel = { version = "1.3.0", features = ["postgres", "serde_json", "chrono", "r2d2"] }
50+
diesel = { version = "1.4.0", features = ["postgres", "serde_json", "chrono", "r2d2"] }
5151
diesel_full_text_search = "1.0.0"
5252
diesel_ltree = "0.1.3"
5353
serde_json = "1.0.0"

src/bin/update-downloads.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#![deny(warnings)]
2-
#![allow(unknown_lints, proc_macro_derive_resolution_fallback)] // This can be removed after diesel-1.4
32

43
#[macro_use]
54
extern crate diesel;

src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
#![deny(missing_debug_implementations, missing_copy_implementations)]
88
#![deny(bare_trait_objects)]
99
#![recursion_limit = "256"]
10-
#![allow(unknown_lints, proc_macro_derive_resolution_fallback)] // TODO: This can be removed after diesel-1.4
1110

1211
#[macro_use]
1312
extern crate derive_deref;

src/tests/all.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#![deny(warnings)]
2-
#![allow(unknown_lints, proc_macro_derive_resolution_fallback)] // TODO: This can be removed after diesel-1.4
32

43
#[macro_use]
54
extern crate diesel;

0 commit comments

Comments
 (0)