diff options
Diffstat (limited to 'lib/sellershut-core/build.rs')
-rw-r--r-- | lib/sellershut-core/build.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sellershut-core/build.rs b/lib/sellershut-core/build.rs index 110bc22..13e3d06 100644 --- a/lib/sellershut-core/build.rs +++ b/lib/sellershut-core/build.rs @@ -15,7 +15,7 @@ impl Entity { #[cfg(feature = "auth")] Entity::Auth => { res.extend(vec!["proto/auth/auth.proto"]); - }, + } #[cfg(feature = "profile")] Entity::Profile => { res.extend(vec!["proto/profile/profile.proto"]); @@ -81,7 +81,7 @@ fn build_proto(package: &str, entity: Entity) { .compile_protos(&entity.protos(), include_paths).unwrap(); } -#[cfg(all(feature = "serde", any(feature = "auth",feature = "profile")))] +#[cfg(all(feature = "serde", any(feature = "auth", feature = "profile")))] fn add_serde(config: tonic_build::Builder) -> tonic_build::Builder { config.type_attribute( ".", |