Skip to content

Commit

Permalink
v2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
photovoltex committed Mar 15, 2024
1 parent 33d338b commit d49616f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 11 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

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

13 changes: 6 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[workspace]
members = ["tauri-interop-macro"]
package.edition = "2021"
package.version = "2.0.0-dev"
package.version = "2.0.0"
package.keywords = ["wasm", "tauri", "command", "event", "leptos"]
package.authors = ["photovoltex"]
package.repository = "https://github.com/photovoltex/tauri-interop.git"
Expand All @@ -20,8 +20,8 @@ description = "Easily connect your rust frontend and backend without writing dup
readme = "README.md"

[dependencies]
tauri-interop-macro = { path = "./tauri-interop-macro" }
#tauri-interop-macro = "2.0.0"
#tauri-interop-macro = { path = "./tauri-interop-macro" }
tauri-interop-macro = "2.0.0"

js-sys = "0.3"
serde = { version = "1.0", features = ["derive"] }
Expand All @@ -39,15 +39,14 @@ leptos = { version = "0.5", optional = true }
tauri = { version = "1.5", default-features = false, features = ["wry"] }

[target.'cfg(target_family = "wasm")'.dependencies]
tauri-interop-macro = { path = "./tauri-interop-macro", features = ["_wasm"] }
# tauri-interop-macro = { version = "2", features = [ "wasm" ] }
#tauri-interop-macro = { path = "./tauri-interop-macro", features = ["_wasm"] }
tauri-interop-macro = { version = "2.0.0", features = [ "_wasm" ] }

[target.'cfg(not(target_family = "wasm"))'.dev-dependencies]
tauri = "1.5"

[features]
# todo: remove default feature before publish
default = ["event"]
default = []
event = ["tauri-interop-macro/event"]
initial_value = ["tauri-interop-macro/initial_value"]
leptos = ["dep:leptos", "tauri-interop-macro/leptos"]
3 changes: 1 addition & 2 deletions tauri-interop-macro/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ serde = "^1.0"
tauri-interop = { path = "..", features = ["initial_value"] }

[features]
# todo: remove default feature before publish
default = [ "event" ]
default = []
event = []
leptos = []
initial_value = []
Expand Down

0 comments on commit d49616f

Please sign in to comment.