logos-codegen
Create ridiculously fast Lexers
0.16.1
56M downloads/mo
#1146 most downloaded on crates.io
maciejhirsz/logos
What this package is like to depend on
Last release 6 months ago
30 Jan 2026
Release timing varies
gaps range from 8 days to 10 months
Most releases are documented
notes for 6 of 10 stable releases
Nothing withdrawn
no release was ever pulled
3 years old
10 releases · first in 2023
2 releases in the last 12 months
see the full history below
Release timeline
10 releases · Apr 2023 to Jan 2026Releases
latest 10-
0.16.130 Jan 2026Release notes
Open source →What's Changed
- Remove std usage in generated code by @robot-rover in #521
- Clarify greedy dot error message by @robot-rover in #522
- State machine codegen code example swap by @Apanatshka in #526
- Clarify codegen performance characteristics by @robot-rover in #527
- chore: fix typos in comments by @tisonkun in #528
- chore: remove unused dependency by @tisonkun in #529
- Remove duplicate Logos import from doctests in tests/lib.rs by @RoyPrinsGH in #523
- test: use trybuild for compilation tests by @tisonkun in #531
- ci: coalesce styles by @tisonkun in #533
- Require
allow_greedy = trueon skips by @robot-rover in #534 - Fix typo in logos.md subpatterns section by @ascopes in #536
- chore(version): release v0.16.1 by @jeertmans in #538
New Contributors
- @Apanatshka made their first contribution in #526
- @tisonkun made their first contribution in #528
- @RoyPrinsGH made their first contribution in #523
- @ascopes made their first contribution in #536
Full Changelog: v0.16...v0.16.1
-
0.16.007 Dec 2025Nothing published for this version
-
0.15.108 Aug 2025Release notes
Open source →It has been quite some time since the last release, and this new release contains quite nice new features, especially regarding the derive macro, thanks to the help of many contributors!
There should not be any breaking change, but please report any bug you might encounter with this new release.
Thanks again to all contributors!
What's Changed
- Fix typo in multiple lifetime error message by @414owen in #453
- Fix #[regex] monospace formatting in 4.2 Token and Regex by @l1npengtul in #455
- fix: fixed regex for string value in json examples by @pamburus in #464
- chore(ci): add rustfmt to codecov & exclude fuzz from workspace by @davidkern in #414
- chore(ci):
cargo msrvand ci by @jeertmans in #469 - chore(ci): run workflows on main by @jeertmans in #470
- fix(ci): branch name is 'master' :-) by @jeertmans in #471
- fix(docs): badge by @jeertmans in #472
- Book improvements by @fmorroni in #448
- chore(deps): bump moonrepo/setup-rust from 0 to 1 by @dependabot[bot] in #473
- book: syntax correction by @rotmh in #476
- fix(ci): do not use actions-rs's cargo action by @jeertmans in #483
- chore(ci): fix clippy error by @Shadowcat650 in #484
- chore(ci): add debug feature to ci tests by @Shadowcat650 in #485
- Graph generation by @Shadowcat650 in #477
- Mark read_byte as unsafe and add safety comments by @kevincliao in #475
- Add callbacks and priority for #[logos(skip)] by @mysteriouslyseeing in #441
- docs(calculator_example): bumps
chumskycrate from 0.9.0 to 0.10.0 by @your-diary in #474 - Add option to change error constructor by @mysteriouslyseeing in #445
- chore(lib): release v0.15.1 by @jeertmans in #494
New Contributors
- @414owen made their first contribution in #453
- @l1npengtul made their first contribution in #455
- @pamburus made their first contribution in #464
- @fmorroni made their first contribution in #448
- @rotmh made their first contribution in #476
- @Shadowcat650 made their first contribution in #484
- @kevincliao made their first contribution in #475
- @mysteriouslyseeing made their first contribution in #441
Full Changelog: v0.15...v0.15.1
-
0.15.007 Dec 2024Nothing published for this version
-
0.14.410 Dec 2024Release notes
Open source →Do to a mistake caused when versioning v0.14.3 (which was yanked on crates.io and re-published as v0.15), v0.14.2 is re-published under v0.14.4, to avoid crates selecting a version of Logos that might break their CI, due to an upgrade of the MRSV.
See #452.
-
0.14.302 Dec 2024Release notes
Open source →Important
This version was yanked as it bumped the MSRV, and we should have changed the minor (not the patch) part of the version to reflect this.
This is a small release, but it contains two important fixes:
As well as a nice new feature for callback to support returning
Result<Skip>!Moreover, the documentation has received very nice additions.
Many thanks to all the contributors!
What's Changed
- chore(deps): bump ariadne dependency by @LecrisUT in #425
- fix(book): link to common-regex from logos/attributes in book by @jonesetc in #430
- fix(lib): generate same code on big-endian platforms by @0x2a-42 in #431
- Support callbacks returning Result by @romamik in #432
- chore(deps): bump thollander/actions-comment-pull-request from 2 to 3 by @dependabot in #429
- chore(deps): bump codecov/codecov-action from 4 to 5 by @dependabot in #437
- Bump rstest to 0.23.0, the current release by @musicinmybrain in #438
- fix(lib): use precise capturing on 1.82+ by @indietyp in #435
- chore(book): add simple calculator example by @your-diary in #439
- Minor readme improvments by @tkr-sh in #442
- chore(release): bump to 0.14.3 by @jeertmans in #443
New Contributors
- @LecrisUT made their first contribution in #425
- @jonesetc made their first contribution in #430
- @0x2a-42 made their first contribution in #431
- @romamik made their first contribution in #432
- @musicinmybrain made their first contribution in #438
- @indietyp made their first contribution in #435
- @your-diary made their first contribution in #439
- @tkr-sh made their first contribution in #442
Full Changelog: v0.14.2...v0.14.3
-
0.14.218 Sep 2024Release notes
Open source →What's Changed
- chore(book): added link to Rust's reference by @CommanderStorm in #411
- feat: impl Source for T: Deref in no_std by @yjhmelody in #406
- fix(codegen/regex): allow vec growth on parse by @LeoDog896 in #405
- test: basic fuzzing by @LeoDog896 in #407
- feat(lib): add
forbid_unsafefeature to disable unsafe code by @davidkern in #413 - chore(version): release v0.14.2 by @jeertmans in #422
New Contributors
- @CommanderStorm made their first contribution in #411
- @yjhmelody made their first contribution in #406
- @davidkern made their first contribution in #413
Full Changelog: v0.14.1...v0.14.2
-
0.14.102 Aug 2024Release notes
Open source →What's Changed
- fix(doc): reset logos2 to logos by @jeertmans in #372
- chore(book): add JSON-borrowed parser example by @jeertmans in #373
- Add Rc and Arc sources by @InfiniteCoder01 in #340
- Fix unicode dot by @RustyYato in #376
- chore(docs): cleanup examples by @jeertmans in #381
- chore(lib): add debug feature by @jeertmans in #382
- Cleanup unused Source features by @kmicklas in #335
- chore(deps): bump peaceiris/actions-mdbook from 1 to 2 by @dependabot in #387
- Fix
Lexer::cloneleak and UB + tests by @Jakobeha in #390 - fix(lib): correctly handle miss for loop in loop by @lukas-code in #393
- chore(lib): remove error branch from LUT if it is unreachable by @RustyYato in #386
- fix(docs): typo by @joerivanruth in #396
- chore(docs): Adds graph debug documentation to book by @afreeland in #379
- chore: drop python linting frmo pre-commit-config by @LeoDog896 in #403
- refactor: don't use deprecated max_value() method by @LeoDog896 in #404
- chore(version): bump logos version to 0.14.1 by @jeertmans in #409
- fix(docs): change old 0.14.0 by @jeertmans in #410
New Contributors
- @InfiniteCoder01 made their first contribution in #340
- @RustyYato made their first contribution in #376
- @Jakobeha made their first contribution in #390
- @lukas-code made their first contribution in #393
- @joerivanruth made their first contribution in #396
- @afreeland made their first contribution in #379
- @LeoDog896 made their first contribution in #403
Full Changelog: v0.14...v0.14.1
-
0.14.007 Feb 2024Nothing published for this version
-
0.13.010 Apr 2023Nothing published for this version