Repository navigation
Releases
Releases · gilcierweb/faker-rust
v0.1.1
[0.1.1] - 2026-11-20
Added
- Full Ruby Faker gem v3.6.1 source parity: all 1197 public class methods from the gem
source are now present in Rust, including 58 previously undocumented source-only methods
andQuote.fortune_cookie. - Complete documented API: all 1144 gem-documented methods are implemented and mapped,
with 0 unmapped modules. - Method-name aliases for gem parity:
tome,postcode,zip,middle_name,
door_count,engine_size,kilometrage,south_african_id_number,colorand
adjectivere-exported so legacy gem names resolve in Rust. - New parity generators: 235 locale-backed generators, 24 Drone specification
generators, ISMN/ISSN/composite barcodes, structured and stateful gem generators,
algorithmic generators across 16 modules, and company, identifier and OmniAuth
generators. - Configured-locale resolution: generators now read data through
FakerConfig::locale(), so setting a locale changes generated output; unknown locales
fall back to English. - Function-level test coverage: all 1466 public functions (including re-export
aliases) are referenced by tests; added regression tests for 18 previously untested
modules and seeded determinism. - Expanded examples: module-level coverage for all 260 public modules, a smoke
example for 60 uncovered generators, and a localization example. All 29 examples
run successfully. - locale YAML load test: a test asserts that every YAML file loads with the Rust
parser.
Changed
- Rust 2024 edition, MSRV 1.89: the minimum supported Rust version was raised to
1.89 becauserust-i18n4 andserde-saphyrrequire it. - Dependencies: migrated
rand0.8 to 0.9, replaced unmaintainedchronowith
time0.3, replaced deprecatedserde_yamlwithserde-saphyr, and updated
rust-i18nto 4.2.4. - Locale engine refactor: removed roughly 537 dead extract/resolve functions,
unified placeholder depth limits, unified singular/plural key bridging, and paired
Rust fetch keys with the actual gem YAML paths. - Generator cleanup: deduplicated
crypto_coinintocryptore-exports, merged
driving_licenceintodriving_license, and wired orphaned locale data in fantasy,
locations and TV shows modules. - Documentation: adapted all generated docs from Ruby to Rust syntax, corrected
module paths, reserved-keyword calls (r#type,r#move), and per-module arities;
relabeled illustrative Ruby output astext/rubyand normalized URL artifacts.
All 1116 distinct Rust doc calls are compile-checked. - CLI version bumped to 0.1.1 and installation snippets updated accordingly.
Fixed
- Locale placeholder resolution now terminates on cycles, stops rewriting underscores
in key extraction, resolves scalar placeholder values, and falls through to alternate
lookup cases when a wrapper lacks a match. - Corrected generator bugs:
numerifyallows zero in non-leading positions,
letterifysamples a distinct letter for each?, EAN/UPC check-digit weighting,
inclusiverand_range/rand_range_i64/rand_in_range,number::betweenwith
negative ranges, panic-safemac_addressprefix parsing, structurally valid GB IBAN
check digits, UK DVLA driving-licence format, and fixed-width fields after the
inclusiverand_rangechange. airport::nameandiatanow honor the requiredsizeandregionarguments.- Internet HTTP generators restore base64 padding to a multiple of four.
Security
- Patched
crossbeam-epochto 0.9.20 to address RUSTSEC-2026-0204.
Full Changelog: https://github.com/gilcierweb/faker-rust/commits/v0.1.0
v0.1.0
Full Changelog: https://github.com/gilcierweb/faker-rust/commits/v0.1.0