Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
feat: support rust reqwest code generation (#4697)
Kumar Shivendu4884a84befd9
diff --git a/packages/hoppscotch-common/package.json b/packages/hoppscotch-common/package.jsonindex 24ec515cb..a6f478d7d 100644--- a/packages/hoppscotch-common/package.json+++ b/packages/hoppscotch-common/package.json@@ -36,7 +36,7 @@"@codemirror/view": "6.25.1","@hoppscotch/codemirror-lang-graphql": "workspace:^","@hoppscotch/data": "workspace:^",- "@hoppscotch/httpsnippet": "3.0.6",+ "@hoppscotch/httpsnippet": "3.0.7","@hoppscotch/js-sandbox": "workspace:^","@hoppscotch/ui": "0.2.2","@hoppscotch/vue-toasted": "0.1.0",diff --git a/packages/hoppscotch-common/src/helpers/new-codegen/index.ts b/packages/hoppscotch-common/src/helpers/new-codegen/index.tsindex 3edaa58a4..43d64951b 100644--- a/packages/hoppscotch-common/src/helpers/new-codegen/index.ts+++ b/packages/hoppscotch-common/src/helpers/new-codegen/index.ts@@ -156,6 +156,12 @@ export const CodegenDefinitions = [mode: "native",caption: "Ruby - Ruby Native",},+ {+ name: "rust-reqwest",+ lang: "rust",+ mode: "reqwest",+ caption: "Rust - Reqwest",+ },{name: "shell-curl",lang: "shell",diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 297850b07..2030f99ec 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -500,8 +500,8 @@ importers:specifier: workspace:^version: link:../hoppscotch-data'@hoppscotch/httpsnippet':- specifier: 3.0.6- version: 3.0.6+ specifier: 3.0.7+ version: 3.0.7'@hoppscotch/js-sandbox':specifier: workspace:^version: link:../hoppscotch-js-sandbox@@ -3768,8 +3768,8 @@ packages:peerDependencies:graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0- '@hoppscotch/[email protected]':- resolution: {integrity: sha512-W42cXJWrPvydwImgHZAV6s60fKouQ9TeTX/vzXqjBuszccrPywOJaPUlBjMe26Xe+5xEQccjlGaVaxSVJu9nXw==}+ '@hoppscotch/[email protected]':+ resolution: {integrity: sha512-A7uoYLmkdjekFadnooOjpplFOIr0yHtY/wG63uoTbvL0hoEYH22fDQlJeYIlZe1kdv4q+xjnHj9VgdZQzMbauA==}engines: {node: '^14.19.1 || ^16.14.2 || ^18.0.0 '}hasBin: true@@ -7998,9 +7998,8 @@ packages:engines: {node: '>=0.4.7'}hasBin: true- resolution: {integrity: sha512-Oqluz6zhGX8cyRaTQlFMPw80bSJVG2x/cFb8ZPhUILGgHka9SsokCCOQgpveePerqidZOrT14ipqfJb7ILcW5Q==}- engines: {node: '>=4'}+ resolution: {integrity: sha512-dher7nFSx+Ef6OoqVveLClh8itAR3vd8Qx70Lh/hEgP1iGeARAolbci7Y8JBrHIYgFCT6xRdvvL16AR9Zh07Dw==}resolution: {integrity: sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==}@@ -15393,13 +15392,13 @@ snapshots:dependencies:graphql: 16.9.0- '@hoppscotch/[email protected]':+ '@hoppscotch/[email protected]':dependencies:ajv: 6.12.3chalk: 4.1.2event-stream: 4.0.1form-data: 4.0.0- har-schema: 2.0.0+ har-validator-compiled: 1.0.0stringify-object: 3.3.0yargs: 17.7.2@@ -21026,7 +21025,7 @@ snapshots:optionalDependencies:uglify-js: 3.19.3- [email protected]: {}+ [email protected]: {}