Skip to content

Commit

Permalink
Upgrade to Tauri 2.0.0-rc.0
Browse files Browse the repository at this point in the history
  • Loading branch information
oscartbeaumont committed Aug 2, 2024
1 parent 5a79b9d commit 826c9f6
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 28 deletions.
32 changes: 16 additions & 16 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ todo = { level = "warn", priority = -1 }
panic_in_result_fn = { level = "warn", priority = -1 }

[workspace.dependencies]
tauri = { version = "=2.0.0-beta.25" }
tauri = { version = "=2.0.0-rc.0" }
specta = { version = "=2.0.0-rc.19" }
specta-typescript = { version = "0.0.6" }
specta-jsdoc = { version = "0.0.6" }
Expand Down
2 changes: 1 addition & 1 deletion examples/app/src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ rust-version = "1.57"
publish = false

[build-dependencies]
tauri-build = { version = "2.0.0-beta.18", features = [] }
tauri-build = { version = "=2.0.0-rc.0", features = [] }

[dependencies]
serde_json = "1.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/app/src-tauri/capabilities/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
"identifier": "main-capability",
"description": "Capability for the main window",
"windows": ["main"],
"permissions": ["event:default"]
"permissions": ["core:event:default"]
}
2 changes: 1 addition & 1 deletion examples/custom-plugin/app/src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ repository = ""
edition = "2021"

[build-dependencies]
tauri-build = { version = "2.0.0-beta.18", features = [] }
tauri-build = { version = "=2.0.0-rc.0", features = [] }

[dependencies]
tauri = { workspace = true, features = [] }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
"identifier": "main-capability",
"description": "Capability for the main window",
"windows": ["main"],
"permissions": ["event:default", "specta-example:allow-add-numbers"]
"permissions": ["core:event:default", "specta-example:allow-add-numbers"]
}
2 changes: 1 addition & 1 deletion examples/custom-plugin/plugin/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ edition = "2021"
links = "tauri-plugin-specta-example"

[build-dependencies]
tauri-plugin = { version = "2.0.0-beta.18", features = ["build"] }
tauri-plugin = { version = "=2.0.0-rc.0", features = ["build"] }

[dependencies]
rand = "0.8.5"
Expand Down
6 changes: 1 addition & 5 deletions src/event.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
use std::{
borrow::Cow,
collections::{BTreeSet, HashMap},
sync::RwLock,
};
use std::{borrow::Cow, collections::HashMap, sync::RwLock};

use serde::{de::DeserializeOwned, Serialize};
use specta::{NamedType, SpectaID};
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
//!
//! ```sh
//! # Always required
//! cargo add tauri@=2.0.0-beta.25 specta@=2.0.0-rc.19
//! cargo add tauri@=2.0.0-rc.0 specta@=2.0.0-rc.19
//!
//! # Typescript
//! cargo add [email protected]
Expand Down

0 comments on commit 826c9f6

Please sign in to comment.