Update to bstr 1 (#62)
This commit is contained in:
parent
75d40b041b
commit
342d60158c
6 changed files with 15 additions and 15 deletions
4
.github/workflows/tests.yml
vendored
4
.github/workflows/tests.yml
vendored
|
|
@ -16,14 +16,14 @@ jobs:
|
|||
run: make test
|
||||
|
||||
build-stable:
|
||||
name: Build on 1.41.0
|
||||
name: Build on 1.60.0
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: dtolnay/rust-toolchain@master
|
||||
with:
|
||||
toolchain: 1.41.0
|
||||
toolchain: 1.60.0
|
||||
- name: Use Cargo.lock.msrv
|
||||
run: cp Cargo.lock.msrv Cargo.lock
|
||||
- name: Test
|
||||
|
|
|
|||
|
|
@ -5,6 +5,8 @@ All notable changes to similar are documented here.
|
|||
## 2.5.0
|
||||
|
||||
* Added support for `TextDiff::iter_inline_changes_deadline`. #61
|
||||
* Raise MSRV to 1.60. #62
|
||||
* Bump bstr dependency to 1.0. #62
|
||||
|
||||
## 2.4.0
|
||||
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ dependencies = [
|
|||
"console",
|
||||
"lazy_static",
|
||||
"linked-hash-map",
|
||||
"similar 2.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"similar 2.2.1",
|
||||
"yaml-rust",
|
||||
]
|
||||
|
||||
|
|
@ -139,6 +139,12 @@ dependencies = [
|
|||
[[package]]
|
||||
name = "similar"
|
||||
version = "2.2.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "420acb44afdae038210c99e69aae24109f32f15500aa708e81d46c9f29d55fcf"
|
||||
|
||||
[[package]]
|
||||
name = "similar"
|
||||
version = "2.4.0"
|
||||
dependencies = [
|
||||
"bstr",
|
||||
"console",
|
||||
|
|
@ -148,12 +154,6 @@ dependencies = [
|
|||
"unicode-segmentation",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "similar"
|
||||
version = "2.2.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "420acb44afdae038210c99e69aae24109f32f15500aa708e81d46c9f29d55fcf"
|
||||
|
||||
[[package]]
|
||||
name = "syn"
|
||||
version = "1.0.109"
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ authors = [
|
|||
"Brandon Williams <bwilliams.eng@gmail.com>",
|
||||
]
|
||||
edition = "2018"
|
||||
rust-version = "1.41"
|
||||
rust-version = "1.60"
|
||||
license = "Apache-2.0"
|
||||
description = "A diff library for Rust"
|
||||
repository = "https://github.com/mitsuhiko/similar"
|
||||
|
|
@ -23,9 +23,7 @@ default = ["text"]
|
|||
text = []
|
||||
inline = ["text"]
|
||||
|
||||
# this annoyingly currently also turns on bstr and not just bstr/unicode
|
||||
# unclear if this is fixable
|
||||
unicode = ["text", "unicode-segmentation", "bstr/unicode"]
|
||||
unicode = ["text", "unicode-segmentation", "bstr?/unicode", "bstr?/std"]
|
||||
bytes = ["bstr", "text"]
|
||||
|
||||
[dev-dependencies]
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
[](https://github.com/mitsuhiko/similar/actions?query=workflow%3ATests)
|
||||
[](https://crates.io/crates/similar)
|
||||
[](https://github.com/mitsuhiko/similar/blob/main/LICENSE)
|
||||
[](https://img.shields.io/badge/rust-1.41%2B-orange.svg)
|
||||
[](https://img.shields.io/badge/rust-1.60%2B-orange.svg)
|
||||
[](https://docs.rs/similar)
|
||||
|
||||
Similar is a dependency free crate for Rust that implements different diffing
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
msrv = "1.41.0"
|
||||
msrv = "1.60.0"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue