We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents dfc1d32 + 86e03dd commit 0120987Copy full SHA for 0120987
src/lib.rs
@@ -1,5 +1,10 @@
1
#![allow(clippy::wrong_self_convention)]
2
3
+#[cfg(not(any(feature = "json", feature = "js")))]
4
+compile_error!(
5
+ "Either the \"json\" or \"js\" feature must be enabled for tsify to function properly"
6
+);
7
+
8
#[cfg(all(feature = "json", not(feature = "js")))]
9
pub use gloo_utils::format::JsValueSerdeExt;
10
#[cfg(feature = "js")]
0 commit comments