Skip to content

Commit

Permalink
Merge pull request #82 from spiralover/refactor/app
Browse files Browse the repository at this point in the history
fix(enum): database feature should be "feat-database"
  • Loading branch information
Ahmard authored Nov 9, 2024
2 parents 41990d1 + 820b3c2 commit cc93abb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "medullah-web"
version = "0.21.1"
version = "0.21.2"
edition = "2021"
license = "MIT"
description = "Micro-Framework Based on Ntex"
Expand Down
2 changes: 1 addition & 1 deletion src/macros/enum_generate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ macro_rules! generate_enum {
medullah_web::impl_enum_common_traits!($enum_name);

// Conditional trait implementation for Diesel if the 'database' feature is enabled
#[cfg(feature = "database")]
#[cfg(feature = "feat-database")]
medullah_web::impl_enum_diesel_traits!($enum_name);
};
}

0 comments on commit cc93abb

Please sign in to comment.