Merge pull request #1086 from epage/verified

fix(vars): Drop unverified entries
This commit is contained in:
Ed Page 2024-08-23 14:13:13 -05:00 committed by GitHub
commit 7b6170d8e1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7730 additions and 133656 deletions

File diff suppressed because it is too large Load diff

View file

@ -166,6 +166,7 @@ fn is_always_invalid(data: &[(&str, varcon::CategorySet)]) -> bool {
fn entries() -> BTreeMap<String, varcon_core::Entry> { fn entries() -> BTreeMap<String, varcon_core::Entry> {
varcon::VARCON varcon::VARCON
.iter() .iter()
.filter(|c| c.verified)
.flat_map(|c| c.entries.iter()) .flat_map(|c| c.entries.iter())
.filter(|e| { .filter(|e| {
e.variants e.variants