Skip to content

Commit 195fbe2

Browse files
committed
fix strs_tools_meta problem
1 parent 67bd72d commit 195fbe2

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

module/core/macro_tools/src/lib.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,10 @@ pub mod own {
114114
use super::super::*;
115115
pub use orphan::*;
116116

117+
pub use prelude::syn;
118+
pub use prelude::proc_macro2;
119+
pub use prelude::quote;
120+
117121
pub use private::{Result};
118122

119123
#[ cfg( feature = "attr" ) ]

module/core/strs_tools/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ full = [
5555
# ========================================
5656

5757
# Minimal functionality - required for all other features
58-
enabled = []
58+
enabled = [ "strs_tools_meta/enabled" ]
5959

6060
# String indentation functionality
6161
string_indentation = ["enabled"]
@@ -119,7 +119,7 @@ lexical = { workspace = true, optional = true }
119119
component_model_types = { workspace = true, features = ["enabled"] }
120120

121121
# Compile-time optimization macros
122-
strs_tools_meta = { workspace = true, path = "strs_tools_meta", optional = true }
122+
strs_tools_meta = { workspace = true, optional = true }
123123

124124
# SIMD optimization dependencies (optional)
125125
# When simd feature is disabled, these dependencies are not included at all

0 commit comments

Comments
 (0)