We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
tracked_path
1 parent bd3eb94 commit 9ac2cb3Copy full SHA for 9ac2cb3
sqlx-macros-core/src/lib.rs
@@ -14,6 +14,11 @@
14
//! And then make releases in lockstep with `sqlx-core`. We recommend all driver crates, in-tree
15
//! or otherwise, use the same version numbers as `sqlx-core` to avoid confusion.
16
17
+#![cfg_attr(
18
+ any(sqlx_macros_unstable, procmacro2_semver_exempt),
19
+ feature(track_path)
20
+)]
21
+
22
use once_cell::sync::Lazy;
23
24
use crate::query::QueryDriver;
sqlx-macros-core/src/migrate.rs
@@ -1,3 +1,6 @@
1
+#[cfg(any(sqlx_macros_unstable, procmacro2_semver_exempt))]
2
+extern crate proc_macro;
3
4
use proc_macro2::TokenStream;
5
use quote::{quote, ToTokens, TokenStreamExt};
6
use sha2::{Digest, Sha384};
0 commit comments