summaryrefslogtreecommitdiffstats
path: root/lib/sellershut-core/src
diff options
context:
space:
mode:
authorrtkay123 <dev@kanjala.com>2025-07-26 10:20:06 +0200
committerrtkay123 <dev@kanjala.com>2025-07-26 10:20:06 +0200
commit9b9d94205d3e55a5e8a765674ef464e80f3e40fb (patch)
treec63a236d82694dbf7a621fafeb13c2da988bccd2 /lib/sellershut-core/src
parent8398104fd50b236619a0c20b7c9b7991ea855917 (diff)
downloadsellershut-9b9d94205d3e55a5e8a765674ef464e80f3e40fb.tar.bz2
sellershut-9b9d94205d3e55a5e8a765674ef464e80f3e40fb.zip
feat(profile): create service
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, 7 insertions, 0 deletions
diff --git a/lib/sellershut-core/src/lib.rs b/lib/sellershut-core/src/lib.rs
index ee2ed9b..c300495 100644
--- a/lib/sellershut-core/src/lib.rs
+++ b/lib/sellershut-core/src/lib.rs
@@ -10,4 +10,8 @@
#[cfg(feature = "auth")]
pub mod google;
+/// Interactions with Auth server
pub mod auth;
+
+/// Interactions with Profile server
+pub mod profile;
diff --git a/lib/sellershut-core/src/profile.rs b/lib/sellershut-core/src/profile.rs
new file mode 100644
index 0000000..bf366b1
--- /dev/null
+++ b/lib/sellershut-core/src/profile.rs
@@ -0,0 +1,3 @@
+tonic::include_proto!("profile");
+/// Profile file descriptor
+pub const PROFILE_FILE_DESCRIPTOR_SET: &[u8] = tonic::include_file_descriptor_set!("profile_descriptor");