From a1959a89098c29c01f490cde16781eaef51e2cf8 Mon Sep 17 00:00:00 2001 From: AnthonyMichaelTDM <68485672+AnthonyMichaelTDM@users.noreply.github.com> Date: Sun, 19 May 2024 20:40:24 -0700 Subject: [PATCH] update template for latest tsync version --- create-rust-app_cli/template/.cargo/bin/tsync.rs | 2 +- create-rust-app_cli/template/.cargo/{config => config.toml} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename create-rust-app_cli/template/.cargo/{config => config.toml} (100%) diff --git a/create-rust-app_cli/template/.cargo/bin/tsync.rs b/create-rust-app_cli/template/.cargo/bin/tsync.rs index 96fbde8a..f15418ac 100644 --- a/create-rust-app_cli/template/.cargo/bin/tsync.rs +++ b/create-rust-app_cli/template/.cargo/bin/tsync.rs @@ -6,5 +6,5 @@ pub fn main() { let inputs = vec![PathBuf::from_iter([dir, "backend"])]; let output = PathBuf::from_iter([dir, "frontend/src/types/rust.d.ts"]); - tsync::generate_typescript_defs(inputs, output, false); + tsync::generate_typescript_defs(inputs, output, false, false); } diff --git a/create-rust-app_cli/template/.cargo/config b/create-rust-app_cli/template/.cargo/config.toml similarity index 100% rename from create-rust-app_cli/template/.cargo/config rename to create-rust-app_cli/template/.cargo/config.toml