From 6490775f28fe36228280ac57b3a5a9e1fed9d004 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Fri, 13 Feb 2026 02:17:20 +0800 Subject: Bump version to 0.1.1 and make strip-ansi optional --- Cargo.toml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 5fea8e4..2348af0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,8 +7,14 @@ readme = "README.md" license = "MIT OR Apache-2.0" repository = "https://github.com/catilgrass/just_fmt" -version = "0.1.0" +version = "0.1.1" edition = "2024" -[dependencies] -strip-ansi-escapes = "0.2.1" +[dependencies.strip-ansi-escapes] +version = "0.2.1" +optional = true + +[features] +default = [] +all = [ "strip-ansi" ] +strip-ansi = ["dep:strip-ansi-escapes"] -- cgit