Upgrade quote

This commit is contained in:
Magnus Hovland Hoff 2022-04-03 22:16:45 +02:00
parent 25dcb85c24
commit 0521f0ce5a
3 changed files with 12 additions and 15 deletions

18
Cargo.lock generated
View file

@ -263,7 +263,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "45f5098f628d02a7a0f68ddba586fb61e80edec3bdc1be3b921f4ceec60858d3"
dependencies = [
"proc-macro2",
"quote 1.0.9",
"quote 1.0.17",
"syn 1.0.71",
]
@ -619,7 +619,7 @@ checksum = "9753f12909fd8d923f75ae5c3258cae1ed3c8ec052e1b38c93c21a6d157f789c"
dependencies = [
"migrations_internals",
"proc-macro2",
"quote 1.0.9",
"quote 1.0.17",
"syn 1.0.71",
]
@ -810,9 +810,9 @@ checksum = "3831453b3449ceb48b6d9c7ad7c96d5ea673e9b470a1dc578c2ce6521230884c"
[[package]]
name = "proc-macro2"
version = "1.0.26"
version = "1.0.36"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a152013215dca273577e18d2bf00fa862b89b24169fb78c4c95aeb07992c9cec"
checksum = "c7342d5883fbccae1cc37a2353b09c87c9b0f3afd73f5fb9bba687a1f733b029"
dependencies = [
"unicode-xid 0.2.2",
]
@ -833,9 +833,9 @@ checksum = "7a6e920b65c65f10b2ae65c831a81a073a89edd28c7cce89475bff467ab4167a"
[[package]]
name = "quote"
version = "1.0.9"
version = "1.0.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c3d0b9745dc2debf507c8422de05d7226cc1f0644216dfdfead988f9b1ab32a7"
checksum = "632d02bff7f874a36f33ea8bb416cd484b90cc66c1194b1a1110d067a7013f58"
dependencies = [
"proc-macro2",
]
@ -1028,7 +1028,7 @@ dependencies = [
"num",
"percent-encoding",
"pulldown-cmark",
"quote 0.3.15",
"quote 1.0.17",
"r2d2",
"r2d2-diesel",
"rand 0.5.6",
@ -1102,7 +1102,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b093b7a2bb58203b5da3056c05b4ec1fed827dcfdb37347a8841695263b3d06d"
dependencies = [
"proc-macro2",
"quote 1.0.9",
"quote 1.0.17",
"syn 1.0.71",
]
@ -1227,7 +1227,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ad184cc9470f9117b2ac6817bfe297307418819ba40552f9b3846f05c33d5373"
dependencies = [
"proc-macro2",
"quote 1.0.9",
"quote 1.0.17",
"unicode-xid 0.2.2",
]

View file

@ -7,7 +7,7 @@ version = "0.1.0-dev"
edition = "2018"
[build-dependencies]
quote = "0.3.10"
quote = "1.0.17"
walkdir = "1"
[build-dependencies.diesel]

View file

@ -1,12 +1,9 @@
#[macro_use]
extern crate quote;
#[macro_use]
extern crate diesel;
extern crate diesel_migrations;
extern crate walkdir;
use diesel::prelude::*;
use diesel::Connection;
use quote::quote;
use std::env;
use std::fs::File;
use std::io::prelude::*;
@ -61,7 +58,7 @@ fn main() {
}
pub use self::__diesel_infer_schema_article_revisions::*;
}
.as_str()
.to_string()
.as_bytes(),
)
.expect("Unable to write to file");