mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-10-02 07:21:08 +00:00
fix(macros-core): use of undeclared tracked_path
This commit is contained in:
parent
bd3eb94737
commit
9ac2cb3ace
@ -14,6 +14,11 @@
|
||||
//! And then make releases in lockstep with `sqlx-core`. We recommend all driver crates, in-tree
|
||||
//! or otherwise, use the same version numbers as `sqlx-core` to avoid confusion.
|
||||
|
||||
#![cfg_attr(
|
||||
any(sqlx_macros_unstable, procmacro2_semver_exempt),
|
||||
feature(track_path)
|
||||
)]
|
||||
|
||||
use once_cell::sync::Lazy;
|
||||
|
||||
use crate::query::QueryDriver;
|
||||
|
@ -1,3 +1,6 @@
|
||||
#[cfg(any(sqlx_macros_unstable, procmacro2_semver_exempt))]
|
||||
extern crate proc_macro;
|
||||
|
||||
use proc_macro2::TokenStream;
|
||||
use quote::{quote, ToTokens, TokenStreamExt};
|
||||
use sha2::{Digest, Sha384};
|
||||
|
Loading…
x
Reference in New Issue
Block a user