onig
Rust-Onig is a set of Rust bindings for the Oniguruma regular expression library. Oniguruma is a modern regex library with support for multiple character encodings and regex syntaxes.
6.5.3
55M downloads/mo
#1156 most downloaded on crates.io
iwillspeak/rust-onig
What this package is like to depend on
Last release 3 months ago
27 Apr 2026
Release timing varies
gaps range from 3 weeks to 2.8 years
Rarely documented
notes for 9 of 56 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
56 releases · first in 2016
2 releases in the last 12 months
see the full history below
Release timeline
56 releases · Jan 2016 to Apr 2026Releases
latest 56-
6.5.327 Apr 2026Release notes
Open source →What's Changed
- Fix build failure on BSD platforms due to missing alloca.h by @Copilot in #225
- Bump patch release: onig 6.5.3, onig_sys 69.9.3 by @Copilot in #226
Full Changelog: v6.5.2...v6.5.3
-
6.5.226 Apr 2026Release notes
Open source →What's Changed
- Fixup Windows Build by @iwillspeak in #200
- Update bindgen and remove all warnings by @Keats in #211
- Fix documentation link of
onig_syscrate on crates.io is 404 by @rhysd in #209 - onig_sys(build.rs): Define HAVE_ALLOCA_H to avoid implicit declaration warnings for alloca. by @luqmana in #217
- Fix heap-buffer-overflow in Region::reserve() via checked usize→c_int cast by @Copilot in #221
- Fix build failure on musl targets (e.g. Alpine Linux) by @Copilot in #220
- Bump onig to 6.5.2 and onig_sys to 69.9.2 by @Copilot in #223
New Contributors
- @rhysd made their first contribution in #209
- @luqmana made their first contribution in #217
- @Copilot made their first contribution in #221
Full Changelog: V6.5.1...v6.5.2
Release notes
Open source →- Fixup Windows Build
- Update bindgen and remove all warnings
- Fix documentation link of
onig_syscrate on crates.io - Fix heap-buffer-overflow in
Region::reserve()via checkedusize→c_intcast - Fix build failure on musl targets (e.g. Alpine Linux)
-
6.5.123 May 2025Release notes
Open source → -
6.5.023 May 2025Release notes
Open source →What's Changed
- Try to Match Whole String for
is_matchby @iwillspeak in #172 - Bump the bindgen version by @lu-zero in #174
- fix: bump oniguruma by @ryanabx in #192
- Upgrade to bitflags v2 by @lopopolo in #181
- small fixes, use https by @szabgab in #179
- Use https for repository link by @alexanderkjall in #184
- use https for documentation and repo links by @alexanderkjall in #185
- Updates by @Keats in #197
- Create crate-publish.yml by @iwillspeak in #199
- Update crate-publish.yml by @iwillspeak in #201
New Contributors
- @lu-zero made their first contribution in #174
- @ryanabx made their first contribution in #192
- @szabgab made their first contribution in #179
- @alexanderkjall made their first contribution in #184
Full Changelog: v6.4.0...V6.5.0
- Try to Match Whole String for
-
6.4.009 Aug 2022Release notes
Open source →This release contains two feature requests from @lopopolo. We no longer rely on the
olderlazy_staticcrate for shared mutex initialisation, and the crates have been bumped
to 2018.What's Changed
- Replace
lazy_staticwithonce_cellby @lopopolo in #169 - Upgrade to 2018 edition by @lopopolo in #170
Full Changelog: v6.3.2...v6.4.0
- Replace
-
6.3.202 Jul 2022Release notes
Open source →Bump the Oniguruma version to 6.9.8. Thanks to @Techcable for adding
cargo:rerun-if-env-changedto
prevent unwanted rebuilds of Oniguruma.What's Changed
- Bump Onig to 6.9.7.1 Patch by @iwillspeak in #164
- README: Correct typo of RUSTONIG_DYNAMIC_LIBONIG by @Techcable in #166
- onig_sys: Add cargo:rerun-if-env-changed flags by @Techcable in #167
- Bump oniguruma Dependency by @iwillspeak in #168
New Contributors
- @Techcable made their first contribution in #166
Full Changelog: v6.3.0...v6.3.2
Release notes
Open source →- Bump Oniguruma
- Set
cargo:rerun-if-env-changedforRUSTONIGenv variables - Ensure our environment variables start with
RUSTONIG
-
6.3.122 Oct 2021Nothing published for this version
-
6.3.002 Oct 2021Release notes
Open source →- MSRV bumped to 1.50.0
- Proper support for round-tripping of syntax feature falgs, including new flags that we don't recognise yet.
- Support for the
psyntax flag.
-
6.2.009 Jun 2021Nothing published for this version
-
6.1.122 Nov 2020Release notes
Open source →- Use
repr(transparent)on structs to ensure no UB - Fix for panics when encodings mis-match
- Use
-
6.1.009 Sep 2020Release notes
Open source →- Skip empty matches only when they overlap the last match (#145)
- MSRV bumped to 1.40.0
- Add support for WASM targets to the
onig_sysbuild.
-
6.0.016 May 2020Nothing published for this version
-
5.0.008 Aug 2019Nothing published for this version
-
4.3.312 Aug 2019Nothing published for this version
-
4.3.209 Feb 2019Nothing published for this version
-
4.3.112 Jan 2019Nothing published for this version
-
4.3.012 Jan 2019Nothing published for this version
-
4.2.110 Nov 2018Nothing published for this version
-
4.2.006 Sep 2018Nothing published for this version
-
4.1.029 Jul 2018Nothing published for this version
-
4.0.128 Jul 2018Nothing published for this version
-
4.0.027 Jul 2018Nothing published for this version
-
3.2.225 Apr 2018Nothing published for this version
-
3.2.129 Mar 2018Nothing published for this version
-
3.2.024 Mar 2018Nothing published for this version
-
3.1.127 Jan 2018Nothing published for this version
-
3.1.022 Jan 2018Nothing published for this version
-
3.0.105 Jan 2018Nothing published for this version
-
3.0.019 Nov 2017Nothing published for this version
-
2.0.211 Nov 2017Nothing published for this version
-
2.0.114 Oct 2017Nothing published for this version
-
2.0.016 Sep 2017Nothing published for this version
-
1.6.105 Aug 2017Nothing published for this version
-
1.6.004 Aug 2017Nothing published for this version
-
1.5.030 Jul 2017Nothing published for this version
-
1.4.109 Jul 2017Nothing published for this version
-
1.4.005 Jul 2017Nothing published for this version
-
1.3.011 Jun 2017Nothing published for this version
-
1.2.401 Jun 2017Nothing published for this version
-
1.2.329 May 2017Nothing published for this version
-
1.2.218 Mar 2017Nothing published for this version
-
1.2.118 Mar 2017Nothing published for this version
-
1.2.010 Dec 2016Nothing published for this version
-
1.1.011 Sep 2016Nothing published for this version
-
1.0.014 Aug 2016Nothing published for this version
-
0.6.119 Jul 2016Nothing published for this version
-
0.6.030 May 2016Nothing published for this version
-
0.5.230 May 2016Nothing published for this version
-
0.5.119 May 2016Nothing published for this version
-
0.4.031 Jan 2016Nothing published for this version
-
0.3.423 Jan 2016Nothing published for this version
-
0.3.219 Jan 2016Nothing published for this version
-
0.3.116 Jan 2016Nothing published for this version
-
0.2.013 Jan 2016Nothing published for this version
-
0.1.013 Jan 2016Nothing published for this version
-
0.0.113 Jan 2016Nothing published for this version