summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2018-09-27 08:13:58 +0200
committerMatthias Beyer <mail@beyermatthias.de>2018-11-11 13:05:55 +0100
commit9fca66aa89d12a11dc8758d40dd09e340826c7d1 (patch)
tree57ba9834c5eb6dcd6f9cf19c876084c6e3d47041
parent4e516ee19d682e77fa72a93cf15e3b8832346fbb (diff)
downloadimag-9fca66aa89d12a11dc8758d40dd09e340826c7d1.zip
imag-9fca66aa89d12a11dc8758d40dd09e340826c7d1.tar.gz
Forbid unsafe code in all crates
-rw-r--r--bin/core/imag-annotate/src/main.rs2
-rw-r--r--bin/core/imag-category/src/main.rs2
-rw-r--r--bin/core/imag-diagnostics/src/main.rs2
-rw-r--r--bin/core/imag-edit/src/main.rs2
-rw-r--r--bin/core/imag-git/src/main.rs2
-rw-r--r--bin/core/imag-gps/src/main.rs2
-rw-r--r--bin/core/imag-grep/src/main.rs2
-rw-r--r--bin/core/imag-ids/src/main.rs2
-rw-r--r--bin/core/imag-init/src/main.rs2
-rw-r--r--bin/core/imag-link/src/main.rs2
-rw-r--r--bin/core/imag-mv/src/main.rs2
-rw-r--r--bin/core/imag-ref/src/main.rs2
-rw-r--r--bin/core/imag-store/src/main.rs2
-rw-r--r--bin/core/imag-tag/src/main.rs2
-rw-r--r--bin/core/imag-view/src/main.rs2
-rw-r--r--bin/core/imag/src/main.rs2
-rw-r--r--bin/domain/imag-bookmark/src/main.rs2
-rw-r--r--bin/domain/imag-contact/src/main.rs2
-rw-r--r--bin/domain/imag-diary/src/main.rs2
-rw-r--r--bin/domain/imag-habit/src/main.rs2
-rw-r--r--bin/domain/imag-log/src/main.rs2
-rw-r--r--bin/domain/imag-mail/src/main.rs2
-rw-r--r--bin/domain/imag-notes/src/main.rs2
-rw-r--r--bin/domain/imag-timetrack/src/main.rs2
-rw-r--r--bin/domain/imag-todo/src/main.rs2
-rw-r--r--bin/domain/imag-wiki/src/main.rs2
-rw-r--r--lib/core/libimagerror/src/lib.rs2
-rw-r--r--lib/core/libimagrt/src/lib.rs2
-rw-r--r--lib/core/libimagstore/src/lib.rs2
-rw-r--r--lib/core/libimagstore/src/storeid.rs1
-rw-r--r--lib/domain/libimagbookmark/src/lib.rs2
-rw-r--r--lib/domain/libimagcontact/src/lib.rs2
-rw-r--r--lib/domain/libimagdiary/src/lib.rs2
-rw-r--r--lib/domain/libimaghabit/src/lib.rs2
-rw-r--r--lib/domain/libimaglog/src/lib.rs2
-rw-r--r--lib/domain/libimagmail/src/lib.rs2
-rw-r--r--lib/domain/libimagnotes/src/lib.rs2
-rw-r--r--lib/domain/libimagtimetrack/src/lib.rs2
-rw-r--r--lib/domain/libimagtodo/src/lib.rs2
-rw-r--r--lib/domain/libimagwiki/src/lib.rs2
-rw-r--r--lib/entry/libimagentryannotation/src/lib.rs2
-rw-r--r--lib/entry/libimagentrycategory/src/lib.rs2
-rw-r--r--lib/entry/libimagentrydatetime/src/lib.rs2
-rw-r--r--lib/entry/libimagentryedit/src/lib.rs2
-rw-r--r--lib/entry/libimagentryfilter/src/lib.rs2
-rw-r--r--lib/entry/libimagentrygps/src/lib.rs2
-rw-r--r--lib/entry/libimagentrylink/src/lib.rs2
-rw-r--r--lib/entry/libimagentrymarkdown/src/lib.rs2
-rw-r--r--lib/entry/libimagentryref/src/lib.rs2
-rw-r--r--lib/entry/libimagentrytag/src/lib.rs2
-rw-r--r--lib/entry/libimagentryutil/src/lib.rs2
-rw-r--r--lib/entry/libimagentryview/src/lib.rs2
-rw-r--r--lib/etc/libimaginteraction/src/lib.rs2
-rw-r--r--lib/etc/libimagnotification/src/lib.rs2
-rw-r--r--lib/etc/libimagtimeui/src/lib.rs2
-rw-r--r--lib/etc/libimagutil/src/lib.rs2
56 files changed, 110 insertions, 1 deletions
diff --git a/bin/core/imag-annotate/src/main.rs b/bin/core/imag-annotate/src/main.rs
index 5beb0c1..b365373 100644
--- a/bin/core/imag-annotate/src/main.rs
+++ b/bin/core/imag-annotate/src/main.rs
@@ -17,6 +17,8 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//
+#![forbid(unsafe_code)]
+
#![deny(
non_camel_case_types,
non_snake_case,
diff --git a/bin/core/imag-category/src/main.rs b/bin/core/imag-category/src/main.rs
index e13d49e..225aa40 100644
--- a/bin/core/imag-category/src/main.rs
+++ b/bin/core/imag-category/src/main.rs
@@ -17,6 +17,8 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//
+#![forbid(unsafe_code)]
+
#![deny(
non_camel_case_types,
non_snake_case,
diff --git a/bin/core/imag-diagnostics/src/main.rs b/bin/core/imag-diagnostics/src/main.rs
index 5c592db..8459ed3 100644
--- a/bin/core/imag-diagnostics/src/main.rs
+++ b/bin/core/imag-diagnostics/src/main.rs
@@ -17,6 +17,8 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//
+#![forbid(unsafe_code)]
+
#![deny(
non_camel_case_types,
non_snake_case,
diff --git a/bin/core/imag-edit/src/main.rs b/bin/core/imag-edit/src/main.rs
index 6d4ac38..a4ad919 100644
--- a/bin/core/imag-edit/src/main.rs
+++ b/bin/core/imag-edit/src/main.rs
@@ -17,6 +17,8 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//
+#![forbid(unsafe_code)]
+
#![deny(
non_camel_case_types,
non_snake_case,
diff --git a/bin/core/imag-git/src/main.rs b/bin/core/imag-git/src/main.rs
index a5f370f..0b5aa58 100644
--- a/bin/core/imag-git/src/main.rs
+++ b/bin/core/imag-git/src/main.rs
@@ -17,6 +17,8 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//
+#![forbid(unsafe_code)]
+
#![deny(
non_camel_case_types,
non_snake_case,
diff --git a/bin/core/imag-gps/src/main.rs b/bin/core/imag-gps/src/main.rs
index 50c94f6..afa3eb7 100644
--- a/bin/core/imag-gps/src/main.rs
+++ b/bin/core/imag-gps/src/main.rs
@@ -17,6 +17,8 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//
+#![forbid(unsafe_code)]
+
#![deny(
non_camel_case_types,
non_snake_case,
diff --git a/bin/core/imag-grep/src/main.rs b/bin/core/imag-grep/src/main.rs
index e9db9b7..a5df01d 100644
--- a/bin/core/imag-grep/src/main.rs
+++ b/bin/core/imag-grep/src/main.rs
@@ -17,6 +17,8 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//
+#![forbid(unsafe_code)]
+
#![deny(
non_camel_case_types,
non_snake_case,
diff --git a/bin/core/imag-ids/src/main.rs b/bin/core/imag-ids/src/main.rs
index 56c3102..3e809a8 100644
--- a/bin/core/imag-ids/src/main.rs
+++ b/bin/core/imag-ids/src/main.rs
@@ -17,6 +17,8 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//
+#![forbid(unsafe_code)]
+
#![deny(
non_camel_case_types,
non_snake_case,
diff --git a/bin/core/imag-init/src/main.rs b/bin/core/imag-init/src/main.rs
index ef89963..1194493 100644
--- a/bin/core/imag-init/src/main.rs
+++ b/bin/core/imag-init/src/main.rs
@@ -17,6 +17,8 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//
+#![forbid(unsafe_code)]
+
#![deny(
non_camel_case_types,
non_snake_case,
diff --git a/bin/core/imag-link/src/main.rs b/bin/core/imag-link/src/main.rs
index 5d83d6b..9f1f328 100644
--- a/bin/core/imag-link/src/main.rs
+++ b/bin/core/imag-link/src/main.rs
@@ -17,6 +17,8 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//
+#![forbid(unsafe_code)]
+
#![deny(
non_camel_case_types,
non_snake_case,
diff --git a/bin/core/imag-mv/src/main.rs b/bin/core/imag-mv/src/main.rs
index 1e77fce..4210e2c 100644
--- a/bin/core/imag-mv/src/main.rs
+++ b/bin/core/imag-mv/src/main.rs
@@ -17,6 +17,8 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//
+#![forbid(unsafe_code)]
+
#![deny(
non_camel_case_types,
non_snake_case,
diff --git a/bin/core/imag-ref/src/main.rs b/bin/core/imag-ref/src/main.rs
index c0f22f9..85c802e 100644
--- a/bin/core/imag-ref/src/main.rs
+++ b/bin/core/imag-ref/src/main.rs
@@ -17,6 +17,8 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//
+#![forbid(unsafe_code)]
+
#![deny(
non_camel_case_types,
non_snake_case,
diff --git a/bin/core/imag-store/src/main.rs b/bin/core/imag-store/src/main.rs
index 5328c3a..e368dfe 100644
--- a/bin/core/imag-store/src/main.rs
+++ b/bin/core/imag-store/src/main.rs
@@ -17,6 +17,8 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//
+#![forbid(unsafe_code)]
+
#![deny(
non_camel_case_types,
non_snake_case,
diff --git a/bin/core/imag-tag/src/main.rs b/bin/core/imag-tag/src/main.rs
index 2b5349d..e3dc398 100644
--- a/bin/core/imag-tag/src/main.rs
+++ b/bin/core/imag-tag/src/main.rs
@@ -17,6 +17,8 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//
+#![forbid(unsafe_code)]
+
#![deny(
non_camel_case_types,
non_snake_case,
diff --git a/bin/core/imag-view/src/main.rs b/bin/core/imag-view/src/main.rs
index 859e5af..26d21f2 100644
--- a/bin/core/imag-view/src/main.rs
+++ b/bin/core/imag-view/src/main.rs
@@ -17,6 +17,8 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//
+#![forbid(unsafe_code)]
+
#![deny(
non_camel_case_types,
non_snake_case,
diff --git a/bin/core/imag/src/main.rs b/bin/core/imag/src/main.rs
index 55e4e6a..58dc4b9 100644
--- a/bin/core/imag/src/main.rs
+++ b/bin/core/imag/src/main.rs
@@ -17,6 +17,8 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//
+#![forbid(unsafe_code)]
+
#![deny(
non_camel_case_types,
non_snake_case,
diff --git a/bin/domain/imag-bookmark/src/main.rs b/bin/domain/imag-bookmark/src/main.rs
index 2d0e22f..79508c9 100644
--- a/bin/domain/imag-bookmark/src/main.rs
+++ b/bin/domain/imag-bookmark/src/main.rs
@@ -17,6 +17,8 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//
+#![forbid(unsafe_code)]
+
#![deny(
non_camel_case_types,
non_snake_case,
diff --git a/bin/domain/imag-contact/src/main.rs b/bin/domain/imag-contact/src/main.rs
index 68f47a4..c2b4bbc 100644
--- a/bin/domain/imag-contact/src/main.rs
+++ b/bin/domain/imag-contact/src/main.rs
@@ -17,6 +17,8 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//
+#![forbid(unsafe_code)]
+
#![deny(
non_camel_case_types,
non_snake_case,
diff --git a/bin/domain/imag-diary/src/main.rs b/bin/domain/imag-diary/src/main.rs
index 73a999b..4c37770 100644
--- a/bin/domain/imag-diary/src/main.rs
+++ b/bin/domain/imag-diary/src/main.rs
@@ -17,6 +17,8 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//
+#![forbid(unsafe_code)]
+
#![deny(
non_camel_case_types,
non_snake_case,
diff --git a/bin/domain/imag-habit/src/main.rs b/bin/domain/imag-habit/src/main.rs
index 36d6ce1..3f35581 100644
--- a/bin/domain/imag-habit/src/main.rs
+++ b/bin/domain/imag-habit/src/main.rs
@@ -17,6 +17,8 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//
+#![forbid(unsafe_code)]
+
#![deny(
non_camel_case_types,
non_snake_case,
diff --git a/bin/domain/imag-log/src/main.rs b/bin/domain/imag-log/src/main.rs
index 0be4003..1987a57 100644
--- a/bin/domain/imag-log/src/main.rs
+++ b/bin/domain/imag-log/src/main.rs
@@ -17,6 +17,8 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//
+#![forbid(unsafe_code)]
+
#![deny(
non_camel_case_types,
non_snake_case,
diff --git a/bin/domain/imag-mail/src/main.rs b/bin/domain/imag-mail/src/main.rs
index d43653c..8b2a976 100644
--- a/bin/domain/imag-mail/src/main.rs
+++ b/bin/domain/imag-mail/src/main.rs
@@ -17,6 +17,8 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//
+#![forbid(unsafe_code)]
+
#![deny(
non_camel_case_types,
non_snake_case,
diff --git a/bin/domain/imag-notes/src/main.rs b/bin/domain/imag-notes/src/main.rs
index c7b1130..956b1c7 100644
--- a/bin/domain/imag-notes/src/main.rs
+++ b/bin/domain/imag-notes/src/main.rs
@@ -17,6 +17,8 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//
+#![forbid(unsafe_code)]
+
#![deny(
non_camel_case_types,
non_snake_case,
diff --git a/bin/domain/imag-timetrack/src/main.rs b/bin/domain/imag-timetrack/src/main.rs
index a17cd26..91f84ff 100644
--- a/bin/domain/imag-timetrack/src/main.rs
+++ b/bin/domain/imag-timetrack/src/main.rs
@@ -17,6 +17,8 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//
+#![forbid(unsafe_code)]
+
#![deny(
non_camel_case_types,
non_snake_case,
diff --git a/bin/domain/imag-todo/src/main.rs b/bin/domain/imag-todo/src/main.rs
index 21e477c..abcab05 100644
--- a/bin/domain/imag-todo/src/main.rs
+++ b/bin/domain/imag-todo/src/main.rs
@@ -17,6 +17,8 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//
+#![forbid(unsafe_code)]
+
#![deny(
non_camel_case_types,
non_snake_case,
diff --git a/bin/domain/imag-wiki/src/main.rs b/bin/domain/imag-wiki/src/main.rs
index c8f5526..c064f72 100644
--- a/bin/domain/imag-wiki/src/main.rs
+++ b/bin/domain/imag-wiki/src/main.rs
@@ -17,6 +17,8 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//
+#![forbid(unsafe_code)]
+
extern crate clap;
extern crate regex;
extern crate filters;
diff --git a/lib/core/libimagerror/src/lib.rs b/lib/core/libimagerror/src/lib.rs
index fba3656..74195c3 100644
--- a/lib/core/libimagerror/src/lib.rs
+++ b/lib/core/libimagerror/src/lib.rs
@@ -17,6 +17,8 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//
+#![forbid(unsafe_code)]
+
#![deny(
dead_code,
non_camel_case_types,
diff --git a/lib/core/libimagrt/src/lib.rs b/lib/core/libimagrt/src/lib.rs
index aff768d..edae19f 100644
--- a/lib/core/libimagrt/src/lib.rs
+++ b/lib/core/libimagrt/src/lib.rs
@@ -17,6 +17,8 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//
+#![forbid(unsafe_code)]
+
#![recursion_limit="256"]
#![deny(
diff --git a/lib/core/libimagstore/src/lib.rs b/lib/core/libimagstore/src/lib.rs
index 3fc544b..53337da 100644
--- a/lib/core/libimagstore/src/lib.rs
+++ b/lib/core/libimagstore/src/lib.rs
@@ -17,6 +17,8 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//
+#![forbid(unsafe_code)]
+
#![recursion_limit="256"]
#![deny(
diff --git a/lib/core/libimagstore/src/storeid.rs b/lib/core/libimagstore/src/storeid.rs
index 5a2fe75..dbb061d 100644
--- a/lib/core/libimagstore/src/storeid.rs
+++ b/lib/core/libimagstore/src/storeid.rs
@@ -224,7 +224,6 @@ macro_rules! module_entry_path_mod {
#[deny(missing_docs,
missing_copy_implementations,
trivial_casts, trivial_numeric_casts,
- unsafe_code,
unstable_features,
unused_import_braces, unused_qualifications,
unused_imports)]
diff --git a/lib/domain/libimagbookmark/src/lib.rs b/lib/domain/libimagbookmark/src/lib.rs
index 0e89e20..f7f4492 100644
--- a/lib/domain/libimagbookmark/src/lib.rs
+++ b/lib/domain/libimagbookmark/src/lib.rs
@@ -17,6 +17,8 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//
+#![forbid(unsafe_code)]
+
#![recursion_limit="256"]
#![deny(
diff --git a/lib/domain/libimagcontact/src/lib.rs b/lib/domain/libimagcontact/src/lib.rs
index 7bebea9..0cfdd96 100644
--- a/lib/domain/libimagcontact/src/lib.rs
+++ b/lib/domain/libimagcontact/src/lib.rs
@@ -17,6 +17,8 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//
+#![forbid(unsafe_code)]
+
#![deny(
dead_code,
non_camel_case_types,
diff --git a/lib/domain/libimagdiary/src/lib.rs b/lib/domain/libimagdiary/src/lib.rs
index ae41c1e..8074ce7 100644
--- a/lib/domain/libimagdiary/src/lib.rs
+++ b/lib/domain/libimagdiary/src/lib.rs
@@ -17,6 +17,8 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//
+#![forbid(unsafe_code)]
+
#![recursion_limit="256"]
#![deny(
diff --git a/lib/domain/libimaghabit/src/lib.rs b/lib/domain/libimaghabit/src/lib.rs
index c230756..6b3edbe 100644
--- a/lib/domain/libimaghabit/src/lib.rs
+++ b/lib/domain/libimaghabit/src/lib.rs
@@ -17,6 +17,8 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//
+#![forbid(unsafe_code)]
+
#![deny(
dead_code,
non_camel_case_types,
diff --git a/lib/domain/libimaglog/src/lib.rs b/lib/domain/libimaglog/src/lib.rs
index dd35928..d4f4a3b 100644
--- a/lib/domain/libimaglog/src/lib.rs
+++ b/lib/domain/libimaglog/src/lib.rs
@@ -17,6 +17,8 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//
+#![forbid(unsafe_code)]
+
#![deny(
dead_code,
non_camel_case_types,
diff --git a/lib/domain/libimagmail/src/lib.rs b/lib/domain/libimagmail/src/lib.rs
index fc88340..976c620 100644
--- a/lib/domain/libimagmail/src/lib.rs
+++ b/lib/domain/libimagmail/src/lib.rs
@@ -17,6 +17,8 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//
+#![forbid(unsafe_code)]
+
#![recursion_limit="256"]
#![deny(
diff --git a/lib/domain/libimagnotes/src/lib.rs b/lib/domain/libimagnotes/src/lib.rs
index c166651..4dd5d78 100644
--- a/lib/domain/libimagnotes/src/lib.rs
+++ b/lib/domain/libimagnotes/src/lib.rs
@@ -17,6 +17,8 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//
+#![forbid(unsafe_code)]
+
#![recursion_limit="256"]
#![deny(
diff --git a/lib/domain/libimagtimetrack/src/lib.rs b/lib/domain/libimagtimetrack/src/lib.rs
index 37fbbc7..b8f47f8 100644
--- a/lib/domain/libimagtimetrack/src/lib.rs
+++ b/lib/domain/libimagtimetrack/src/lib.rs
@@ -17,6 +17,8 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//
+#![forbid(unsafe_code)]
+
#![recursion_limit="256"]
#![deny(
diff --git a/lib/domain/libimagtodo/src/lib.rs b/lib/domain/libimagtodo/src/lib.rs
index b28b283..3058383 100644
--- a/lib/domain/libimagtodo/src/lib.rs
+++ b/lib/domain/libimagtodo/src/lib.rs
@@ -17,6 +17,8 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//
+#![forbid(unsafe_code)]
+
#![recursion_limit="256"]
#![deny(
diff --git a/lib/domain/libimagwiki/src/lib.rs b/lib/domain/libimagwiki/src/lib.rs
index abfa9f4..8960301 100644
--- a/lib/domain/libimagwiki/src/lib.rs
+++ b/lib/domain/libimagwiki/src/lib.rs
@@ -17,6 +17,8 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//
+#![forbid(unsafe_code)]
+
#![recursion_limit="256"]
#![deny(
diff --git a/lib/entry/libimagentryannotation/src/lib.rs b/lib/entry/libimagentryannotation/src/lib.rs
index cb90413..8cc4f5c 100644
--- a/lib/entry/libimagentryannotation/src/lib.rs
+++ b/lib/entry/libimagentryannotation/src/lib.rs
@@ -17,6 +17,8 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//
+#![forbid(unsafe_code)]
+
#![recursion_limit="256"]
#![deny(
diff --git a/lib/entry/libimagentrycategory/src/lib.rs b/lib/entry/libimagentrycategory/src/lib.rs
index 28b1cf5..97d9703 100644
--- a/lib/entry/libimagentrycategory/src/lib.rs
+++ b/lib/entry/libimagentrycategory/src/lib.rs
@@ -17,6 +17,8 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//
+#![forbid(unsafe_code)]
+
#![recursion_limit="256"]
#![deny(
diff --git a/lib/entry/libimagentrydatetime/src/lib.rs b/lib/entry/libimagentrydatetime/src/lib.rs
index 37f5903..b876ee4 100644
--- a/lib/entry/libimagentrydatetime/src/lib.rs
+++ b/lib/entry/libimagentrydatetime/src/lib.rs
@@ -17,6 +17,8 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//
+#![forbid(unsafe_code)]
+
#![recursion_limit="256"]
#![deny(
diff --git a/lib/entry/libimagentryedit/src/lib.rs b/lib/entry/libimagentryedit/src/lib.rs
index 6de6415..7079ada 100644
--- a/lib/entry/libimagentryedit/src/lib.rs
+++ b/lib/entry/libimagentryedit/src/lib.rs
@@ -17,6 +17,8 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//
+#![forbid(unsafe_code)]
+
#![recursion_limit="256"]
#![deny(
diff --git a/lib/entry/libimagentryfilter/src/lib.rs b/lib/entry/libimagentryfilter/src/lib.rs
index 2a58f2a..0fe204c 100644
--- a/lib/entry/libimagentryfilter/src/lib.rs
+++ b/lib/entry/libimagentryfilter/src/lib.rs
@@ -17,6 +17,8 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//
+#![forbid(unsafe_code)]
+
#![deny(
dead_code,
non_camel_case_types,
diff --git a/lib/entry/libimagentrygps/src/lib.rs b/lib/entry/libimagentrygps/src/lib.rs
index 15397ad..bf37137 100644
--- a/lib/entry/libimagentrygps/src/lib.rs
+++ b/lib/entry/libimagentrygps/src/lib.rs
@@ -17,6 +17,8 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//
+#![forbid(unsafe_code)]
+
#![deny(
dead_code,
non_camel_case_types,
diff --git a/lib/entry/libimagentrylink/src/lib.rs b/lib/entry/libimagentrylink/src/lib.rs
index 72b144d..2f22d22 100644
--- a/lib/entry/libimagentrylink/src/lib.rs
+++ b/lib/entry/libimagentrylink/src/lib.rs
@@ -17,6 +17,8 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//
+#![forbid(unsafe_code)]
+
#![recursion_limit="256"]
#![deny(
diff --git a/lib/entry/libimagentrymarkdown/src/lib.rs b/lib/entry/libimagentrymarkdown/src/lib.rs
index 18b8d47..eaa56a4 100644
--- a/lib/entry/libimagentrymarkdown/src/lib.rs
+++ b/lib/entry/libimagentrymarkdown/src/lib.rs
@@ -17,6 +17,8 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//
+#![forbid(unsafe_code)]
+
#![recursion_limit="256"]
#![deny(
diff --git a/lib/entry/libimagentryref/src/lib.rs b/lib/entry/libimagentryref/src/lib.rs
index 0747c91..8439b13 100644
--- a/lib/entry/libimagentryref/src/lib.rs
+++ b/lib/entry/libimagentryref/src/lib.rs
@@ -17,6 +17,8 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//
+#![forbid(unsafe_code)]
+
#![recursion_limit="256"]
#![deny(
diff --git a/lib/entry/libimagentrytag/src/lib.rs b/lib/entry/libimagentrytag/src/lib.rs
index 6d5f46e..cf2817e 100644
--- a/lib/entry/libimagentrytag/src/lib.rs
+++ b/lib/entry/libimagentrytag/src/lib.rs
@@ -17,6 +17,8 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//
+#![forbid(unsafe_code)]
+
#![recursion_limit="256"]
#![deny(
diff --git a/lib/entry/libimagentryutil/src/lib.rs b/lib/entry/libimagentryutil/src/lib.rs
index f484d82..dfee282 100644
--- a/lib/entry/libimagentryutil/src/lib.rs
+++ b/lib/entry/libimagentryutil/src/lib.rs
@@ -17,6 +17,8 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//
+#![forbid(unsafe_code)]
+
#![recursion_limit="256"]
#![deny(
diff --git a/lib/entry/libimagentryview/src/lib.rs b/lib/entry/libimagentryview/src/lib.rs
index 19d40ba..2617f1c 100644
--- a/lib/entry/libimagentryview/src/lib.rs
+++ b/lib/entry/libimagentryview/src/lib.rs
@@ -17,6 +17,8 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//
+#![forbid(unsafe_code)]
+
#![recursion_limit="256"]
#![deny(
diff --git a/lib/etc/libimaginteraction/src/lib.rs b/lib/etc/libimaginteraction/src/lib.rs
index a2dc5d5..79360f9 100644
--- a/lib/etc/libimaginteraction/src/lib.rs
+++ b/lib/etc/libimaginteraction/src/lib.rs
@@ -17,6 +17,8 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//
+#![forbid(unsafe_code)]
+
#![recursion_limit="256"]
#![deny(
diff --git a/lib/etc/libimagnotification/src/lib.rs b/lib/etc/libimagnotification/src/lib.rs
index a64b3f4..afb326e 100644
--- a/lib/etc/libimagnotification/src/lib.rs
+++ b/lib/etc/libimagnotification/src/lib.rs
@@ -17,6 +17,8 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//
+#![forbid(unsafe_code)]
+
#![deny(
dead_code,
non_camel_case_types,
diff --git a/lib/etc/libimagtimeui/src/lib.rs b/lib/etc/libimagtimeui/src/lib.rs
index a70611a..e2f7fcf 100644
--- a/lib/etc/libimagtimeui/src/lib.rs
+++ b/lib/etc/libimagtimeui/src/lib.rs
@@ -17,6 +17,8 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//
+#![forbid(unsafe_code)]
+
#![deny(
dead_code,
non_camel_case_types,
diff --git a/lib/etc/libimagutil/src/lib.rs b/lib/etc/libimagutil/src/lib.rs
index 19bc795..08881dd 100644
--- a/lib/etc/libimagutil/src/lib.rs
+++ b/lib/etc/libimagutil/src/lib.rs
@@ -17,6 +17,8 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//
+#![forbid(unsafe_code)]
+
#![deny(
dead_code,
non_camel_case_types,