From b51a162d2240220768b8dd7dcd7e7d1e40e0352c Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 18 Dec 2024 22:24:56 +0200 Subject: [PATCH] Update Rust crate tiktoken-rs to 0.6.0 (#21900) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [tiktoken-rs](https://redirect.github.com/zurawiki/tiktoken-rs) | workspace.dependencies | minor | `0.5.9` -> `0.6.0` | --- ### Release Notes
zurawiki/tiktoken-rs (tiktoken-rs) ### [`v0.6.0`](https://redirect.github.com/zurawiki/tiktoken-rs/releases/tag/v0.6.0) [Compare Source](https://redirect.github.com/zurawiki/tiktoken-rs/compare/v0.5.9...v0.6.0) **Minor version release signifies a breaking change in 0.x** #### What's Changed - Add support for chatgpt-4o-latest by [@​Congyuwang](https://redirect.github.com/Congyuwang) in [https://github.com/zurawiki/tiktoken-rs/pull/85](https://redirect.github.com/zurawiki/tiktoken-rs/pull/85) - Refactor internals to make future updates to tiktoken easier to merge - Do not expose tiktoken internal modules and functions - Update dependencies #### New Contributors - [@​Congyuwang](https://redirect.github.com/Congyuwang) made their first contribution in [https://github.com/zurawiki/tiktoken-rs/pull/85](https://redirect.github.com/zurawiki/tiktoken-rs/pull/85) **Full Changelog**: https://github.com/zurawiki/tiktoken-rs/compare/v0.5.9...v0.6.0
--- ### Configuration 📅 **Schedule**: Branch creation - "after 3pm on Wednesday" in timezone America/New_York, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- Release Notes: - N/A Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- Cargo.lock | 14 ++++++++------ Cargo.toml | 2 +- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c7ecc52046..45aa6431b6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4429,12 +4429,13 @@ checksum = "2acce4a10f12dc2fb14a218589d4f1f62ef011b2d0cc4b3cb1bba8e94da14649" [[package]] name = "fancy-regex" -version = "0.12.0" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7493d4c459da9f84325ad297371a6b2b8a162800873a22e3b6b6512e61d18c05" +checksum = "531e46835a22af56d1e3b66f04844bed63158bc094a628bec1d321d9b4c44bf2" dependencies = [ "bit-set 0.5.3", - "regex", + "regex-automata 0.4.9", + "regex-syntax 0.8.5", ] [[package]] @@ -12956,16 +12957,17 @@ dependencies = [ [[package]] name = "tiktoken-rs" -version = "0.5.9" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c314e7ce51440f9e8f5a497394682a57b7c323d0f4d0a6b1b13c429056e0e234" +checksum = "44075987ee2486402f0808505dd65692163d243a337fc54363d49afac41087f6" dependencies = [ "anyhow", "base64 0.21.7", "bstr", - "fancy-regex 0.12.0", + "fancy-regex 0.13.0", "lazy_static", "parking_lot", + "regex", "rustc-hash 1.1.0", ] diff --git a/Cargo.toml b/Cargo.toml index 8278aa5276..12eb379fff 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -472,7 +472,7 @@ sys-locale = "0.3.1" sysinfo = "0.31.0" tempfile = "3.9.0" thiserror = "1.0.29" -tiktoken-rs = "0.5.9" +tiktoken-rs = "0.6.0" time = { version = "0.3", features = [ "macros", "parsing",