Skip to content

Commit

Permalink
feat: change feature name
Browse files Browse the repository at this point in the history
Signed-off-by: Daian YUE 🐏 <[email protected]>
  • Loading branch information
Daian YUE 🐏 committed Jan 11, 2024
1 parent 17f5289 commit 0263e72
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ typed-builder = "0.18.0"
spec = { path = "spec" }

[features]
default = [ "mockall" ]
mockall = [ "dep:mockall" ]
default = [ "test-util" ]
test-util = [ "dep:mockall" ]
serde_json = [ "dep:serde_json" ]
2 changes: 1 addition & 1 deletion src/provider/feature_provider.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ use super::ResolutionDetails;
/// vendor SDK, embed an REST client, or read flags from a local file.
///
/// See the [spec](https://openfeature.dev/specification/sections/providers).
#[cfg_attr(feature = "mockall", mockall::automock)]
#[cfg_attr(feature = "test-util", mockall::automock)]
#[async_trait]
pub trait FeatureProvider: Send + Sync + 'static {
/// The provider MAY define an initialize function which accepts the global evaluation
Expand Down

0 comments on commit 0263e72

Please sign in to comment.