Raise type_limit_length and explain

This commit is contained in:
Richard Feldman 2019-11-18 08:10:00 -05:00
parent 68c63a070a
commit ecb495a4e2

View file

@ -1,4 +1,12 @@
#![type_length_limit = "20932125"]
// Both of these limits are needed only for parser, and only for release builds.
// The parser functions that use #[cfg(not(debug_assertions))] are the
// ones that need this. They make builds take a lot longer, but they are more
// efficient than the alternative implementations we use in development.
//
// See https://bodil.lol/parser-combinators for more information; the parser
// is based on her design.
#![type_length_limit = "4343503439"]
#![recursion_limit = "128"]
pub mod can;
pub mod collections;