main.rs 302 B

1234567891011
  1. //! `d-oauth-server` binary entrypoint.
  2. //!
  3. //! Thin bootstrap only: parse the operator CLI and map its result to a process
  4. //! exit code. All behaviour lives in the `d_oauth` library.
  5. #![forbid(unsafe_code)]
  6. #[tokio::main]
  7. async fn main() {
  8. std::process::exit(d_oauth::cli::main_entry().await);
  9. }