mindustry logic execution, map- and schematic- parsing and rendering
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml34
1 files changed, 19 insertions, 15 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 488049e..60e7a51 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "mindus"
-version = "1.4.1"
+version = "1.4.2"
edition = "2021"
description = "A library for working with mindustry data formats (eg schematics and maps) (fork of plandustry)"
authors = [
@@ -11,23 +11,27 @@ repository = "https://github.com/bend-n/mindus.git"
license = "GPL-3.0"
exclude = [".github/", "items.py"]
-
[dependencies]
flate2 = { version = "1.0", features = ["zlib"], default-features = false }
-base64 = "0.21.2"
-paste = "1.0.12"
+base64 = "0.21"
+paste = "1.0"
strconv = "0.1"
-image = { version = "0.24.6", features = ["png"], default-features = false }
-const-str = "0.5.5"
-color-hex = "0.2.0"
-zip = { version = "0.6.6", features = ["zstd"], default-features = false }
-tinyrand = "0.5.0"
-tinyrand-std = "0.5.0"
-dashmap = "5.4.0"
-fast_image_resize = "2.7.3"
-thiserror = "1.0.41"
-bobbin-bits = "0.1.1"
-blurslice = "0.1.0"
+image = { version = "0.24", features = ["png"], default-features = false }
+const-str = "0.5"
+color-hex = "0.2"
+zip = { version = "0.6", features = ["zstd"], default-features = false }
+tinyrand = "0.5"
+tinyrand-std = "0.5"
+dashmap = "5.4"
+fast_image_resize = "2.7"
+thiserror = "1.0"
+bobbin-bits = "0.1"
+blurslice = { version = "0.1", optional = true }
+
+[features]
+schem_shadow = ["dep:blurslice"]
+map_shadow = ["dep:blurslice"]
+default = ["schem_shadow", "map_shadow"]
[build-dependencies]
zip = { version = "0.6.6", features = ["zstd"], default-features = false }