Skip to content

Commit 5a02d0e

Browse files
committed
refactor: adds import
1 parent a5cb81f commit 5a02d0e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • crates/facet-common/src/auth

crates/facet-common/src/auth/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ mod tests;
1616
mod mem;
1717
mod postgres;
1818

19+
use bon::Builder;
1920
use crate::context::ParticipantContext;
2021
use regex::Regex;
2122
use thiserror::Error;
@@ -30,7 +31,7 @@ pub use postgres::PostgresAuthorizationEvaluator;
3031
/// * `scope` - The scope or domain of the operation, for example, a contract agreement.
3132
/// * `action` - The specific action to be performed, such as "protocol::read", "write", or "protocol::delete".
3233
/// * `resource` - The resource on which the action will be performed.
33-
#[derive(bon::Builder, Debug, Clone)]
34+
#[derive(Builder, Debug, Clone)]
3435
pub struct Operation {
3536
#[builder(into)]
3637
pub scope: String,

0 commit comments

Comments
 (0)