Allow true/false as the name in a MetaNameValue
diff --git a/src/attr.rs b/src/attr.rs
index a07fa77..449e76e 100644
--- a/src/attr.rs
+++ b/src/attr.rs
@@ -618,7 +618,7 @@
         fn parse(input: ParseStream) -> Result<Self> {
             let ahead = input.fork();
 
-            if ahead.peek(Lit) {
+            if ahead.peek(Lit) && !(ahead.peek(LitBool) && ahead.peek2(Token![=])) {
                 input.parse().map(NestedMeta::Literal)
             } else if ahead.call(Ident::parse_any).is_ok() {
                 input.parse().map(NestedMeta::Meta)