diff --git a/.gitmodules b/.gitmodules index 5f3fa6db..20784d95 100644 --- a/.gitmodules +++ b/.gitmodules @@ -4,3 +4,6 @@ [submodule "packages/tauri"] path = packages/tauri url = https://github.com/readest/tauri.git +[submodule "packages/tauri-plugins"] + path = packages/tauri-plugins + url = https://github.com/readest/tauri-plugins-workspace.git diff --git a/Cargo.lock b/Cargo.lock index 8f075412..660bf05b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5416,8 +5416,6 @@ dependencies = [ [[package]] name = "tauri-plugin-deep-link" version = "2.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab261eb006db10ab478e3fbb5a4e2692df3f7eb3e28300ee2b64428979167ed0" dependencies = [ "dunce", "rust-ini", diff --git a/Cargo.toml b/Cargo.toml index 401758f1..be75a10d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,9 +2,22 @@ members = [ "apps/readest-app/src-tauri", "packages/tauri/crates/tauri", + "packages/tauri-plugins/plugins/deep-link", ] resolver = "2" +[workspace.dependencies] +serde = { version = "1", features = ["derive"] } +tracing = "0.1" +log = "0.4" +tauri = { version = "2.6", default-features = false } +tauri-build = "2.3" +tauri-plugin = "2.3" +tauri-utils = "2.5" +serde_json = "1" +thiserror = "2" +url = "2" + [workspace.package] authors = ["Bilingify LLC"] homepage = "https://readest.com" @@ -15,4 +28,5 @@ edition = "2021" rust-version = "1.77.2" [patch.crates-io] -tauri = { path = "packages/tauri/crates/tauri" } \ No newline at end of file +tauri = { path = "packages/tauri/crates/tauri" } +tauri-plugin-deep-link = { path = "packages/tauri-plugins/plugins/deep-link" } \ No newline at end of file diff --git a/packages/tauri-plugins b/packages/tauri-plugins new file mode 160000 index 00000000..f1202ecf --- /dev/null +++ b/packages/tauri-plugins @@ -0,0 +1 @@ +Subproject commit f1202ecfffa47d00cfab5fab8859da323f72fdeb