summaryrefslogtreecommitdiffstats
path: root/lib/sellershut-core/src
diff options
context:
space:
mode:
authorrtkay123 <dev@kanjala.com>2025-07-26 19:24:38 +0200
committerrtkay123 <dev@kanjala.com>2025-07-26 19:24:38 +0200
commite26d87f4fa18999c6bcfbcf32cfa85adab11acdd (patch)
tree603c6dacb6c448984bdcc5fa2b4a9314f1a23960 /lib/sellershut-core/src
parent236876f1d0539ac22a3977fd8599933725ad0f90 (diff)
downloadsellershut-e26d87f4fa18999c6bcfbcf32cfa85adab11acdd.tar.bz2
sellershut-e26d87f4fa18999c6bcfbcf32cfa85adab11acdd.zip
feat(auth): create user call
Diffstat (limited to 'lib/sellershut-core/src')
-rw-r--r--lib/sellershut-core/src/lib.rs4
-rw-r--r--lib/sellershut-core/src/profile.rs3
2 files changed, 5 insertions, 2 deletions
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");