Nathan.fooo fed9d43fc5
Upgrade Rust edition (Do not merge into 0.9.2 version) (#7925)
* chore: compile

* chore: bump rust edition

* chore: bump rust tool chain version

* chore: fix test

* chore: fmt

* chore: build target

* chore: clippy

* chore: fmt
2025-05-14 10:26:59 +08:00

24 lines
734 B
Rust

fn main() {
#[cfg(feature = "dart")]
{
flowy_codegen::protobuf_file::dart_gen(env!("CARGO_PKG_NAME"));
flowy_codegen::dart_event::r#gen(env!("CARGO_PKG_NAME"));
}
// #[cfg(feature = "ts")]
// {
// flowy_codegen::ts_event::gen(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::Tauri,
// );
// flowy_codegen::ts_event::gen(env!("CARGO_PKG_NAME"), flowy_codegen::Project::TauriApp);
// flowy_codegen::protobuf_file::ts_gen(
// env!("CARGO_PKG_NAME"),
// env!("CARGO_PKG_NAME"),
// flowy_codegen::Project::TauriApp,
// );
// }
}