diff options
| author | mo khan <mo@mokhan.ca> | 2025-07-16 08:43:10 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-07-16 08:43:10 -0600 |
| commit | de1f82b30f64a7da1ae16e0b28f1a04475e217d7 (patch) | |
| tree | 1fb516f8c6c54a7135946417e894e440d50d1dbb /src/bin | |
| parent | 2f55a5c8ac137046bc54a57dba33f6887d4ab461 (diff) | |
refactor: move cedar code into a separate module
Diffstat (limited to 'src/bin')
| -rw-r--r-- | src/bin/cli.rs | 8 |
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?; } } |
