signatory.rs 351 B

123456789101112131415
  1. #[cfg(not(target_arch = "wasm32"))]
  2. mod cli;
  3. fn main() {
  4. #[cfg(target_arch = "wasm32")]
  5. println!("Not supported in wasm32");
  6. #[cfg(not(target_arch = "wasm32"))]
  7. {
  8. use tokio::runtime::Runtime;
  9. let rt = Runtime::new().unwrap();
  10. rt.block_on(async {
  11. cli::cli_main().await.unwrap();
  12. });
  13. }
  14. }