From 842652abe5dafd3443b06852900633f331f88d8b Mon Sep 17 00:00:00 2001 From: Lucas Fernandes Nogueira Date: Tue, 22 Jun 2021 10:47:45 -0300 Subject: [PATCH] chore(deps): update to wry 0.10 (#2041) * chore(deps): update to wry 0.10 * fix: cli format --- Cargo.toml | 3 --- core/tauri-runtime-wry/Cargo.toml | 2 +- tooling/cli.js/test/jest/__tests__/template.spec.js | 5 +---- 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index fa28d9daa..09744fe89 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,9 +24,6 @@ members = [ "examples/updater/src-tauri", ] -[patch.crates-io] -tao = { git = "https://github.com/tauri-apps/tao", rev = "01fc43b05ea41463d512c0e3497971edc543ac9d" } - # default to small, optimized workspace release binaries [profile.release] panic = "abort" diff --git a/core/tauri-runtime-wry/Cargo.toml b/core/tauri-runtime-wry/Cargo.toml index fead0ae52..e3d4ac67d 100644 --- a/core/tauri-runtime-wry/Cargo.toml +++ b/core/tauri-runtime-wry/Cargo.toml @@ -12,7 +12,7 @@ exclude = [ ".license_template", "CHANGELOG.md", "/target" ] readme = "README.md" [dependencies] -wry = { git = "https://github.com/tauri-apps/wry", rev = "6a1475ff76cbdd699df9329ab8e2181c2a794c96", default-features = false, features = [ "file-drop", "protocol", "win32" ] } +wry = { version = "0.10", default-features = false, features = [ "file-drop", "protocol", "win32" ] } tauri-runtime = { version = "0.1.1", path = "../tauri-runtime" } tauri-utils = { version = "1.0.0-beta.0", path = "../tauri-utils" } uuid = { version = "0.8.2", features = [ "v4" ] } diff --git a/tooling/cli.js/test/jest/__tests__/template.spec.js b/tooling/cli.js/test/jest/__tests__/template.spec.js index edfc9c671..b66d2b28b 100644 --- a/tooling/cli.js/test/jest/__tests__/template.spec.js +++ b/tooling/cli.js/test/jest/__tests__/template.spec.js @@ -25,10 +25,7 @@ describe('[CLI] cli.js template', () => { const manifestPath = resolve(tauriFixturePath, 'Cargo.toml') const manifestFile = readFileSync(manifestPath).toString() - writeFileSync( - manifestPath, - `workspace = { }\n[patch.crates-io]\ntao = { git = "https://github.com/tauri-apps/tao", rev = "01fc43b05ea41463d512c0e3497971edc543ac9d" }\n\n${manifestFile}` - ) + writeFileSync(manifestPath, `workspace = { }\n${manifestFile}`) const { promise: buildPromise } = await build() await buildPromise