You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(demo_logs source): drop fakedata_generator, fix broken fake domains (#25236)
* fix(demo_logs source): drop fakedata_generator, fix broken fake domains
The fakedata_generator crate (v0.7.1) has an upstream bug: its
get_dataset() match table is missing a "tlds" arm, so gen_domain() falls
through to an empty JSON string. That fails to parse and the crate
prints "Failed getting dataset for tlds. EOF while parsing a value at
line 1 column 0" to stderr on every call, while gen_domain() returns
"<name>.Error: dataset not found" as the fake domain.
Drop the dependency (and its transitive passt dep) and inline the three
functions demo_logs actually used: gen_domain, gen_ipv4, gen_username.
Domains now look like "random.io" instead of "random.Error: dataset not
found", and stderr is quiet.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* chore(releasing): changelog fragment for demo_logs fakedata fix
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* chore(demo_logs source): drop stale comment, allow TLDs/fakedata in spelling
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* chore(demo_logs source): swap fake domain name list to unique entries
Replace the 8-word domain-name pool with fresh placeholder-style
entries so nothing in lib/fakedata derives from the fakedata_generator
crate's data.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
fallible-iterator,https://github.com/sfackler/rust-fallible-iterator,MIT OR Apache-2.0,Steven Fackler <sfackler@gmail.com>
275
274
fancy-regex,https://github.com/fancy-regex/fancy-regex,MIT,"Raph Levien <raph@google.com>, Robin Stocker <robin@nibor.org>, Keith Hall <keith.hall@available.systems>"
276
275
fastrand,https://github.com/smol-rs/fastrand,Apache-2.0 OR MIT,Stjepan Glavina <stjepang@gmail.com>
@@ -536,7 +535,6 @@ parking_lot,https://github.com/Amanieu/parking_lot,MIT OR Apache-2.0,Amanieu d'A
536
535
parking_lot_core,https://github.com/Amanieu/parking_lot,MIT OR Apache-2.0,Amanieu d'Antras <amanieu@gmail.com>
0 commit comments