From cfa98fa10484e55923497f3cc21edf7418667c76 Mon Sep 17 00:00:00 2001 From: Oscar Beaumont Date: Wed, 31 Jul 2024 22:17:05 +0800 Subject: [PATCH] reexport only `DataType` for backwards compat --- specta/src/lib.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/specta/src/lib.rs b/specta/src/lib.rs index 3d7a2bf..db592d0 100644 --- a/specta/src/lib.rs +++ b/specta/src/lib.rs @@ -33,3 +33,7 @@ pub use specta_macros::Type; #[cfg(feature = "function")] #[cfg_attr(docsrs, doc(cfg(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. +#[doc(hidden)] +pub use datatype::DataType;