diff --git a/config/rootfiles/common/rust-synstructure b/config/rootfiles/common/rust-synstructure
index c28b190ef..a3b61cca7 100644
--- a/config/rootfiles/common/rust-synstructure
+++ b/config/rootfiles/common/rust-synstructure
@@ -1,8 +1,8 @@
-#usr/share/cargo/registry/synstructure-0.12.6
-#usr/share/cargo/registry/synstructure-0.12.6/.cargo-checksum.json
-#usr/share/cargo/registry/synstructure-0.12.6/Cargo.toml
-#usr/share/cargo/registry/synstructure-0.12.6/LICENSE
-#usr/share/cargo/registry/synstructure-0.12.6/README.md
-#usr/share/cargo/registry/synstructure-0.12.6/src
-#usr/share/cargo/registry/synstructure-0.12.6/src/lib.rs
-#usr/share/cargo/registry/synstructure-0.12.6/src/macros.rs
+#usr/share/cargo/registry/synstructure-0.13.1
+#usr/share/cargo/registry/synstructure-0.13.1/.cargo-checksum.json
+#usr/share/cargo/registry/synstructure-0.13.1/Cargo.toml
+#usr/share/cargo/registry/synstructure-0.13.1/LICENSE
+#usr/share/cargo/registry/synstructure-0.13.1/README.md
+#usr/share/cargo/registry/synstructure-0.13.1/src
+#usr/share/cargo/registry/synstructure-0.13.1/src/lib.rs
+#usr/share/cargo/registry/synstructure-0.13.1/src/macros.rs
diff --git a/lfs/rust-synstructure b/lfs/rust-synstructure
index aee76e512..3681b4fbb 100644
--- a/lfs/rust-synstructure
+++ b/lfs/rust-synstructure
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2018  IPFire Team  <info@ipfire.org>                     #
+# Copyright (C) 2007-2024  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -24,7 +24,7 @@
 
 include Config
 
-VER        = 0.12.6
+VER        = 0.13.1
 
 THISAPP    = synstructure-$(VER)
 DL_FILE    = $(THISAPP).tar.gz
@@ -40,7 +40,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_BLAKE2 = 7666cd83f82910e036e5b57600dec9a1c2e559453ccc2f1201e2ee4ba64f2ee62cfc1046ded5cae64dd183967b9d71cbfe4b60a88bcb93706eedd0c4ab69be4f
+$(DL_FILE)_BLAKE2 = b29ee88c559a2d58fa46b7af155b448f001649ea79a1898f0ac87e69108b87c65cbd287d8f9001f360df7fef06ff39c937b48d33e487a30c8eec6a46c639c0c2
 
 install : $(TARGET)
 
@@ -73,6 +73,7 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 	@$(PREBUILD)
 	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+	cd $(DIR_APP) && rm Cargo.toml.orig
 	cd $(DIR_APP) && $(CARGO_PREPARE)
 	cd $(DIR_APP) && $(CARGO_BUILD)
 	cd $(DIR_APP) && $(CARGO_INSTALL)
