diff --git a/.cargo/config.toml b/.cargo/config.toml index 085f3158..17380505 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,9 +1,9 @@ +[build] +rustflags = ["--cfg", "tokio_unstable"] + # Windows has stack overflows when calling from Tauri, so we increase the default stack size used by the compiler [target.'cfg(windows)'] -rustflags = ["-C", "link-args=/STACK:16777220", "--cfg", "tokio_unstable"] +rustflags = ["--cfg", "tokio_unstable", "-C", "link-args=/STACK:16777220"] [target.x86_64-pc-windows-msvc] linker = "rust-lld" - -[build] -rustflags = ["--cfg", "tokio_unstable"] diff --git a/.editorconfig b/.editorconfig index 5cf88b9b..0216e875 100644 --- a/.editorconfig +++ b/.editorconfig @@ -13,13 +13,13 @@ max_line_length = 100 indent_size = 2 max_line_length = off -[*.toml] -indent_size = 2 - -[*.json] +[*.{toml,json}] indent_size = 2 # YAML requires space indentation by spec [*.{yml,yaml}] indent_size = 2 indent_style = space + +[*.rs] +indent_style = space diff --git a/.github/instructions/i18n-convert.instructions.md b/.github/instructions/i18n-convert.instructions.md new file mode 100644 index 00000000..44a98ce4 --- /dev/null +++ b/.github/instructions/i18n-convert.instructions.md @@ -0,0 +1,71 @@ +--- +applyTo: '**/*.vue' +--- + +You are given a Nuxt/Vue single-file component (.vue). Your task is to convert every hard-coded natural-language string in the