Skip to content

Commit a367af6

Browse files
authored
Make encoding_rs an optional dependency (#205)
1 parent 22052ea commit a367af6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

objdiff-core/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ any-arch = [
4141
"dep:regex",
4242
"dep:similar",
4343
"dep:syn",
44+
"dep:encoding_rs"
4445
]
4546
bindings = [
4647
"dep:prost",
@@ -171,7 +172,7 @@ notify-debouncer-full = { version = "0.5.0", optional = true }
171172
shell-escape = { version = "0.1", optional = true }
172173
tempfile = { version = "3.19", optional = true }
173174
time = { version = "0.3", optional = true }
174-
encoding_rs = "0.8.35"
175+
encoding_rs = { version = "0.8.35", optional = true }
175176

176177
[target.'cfg(windows)'.dependencies]
177178
winapi = { version = "0.3", optional = true }

0 commit comments

Comments
 (0)