fix the bitflags version for lexical-core
bitflags 1.3 (released yesterday) introduces some const fn usage
incompatible with Rust 1.41.1
@@ -31,7 +31,7 @@ include = [
alloc = []
std = ["alloc", "memchr/use_std"]
default = ["std", "lexical"]
-lexical = ["lexical-core"]
+lexical = ["lexical-core", "bitflags"]
docsrs = []
[dependencies.memchr]
@@ -42,6 +42,10 @@ default-features = false
version = "^0.7.5"
optional = true
+[dependencies.bitflags]
+version = "=1.2"
+optional = true
+
[dev-dependencies]
criterion = "0.3"
jemallocator = "^0.3"
