From 17b4f7d41b93e5ec47eea651658f33d2e173fffb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 29 Dec 2024 16:14:32 +0000 Subject: [PATCH] Bump tiktoken-rs from 0.5.9 to 0.6.0 Bumps [tiktoken-rs](https://github.com/zurawiki/tiktoken-rs) from 0.5.9 to 0.6.0. - [Release notes](https://github.com/zurawiki/tiktoken-rs/releases) - [Commits](https://github.com/zurawiki/tiktoken-rs/compare/v0.5.9...v0.6.0) --- updated-dependencies: - dependency-name: tiktoken-rs dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Cargo.lock | 12 +++++++----- ext/tiktoken_ruby/Cargo.toml | 2 +- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index db82cd5..dc667c2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -115,12 +115,13 @@ checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0" [[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", - "regex", + "regex-automata", + "regex-syntax", ] [[package]] @@ -399,9 +400,9 @@ 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", @@ -409,6 +410,7 @@ dependencies = [ "fancy-regex", "lazy_static", "parking_lot", + "regex", "rustc-hash", ] diff --git a/ext/tiktoken_ruby/Cargo.toml b/ext/tiktoken_ruby/Cargo.toml index 9f5b07b..39f2658 100644 --- a/ext/tiktoken_ruby/Cargo.toml +++ b/ext/tiktoken_ruby/Cargo.toml @@ -12,4 +12,4 @@ crate-type = ["cdylib"] [dependencies] magnus = { version = "0.6.1" } rb-sys = { version = "0.9.87", features = ["stable-api-compiled-fallback"] } -tiktoken-rs = { version = "0.5.9" } +tiktoken-rs = { version = "0.6.0" }