@@ -20,8 +20,8 @@ rustdoc-args = ["--cfg", "docsrs"]
2020[features ]
2121default = []
2222derive = [" dep:tauri-specta-macros" ]
23- javascript = [" dep:specta-typescript" ]
24- typescript = [" dep:specta-typescript" ]
23+ javascript = [" dep:specta-typescript" , " dep:specta-tags " ]
24+ typescript = [" dep:specta-typescript" , " dep:specta-tags " ]
2525
2626[lints ]
2727workspace = true
@@ -38,6 +38,8 @@ tauri = { workspace = true, features = ["specta"] }
3838
3939# Private
4040heck = " 0.5"
41+ specta-serde = { workspace = true }
42+ specta-tags = { workspace = true , optional = true }
4143
4244[workspace ]
4345members = [
@@ -65,13 +67,13 @@ tauri-build = { version = "2" }
6567tauri-plugin = { version = " 2" }
6668specta = { version = " =2.0.0-rc.23" , features = [" derive" ] }
6769specta-typescript = { version = " 0.0.10" }
70+ specta-serde = { version = " 0.0.10" }
71+ specta-tags = { version = " 0.0.0" }
6872
69- # TODO: Drop patches
70- [patch .crates-io ]
71- specta = { git = " https://github.com/oscartbeaumont/specta" , rev = " 09878718731efefd74329b593b29305800906e60" }
72- specta-typescript = { git = " https://github.com/oscartbeaumont/specta" , rev = " 09878718731efefd74329b593b29305800906e60" }
73- specta-serde = { git = " https://github.com/oscartbeaumont/specta" , rev = " 09878718731efefd74329b593b29305800906e60" }
7473
75- # specta = { path = "/Users/oscar/Desktop/specta17/specta" }
76- # specta-typescript = { path = "/Users/oscar/Desktop/specta17/specta-typescript" }
77- # specta-serde = { path = "/Users/oscar/Desktop/specta17/specta-serde" }
74+ # TODO: remove these once released as `.rc-24`
75+ [patch .crates-io ]
76+ specta = { git = " https://github.com/specta-rs/specta" , rev = " 2e769e745686e37b83f7240f2def4360e8113713" }
77+ specta-typescript = { git = " https://github.com/specta-rs/specta" , rev = " 2e769e745686e37b83f7240f2def4360e8113713" }
78+ specta-serde = { git = " https://github.com/specta-rs/specta" , rev = " 2e769e745686e37b83f7240f2def4360e8113713" }
79+ specta-tags = { git = " https://github.com/specta-rs/specta" , rev = " 2e769e745686e37b83f7240f2def4360e8113713" }
0 commit comments