fix: use under feature

This commit is contained in:
yiffyrusdev 2025-09-12 14:24:36 +05:00
commit 41e06d138b
No known key found for this signature in database
GPG key ID: FB83DFEAFB3F4709

View file

@ -1,5 +1,3 @@
use raffia::ast::InterpolableIdent;
/// Convenience wrapper for String-being-a-hash /// Convenience wrapper for String-being-a-hash
#[derive(Debug, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Clone, PartialEq, Eq, Hash)]
pub struct ScopeHash(String); pub struct ScopeHash(String);
@ -8,6 +6,7 @@ impl ScopeHash {
#[cfg(feature = "scope")] #[cfg(feature = "scope")]
pub fn new(scope: &super::ArbitraryScope, config: &crate::config::SabryHashConfig) -> Self { pub fn new(scope: &super::ArbitraryScope, config: &crate::config::SabryHashConfig) -> Self {
use base64::Engine; use base64::Engine;
use raffia::ast::InterpolableIdent;
use crate::scoper::apply_basic_rusty_member_gen_rules; use crate::scoper::apply_basic_rusty_member_gen_rules;