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

View file

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

View file

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