From 057ec422148edbb60453d197c9b56fe9da7fbc43 Mon Sep 17 00:00:00 2001 From: binlingyu Date: Mon, 15 Apr 2024 15:40:46 +0800 Subject: [PATCH 1/2] enable the 'conversions' feature --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index b45d7d88..7dcac6fa 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -66,7 +66,7 @@ regex = { version = "1.10.2", optional = true } walkdir = { version = "2.4", optional = true } bytesize = { version = "1.3.0" } encoding_rs = "0.8.33" -os_str_bytes = { version = "~6.6", optional = true } +os_str_bytes = { version = "~6.6", optional = true, features = ["conversions"] } run_script = { version = "^0.10.1", optional = true} [dependencies.git2] From efececbad2df0befefa8c6030810a0fad40aacf0 Mon Sep 17 00:00:00 2001 From: binlingyu Date: Mon, 15 Apr 2024 16:11:18 +0800 Subject: [PATCH 2/2] enable the 'conversions' feature --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4fa912c7..47cbc47c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ - `bat --squeeze-limit` to set the maximum number of empty consecutive when using `--squeeze-blank`, see #1441 (@eth-p) and #2665 (@einfachIrgendwer0815) - `PrettyPrinter::squeeze_empty_lines` to support line squeezing for bat as a library, see #1441 (@eth-p) and #2665 (@einfachIrgendwer0815) - Syntax highlighting for JavaScript files that start with `#!/usr/bin/env bun` #2913 (@sharunkumar) +- Enable the 'conversions' feature, see #2938(@bin-ly) ## Bugfixes