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
|
run: make test
|
||||||
|
|
||||||
build-stable:
|
build-stable:
|
||||||
name: Build on 1.41.0
|
name: Build on 1.60.0
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: dtolnay/rust-toolchain@master
|
- uses: dtolnay/rust-toolchain@master
|
||||||
with:
|
with:
|
||||||
toolchain: 1.41.0
|
toolchain: 1.60.0
|
||||||
- name: Use Cargo.lock.msrv
|
- name: Use Cargo.lock.msrv
|
||||||
run: cp Cargo.lock.msrv Cargo.lock
|
run: cp Cargo.lock.msrv Cargo.lock
|
||||||
- name: Test
|
- name: Test
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,8 @@ All notable changes to similar are documented here.
|
||||||
## 2.5.0
|
## 2.5.0
|
||||||
|
|
||||||
* Added support for `TextDiff::iter_inline_changes_deadline`. #61
|
* 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
|
## 2.4.0
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -41,7 +41,7 @@ dependencies = [
|
||||||
"console",
|
"console",
|
||||||
"lazy_static",
|
"lazy_static",
|
||||||
"linked-hash-map",
|
"linked-hash-map",
|
||||||
"similar 2.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"similar 2.2.1",
|
||||||
"yaml-rust",
|
"yaml-rust",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
@ -139,6 +139,12 @@ dependencies = [
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "similar"
|
name = "similar"
|
||||||
version = "2.2.1"
|
version = "2.2.1"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "420acb44afdae038210c99e69aae24109f32f15500aa708e81d46c9f29d55fcf"
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "similar"
|
||||||
|
version = "2.4.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bstr",
|
"bstr",
|
||||||
"console",
|
"console",
|
||||||
|
|
@ -148,12 +154,6 @@ dependencies = [
|
||||||
"unicode-segmentation",
|
"unicode-segmentation",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "similar"
|
|
||||||
version = "2.2.1"
|
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
||||||
checksum = "420acb44afdae038210c99e69aae24109f32f15500aa708e81d46c9f29d55fcf"
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "syn"
|
name = "syn"
|
||||||
version = "1.0.109"
|
version = "1.0.109"
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ authors = [
|
||||||
"Brandon Williams <bwilliams.eng@gmail.com>",
|
"Brandon Williams <bwilliams.eng@gmail.com>",
|
||||||
]
|
]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
rust-version = "1.41"
|
rust-version = "1.60"
|
||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
description = "A diff library for Rust"
|
description = "A diff library for Rust"
|
||||||
repository = "https://github.com/mitsuhiko/similar"
|
repository = "https://github.com/mitsuhiko/similar"
|
||||||
|
|
@ -23,9 +23,7 @@ default = ["text"]
|
||||||
text = []
|
text = []
|
||||||
inline = ["text"]
|
inline = ["text"]
|
||||||
|
|
||||||
# this annoyingly currently also turns on bstr and not just bstr/unicode
|
unicode = ["text", "unicode-segmentation", "bstr?/unicode", "bstr?/std"]
|
||||||
# unclear if this is fixable
|
|
||||||
unicode = ["text", "unicode-segmentation", "bstr/unicode"]
|
|
||||||
bytes = ["bstr", "text"]
|
bytes = ["bstr", "text"]
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
[](https://github.com/mitsuhiko/similar/actions?query=workflow%3ATests)
|
[](https://github.com/mitsuhiko/similar/actions?query=workflow%3ATests)
|
||||||
[](https://crates.io/crates/similar)
|
[](https://crates.io/crates/similar)
|
||||||
[](https://github.com/mitsuhiko/similar/blob/main/LICENSE)
|
[](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)
|
[](https://docs.rs/similar)
|
||||||
|
|
||||||
Similar is a dependency free crate for Rust that implements different diffing
|
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