فهرست منبع

chore(deps): update to wry 0.10 (#2041)

* chore(deps): update to wry 0.10

* fix: cli format
Lucas Fernandes Nogueira 4 سال پیش
والد
کامیت
842652abe5
3فایلهای تغییر یافته به همراه2 افزوده شده و 8 حذف شده
  1. 0 3
      Cargo.toml
  2. 1 1
      core/tauri-runtime-wry/Cargo.toml
  3. 1 4
      tooling/cli.js/test/jest/__tests__/template.spec.js

+ 0 - 3
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"

+ 1 - 1
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" ] }

+ 1 - 4
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