Skip to content

Commit

Permalink
🎉 2.0.0-rc.5
Browse files Browse the repository at this point in the history
  • Loading branch information
oscartbeaumont committed May 1, 2024
1 parent 9dd8dca commit 2e95eef
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 91 deletions.
106 changes: 31 additions & 75 deletions Cargo.lock

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

6 changes: 3 additions & 3 deletions Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "tauri-specta"
description = "Completely typesafe Tauri commands"
version = "2.0.0-rc.4"
version = "2.0.0-rc.5"
authors = ["Oscar Beaumont <[email protected]>"]
edition = "2021"
license = "MIT"
Expand All @@ -23,11 +23,11 @@ typescript = ["specta/typescript", "specta/js_doc"]
[dependencies]
# Public
specta = { version = "=2.0.0-rc.11", features = ["function"] }
tauri-specta-macros = { version = "=2.0.0-rc.4", path = "./macros" }
tauri-specta-macros = { version = "=2.0.0-rc.5", path = "./macros" }
serde = "1"
serde_json = "1"
thiserror = "1"
tauri = { version = "=2.0.0-beta.16", features = ["specta"] }
tauri = { version = "=2.0.0-beta.17", features = ["specta"] }

# Private
heck = "0.5.0"
Expand Down
12 changes: 2 additions & 10 deletions docs/v2.md
Expand Up @@ -7,18 +7,10 @@
>
> However, it's safe to use as long as you lock your versions.
> [!WARNING]
> Until [tauri-apps/tauri #9392](https://github.com/tauri-apps/tauri/pull/9392) is released, you must use the following in your `Cargo.toml` (if your using a Cargo workspace use the root `Cargo.toml`):
> ```toml
> [patch.crates-io]
> tauri = { git = "https://github.com/tauri-apps/tauri", rev = "3f0805488506e013e15cfb3cc1cfc8c2c5f84bd2" }
> tauri-specta = { git = "https://github.com/oscartbeaumont/tauri-specta", rev = "10ceb8716def4c7337e36ed8b8d974c1aefd4aab" }
> ```
```bash
cargo add tauri@=2.0.0-beta.16
cargo add tauri@=2.0.0-beta.17
cargo add specta@=2.0.0-rc.11
cargo add tauri-specta@=2.0.0-rc.4 --features javascript,typescript
cargo add tauri-specta@=2.0.0-rc.5 --features javascript,typescript
```

## Adding Specta to custom types
Expand Down
2 changes: 1 addition & 1 deletion examples/custom-plugin/app/src-tauri/Cargo.toml
Expand Up @@ -11,7 +11,7 @@ edition = "2021"
tauri-build = { version = "2.0.0-beta.13", features = [] }

[dependencies]
tauri = { version = "=2.0.0-beta.16", features = [] }
tauri = { version = "=2.0.0-beta.17", features = [] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
tauri-plugin-specta-example = { path = "../../plugin" }
Expand Down
2 changes: 1 addition & 1 deletion examples/custom-plugin/plugin/Cargo.toml
Expand Up @@ -11,5 +11,5 @@ tauri-plugin = { version = "=2.0.0-beta.13", features = ["build"] }
rand = "0.8.5"
serde = "1"
specta = "=2.0.0-rc.11"
tauri = "=2.0.0-beta.16"
tauri = "=2.0.0-beta.17"
tauri-specta = { path = "../../../", features = ["typescript"] }
2 changes: 1 addition & 1 deletion macros/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "tauri-specta-macros"
description = "Completely typesafe Tauri commands"
version = "2.0.0-rc.4"
version = "2.0.0-rc.5"
authors = ["Oscar Beaumont <[email protected]>"]
edition = "2021"
license = "MIT"
Expand Down

0 comments on commit 2e95eef

Please sign in to comment.