Skip to content

Commit

Permalink
🎉 Release 2.0.0-rc.18
Browse files Browse the repository at this point in the history
With fixed cfg attributes.
  • Loading branch information
oscartbeaumont committed Aug 1, 2024
1 parent c783f37 commit 878aa22
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 14 deletions.
8 changes: 4 additions & 4 deletions specta-jsdoc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "specta-jsdoc"
description = "Export your Rust types to JSDoc"
version = "0.0.3"
version = "0.0.5"
authors = ["Oscar Beaumont <[email protected]>"]
edition = "2021"
license = "MIT"
Expand All @@ -22,7 +22,7 @@ default = []
workspace = true

[dependencies]
specta = { version = "=2.0.0-rc.17", path = "../specta" }
specta-typescript = { version = "=0.0.4", path = "../specta-typescript" }
specta = { version = "=2.0.0-rc.18", path = "../specta" }
specta-typescript = { version = "=0.0.5", path = "../specta-typescript" }
# TODO: Don't depend on serde
specta-serde = { version = "=0.0.4", path = "../specta-serde" }
specta-serde = { version = "=0.0.5", path = "../specta-serde" }
4 changes: 2 additions & 2 deletions specta-serde/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "specta-serde"
description = "Serde support for Specta"
version = "0.0.4"
version = "0.0.5"
authors = ["Oscar Beaumont <[email protected]>"]
edition = "2021"
license = "MIT"
Expand All @@ -19,5 +19,5 @@ rustdoc-args = ["--cfg", "docsrs"]
workspace = true

[dependencies]
specta = { version = "=2.0.0-rc.17", path = "../specta" }
specta = { version = "=2.0.0-rc.18", path = "../specta" }
thiserror = "1.0.61"
6 changes: 3 additions & 3 deletions specta-typescript/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "specta-typescript"
description = "Export your Rust types to TypeScript"
version = "0.0.4"
version = "0.0.5"
authors = ["Oscar Beaumont <[email protected]>"]
edition = "2021"
license = "MIT"
Expand All @@ -25,7 +25,7 @@ function = ["specta/function"]
workspace = true

[dependencies]
specta = { version = "=2.0.0-rc.17", path = "../specta" }
specta = { version = "=2.0.0-rc.18", path = "../specta" }
# TODO: Don't depend on serde
specta-serde = { version = "=0.0.4", path = "../specta-serde" }
specta-serde = { version = "=0.0.5", path = "../specta-serde" }
thiserror = "1.0.61"
4 changes: 2 additions & 2 deletions specta-util/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "specta-util"
description = "High-level utilities for working with Specta"
version = "0.0.4"
version = "0.0.5"
authors = ["Oscar Beaumont <[email protected]>"]
edition = "2021"
license = "MIT"
Expand All @@ -27,7 +27,7 @@ serde = []
workspace = true

[dependencies]
specta = { version = "=2.0.0-rc.17", path = "../specta" }
specta = { version = "=2.0.0-rc.18", path = "../specta" }
specta-macros = { version = "=2.0.0-rc.17", path = "../specta-macros", default-features = false, optional = true }
ctor = { version = "0.2.8", default-features = false, optional = true }
serde = "1.0.204" # TODO: Can we remove this or at least make it optional behind the `serde` flag
2 changes: 1 addition & 1 deletion specta/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "specta"
description = "Easily export your Rust types to other languages"
version = "2.0.0-rc.17"
version = "2.0.0-rc.18"
authors = ["Oscar Beaumont <[email protected]>"]
edition = "2021"
license = "MIT"
Expand Down
4 changes: 2 additions & 2 deletions specta/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ pub use language::Language;
pub use specta_macros::Type;

#[doc(inline)]
#[cfg(feature = "function")]
#[cfg_attr(docsrs, doc(cfg(feature = "function")))]
#[cfg(all(feature = "derive", feature = "function"))]
#[cfg_attr(docsrs, doc(cfg(all(feature = "derive", feature = "function"))))]
pub use specta_macros::specta;

// This existing is really a mistake but it's depended on by the Tauri alpha's so keeping it for now.
Expand Down

0 comments on commit 878aa22

Please sign in to comment.