From e26d87f4fa18999c6bcfbcf32cfa85adab11acdd Mon Sep 17 00:00:00 2001 From: rtkay123 Date: Sat, 26 Jul 2025 19:24:38 +0200 Subject: feat(auth): create user call --- lib/sellershut-core/src/lib.rs | 4 +++- lib/sellershut-core/src/profile.rs | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'lib/sellershut-core/src') diff --git a/lib/sellershut-core/src/lib.rs b/lib/sellershut-core/src/lib.rs index c300495..70544cf 100644 --- a/lib/sellershut-core/src/lib.rs +++ b/lib/sellershut-core/src/lib.rs @@ -7,11 +7,13 @@ )] /// Protobuf types -#[cfg(feature = "auth")] +#[cfg(any(feature = "auth", feature = "profile"))] pub mod google; /// Interactions with Auth server +#[cfg(feature = "auth")] pub mod auth; /// Interactions with Profile server +#[cfg(feature = "profile")] pub mod profile; diff --git a/lib/sellershut-core/src/profile.rs b/lib/sellershut-core/src/profile.rs index bf366b1..06484d9 100644 --- a/lib/sellershut-core/src/profile.rs +++ b/lib/sellershut-core/src/profile.rs @@ -1,3 +1,4 @@ tonic::include_proto!("profile"); /// Profile file descriptor -pub const PROFILE_FILE_DESCRIPTOR_SET: &[u8] = tonic::include_file_descriptor_set!("profile_descriptor"); +pub const PROFILE_FILE_DESCRIPTOR_SET: &[u8] = + tonic::include_file_descriptor_set!("profile_descriptor"); -- cgit v1.2.3