From 112475c23ecbc9329cc13db72dd20300b1d19ba1 Mon Sep 17 00:00:00 2001 From: gwenn Date: Sat, 20 Jul 2024 16:34:16 +0200 Subject: [PATCH] Bump sqlite3-parser version --- rusqlite-macros/Cargo.toml | 2 +- rusqlite-macros/src/lib.rs | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/rusqlite-macros/Cargo.toml b/rusqlite-macros/Cargo.toml index 5503800..0b5f902 100644 --- a/rusqlite-macros/Cargo.toml +++ b/rusqlite-macros/Cargo.toml @@ -12,6 +12,6 @@ categories = ["database"] proc-macro = true [dependencies] -sqlite3-parser = { version = "0.12", default-features = false, features = ["YYNOERRORRECOVERY"] } +sqlite3-parser = { version = "0.13", default-features = false, features = ["YYNOERRORRECOVERY"] } fallible-iterator = "0.3" litrs = { version = "0.4", default-features = false } diff --git a/rusqlite-macros/src/lib.rs b/rusqlite-macros/src/lib.rs index 211af9d..e24b584 100644 --- a/rusqlite-macros/src/lib.rs +++ b/rusqlite-macros/src/lib.rs @@ -4,7 +4,8 @@ use litrs::StringLit; use proc_macro::{Delimiter, Group, Literal, Span, TokenStream, TokenTree}; use fallible_iterator::FallibleIterator; -use sqlite3_parser::ast::{ParameterInfo, ToTokens}; +use sqlite3_parser::ast::fmt::ToTokens; +use sqlite3_parser::ast::ParameterInfo; use sqlite3_parser::lexer::sql::Parser; // https://internals.rust-lang.org/t/custom-error-diagnostics-with-procedural-macros-on-almost-stable-rust/8113