benbrandt / text-splitter

Split text into semantic chunks, up to a desired chunk size. Supports calculating length by characters and tokens, and is callable from Rust and Python.
MIT License
235 stars 15 forks source link

Bump the minor group with 4 updates #185

Closed dependabot[bot] closed 3 months ago

dependabot[bot] commented 3 months ago

Bumps the minor group with 4 updates: either, itertools, linux-raw-sys and syn.

Updates either from 1.11.0 to 1.12.0

Commits


Updates itertools from 0.12.1 to 0.13.0

Changelog

Sourced from itertools's changelog.

0.13.0

Breaking

  • Removed implementation of DoubleEndedIterator for ConsTuples (#853)
  • Made MultiProduct fused and fixed on an empty iterator (#835, #834)
  • Changed iproduct! to return tuples for maxi one iterator too (#870)
  • Changed PutBack::put_back to return the old value (#880)
  • Removed deprecated repeat_call, Itertools::{foreach, step, map_results, fold_results} (#878)
  • Removed TakeWhileInclusive::new (#912)

Added

  • Added Itertools::{smallest_by, smallest_by_key, largest, largest_by, largest_by_key} (#654, #885)
  • Added Itertools::tail (#899)
  • Implemented DoubleEndedIterator for ProcessResults (#910)
  • Implemented Debug for FormatWith (#931)
  • Added Itertools::get (#891)

Changed

  • Deprecated Itertools::group_by (renamed chunk_by) (#866, #879)
  • Deprecated unfold (use std::iter::from_fn instead) (#871)
  • Optimized GroupingMapBy (#873, #876)
  • Relaxed Fn bounds to FnMut in diff_with, Itertools::into_group_map_by (#886)
  • Relaxed Debug/Clone bounds for MapInto (#889)
  • Documented the use_alloc feature (#887)
  • Optimized Itertools::set_from (#888)
  • Removed badges in README.md (#890)
  • Added "no-std" categories in Cargo.toml (#894)
  • Fixed Itertools::k_smallest on short unfused iterators (#900)
  • Deprecated Itertools::tree_fold1 (renamed tree_reduce) (#895)
  • Deprecated GroupingMap::fold_first (renamed reduce) (#902)
  • Fixed Itertools::k_smallest(0) to consume the iterator, optimized Itertools::k_smallest(1) (#909)
  • Specialized Combinations::nth (#914)
  • Specialized MergeBy::fold (#920)
  • Specialized CombinationsWithReplacement::nth (#923)
  • Specialized FlattenOk::{fold, rfold} (#927)
  • Specialized Powerset::nth (#924)
  • Documentation fixes (#882, #936)
  • Fixed assert_equal for iterators longer than i32::MAX (#932)
  • Updated the must_use message of non-lazy KMergeBy and TupleCombinations (#939)

Notable Internal Changes

  • Tested iterator laziness (#792)
  • Created CONTRIBUTING.md (#767)
Commits
  • d5084d1 Prepare v0.13.0 release (#937)
  • d7c99d5 TupleCombinations is not lazy but must be used nonetheless
  • 074c7fc KMergeBy is not lazy but must be used nonetheless
  • 2ad9e07 assert_equal: fix clippy::default_numeric_fallback
  • 0d4efc8 Remove free function get
  • 05cc0ee get(s..=usize::MAX) should be fine when s != 0
  • 3c16f14 get: when is it ESI and/or DEI
  • 4dd6ba0 get: panics if the range includes usize::MAX
  • 7a9ce56 get(r: Range) as Skip\<Take>
  • f676f2f Remove the unspecified check about .get(exhausted_range_inclusive)
  • Additional commits viewable in compare view


Updates linux-raw-sys from 0.4.13 to 0.4.14

Commits


Updates syn from 2.0.63 to 2.0.64

Release notes

Sourced from syn's releases.

2.0.64

  • Support using ParseBuffer across catch_unwind (#1646)
  • Validate that the expression in a let-else ends in brace as required by rustc (#1648, #1649)
  • Legalize invalid const generic arguments by wrapping in braces (#1654, #1655)
  • Fix some expression precedence edge cases involving break and return in loop headers (#1656)
  • Always print closure bodies with a brace when the closure has an explicit return type (#1658)
  • Automatically insert necessary parentheses in ToTokens for Expr when required by expression precedence (#1659)
  • Support struct literal syntax in match guard expressions (#1662)
Commits
  • 98a62cb Release 2.0.64
  • 1f8eddb Merge pull request #1662 from dtolnay/guardstruct
  • 0a3d3bd Fix parsing of struct literal in match guard expression
  • f464193 Merge pull request #1659 from dtolnay/needspar
  • afa1c72 Add more auto-parenthesization tests
  • 532d3a3 Insert necessary parentheses in ToTokens for Expr
  • 1b6a450 Add test of parenthesis insertion by Expr's ToTokens
  • 83ea289 Merge pull request #1658 from dtolnay/closurebrace
  • 206d897 Create braces around closure body during printing if needed
  • 9b60027 Ignore struct_excessive_bools pedantic clippy lint
  • Additional commits viewable in compare view


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 99.65%. Comparing base (1e6e43d) to head (f3d5c50).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #185 +/- ## ======================================= Coverage 99.65% 99.65% ======================================= Files 10 11 +1 Lines 2036 2036 ======================================= Hits 2029 2029 Misses 7 7 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.