summaryrefslogtreecommitdiff
path: root/src/bin/cli.rs
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-07-16 08:43:10 -0600
committermo khan <mo@mokhan.ca>2025-07-16 08:43:10 -0600
commitde1f82b30f64a7da1ae16e0b28f1a04475e217d7 (patch)
tree1fb516f8c6c54a7135946417e894e440d50d1dbb /src/bin/cli.rs
parent2f55a5c8ac137046bc54a57dba33f6887d4ab461 (diff)
refactor: move cedar code into a separate module
Diffstat (limited to 'src/bin/cli.rs')
-rw-r--r--src/bin/cli.rs8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/bin/cli.rs b/src/bin/cli.rs
index 78aa1ba1..5bc118b7 100644
--- a/src/bin/cli.rs
+++ b/src/bin/cli.rs
@@ -84,9 +84,11 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
.init();
tracing::info!(address = %addr, "Starting");
- authzd::authorization::Server::new(authzd::authorization::CedarAuthorizer::default())?
- .serve(addr.parse().unwrap())
- .await?;
+ authzd::authorization::Server::new(
+ authzd::authorization::cedar::CedarAuthorizer::default(),
+ )?
+ .serve(addr.parse().unwrap())
+ .await?;
}
}