| 
									
										
										
										
											2022-02-08 14:36:59 +08:00
										 |  |  | fn main() {
 | 
					
						
							| 
									
										
										
										
											2024-01-30 05:36:27 +08:00
										 |  |  |   #[cfg(feature = "dart")]
 | 
					
						
							|  |  |  |   flowy_codegen::protobuf_file::dart_gen(env!("CARGO_PKG_NAME"));
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   #[cfg(feature = "tauri_ts")]
 | 
					
						
							| 
									
										
										
										
											2024-04-03 19:25:54 +08:00
										 |  |  |   {
 | 
					
						
							|  |  |  |     flowy_codegen::protobuf_file::ts_gen(
 | 
					
						
							|  |  |  |       env!("CARGO_PKG_NAME"),
 | 
					
						
							|  |  |  |       env!("CARGO_PKG_NAME"),
 | 
					
						
							|  |  |  |       flowy_codegen::Project::Tauri,
 | 
					
						
							|  |  |  |     );
 | 
					
						
							|  |  |  |     flowy_codegen::protobuf_file::ts_gen(
 | 
					
						
							|  |  |  |       env!("CARGO_PKG_NAME"),
 | 
					
						
							|  |  |  |       env!("CARGO_PKG_NAME"),
 | 
					
						
							|  |  |  |       flowy_codegen::Project::TauriApp,
 | 
					
						
							|  |  |  |     );
 | 
					
						
							|  |  |  |   }
 | 
					
						
							| 
									
										
										
										
											2024-01-30 05:36:27 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  |   #[cfg(feature = "web_ts")]
 | 
					
						
							|  |  |  |   flowy_codegen::protobuf_file::ts_gen(
 | 
					
						
							|  |  |  |     env!("CARGO_PKG_NAME"),
 | 
					
						
							| 
									
										
										
										
											2024-02-04 05:50:23 +08:00
										 |  |  |     "notification",
 | 
					
						
							| 
									
										
										
										
											2024-01-30 05:36:27 +08:00
										 |  |  |     flowy_codegen::Project::Web {
 | 
					
						
							|  |  |  |       relative_path: "../../".to_string(),
 | 
					
						
							|  |  |  |     },
 | 
					
						
							|  |  |  |   );
 | 
					
						
							| 
									
										
										
										
											2022-02-08 14:36:59 +08:00
										 |  |  | }
 |