Skip to content

Commit

Permalink
Update tokenizers to v0.21
Browse files Browse the repository at this point in the history
  • Loading branch information
benbrandt committed Nov 28, 2024
1 parent 9b3c4c5 commit 62ff28e
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 43 deletions.
87 changes: 47 additions & 40 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ rust_tokenizers = { version = "8", optional = true }
strum = { version = "0.26", features = ["derive"] }
thiserror = "2.0.3"
tiktoken-rs = { version = "0.6", optional = true }
tokenizers = { version = "0.20", default-features = false, optional = true }
tokenizers = { version = "0.21", default-features = false, optional = true }
tree-sitter = { version = "0.24", optional = true }
unicode-segmentation = "1.12"

Expand All @@ -85,7 +85,7 @@ fake = "3"
insta = { version = "1.41", features = ["glob", "yaml"] }
more-asserts = "0.3"
rayon = "1.10"
tokenizers = { version = "0.20", default-features = false, features = [
tokenizers = { version = "0.21", default-features = false, features = [
"onig",
"http",
] }
Expand Down
2 changes: 1 addition & 1 deletion bindings/python/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ text-splitter = { path = "../..", features = [
"tokenizers",
] }
tiktoken-rs = "0.6"
tokenizers = { version = "0.20", default-features = false, features = ["onig"] }
tokenizers = { version = "0.21", default-features = false, features = ["onig"] }
tree-sitter = "0.24"

[lints]
Expand Down
1 change: 1 addition & 0 deletions clippy.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ allowed-duplicate-crates = [
"itertools",
"thiserror",
"thiserror-impl",
"unicode-width",
"windows-sys",
"windows-targets",
"windows_aarch64_gnullvm",
Expand Down

0 comments on commit 62ff28e

Please sign in to comment.