diff options
Diffstat (limited to 'lib/sellershut-core/src')
-rw-r--r-- | lib/sellershut-core/src/lib.rs | 4 | ||||
-rw-r--r-- | lib/sellershut-core/src/profile.rs | 3 |
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"); |