From 99265c8774754686a6e31d4b0d0f2003e9b73095 Mon Sep 17 00:00:00 2001 From: chrysn Date: Wed, 22 Apr 2020 14:21:16 +0200 Subject: [PATCH] Increase recursion limit Changes[1] to the Rust standard library are affecting[2] the nesting size of types to the point where typed-html can not be built on nightly. This resolves the issue by increasing the acceptable recursion depth for the crate. [1]: https://github.com/rust-lang/rust/pull/70896 [2]: https://github.com/rust-lang/rust/issues/71359 Closes: https://github.com/bodil/typed-html/issues/112 --- typed-html/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typed-html/src/lib.rs b/typed-html/src/lib.rs index de9a23b..b3e7d5d 100644 --- a/typed-html/src/lib.rs +++ b/typed-html/src/lib.rs @@ -1,4 +1,4 @@ -#![recursion_limit = "128"] +#![recursion_limit = "256"] //! This crate provides the `html!` macro for building HTML documents inside your //! Rust code using roughly [JSX] compatible syntax. //!