summaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-02-13 02:17:20 +0800
committer魏曹先生 <1992414357@qq.com>2026-02-13 02:17:20 +0800
commit6490775f28fe36228280ac57b3a5a9e1fed9d004 (patch)
treeea3818d597a24642728ef2a516c7c3ae49979b93 /Cargo.toml
parentabc9507b3f844144eb556f17cf5c98d2d8448518 (diff)
Bump version to 0.1.1 and make strip-ansi optional0.1.1
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml12
1 files changed, 9 insertions, 3 deletions
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"]