commit 8290eb0e55daf7d8ac483d6b50946d8b54b14e3c
parent 6d70d9b6f36dfab170960fb9cab7e59f15c18fa4
Author: triesap <triesap@radroots.dev>
Date: Mon, 19 Jan 2026 06:38:18 +0000
app-utils: scaffold utils crate
- add crates/utils Cargo.toml and lib.rs
- register utils crate in workspace
- add empty module manifest for helpers
- forbid unsafe code at crate root
Diffstat:
4 files changed, 18 insertions(+), 1 deletion(-)
diff --git a/Cargo.toml b/Cargo.toml
@@ -1,7 +1,8 @@
[workspace]
members = [
"app",
- "crates/core"
+ "crates/core",
+ "crates/utils"
]
exclude = [
"refs/crates"
diff --git a/crates/utils/Cargo.toml b/crates/utils/Cargo.toml
@@ -0,0 +1,12 @@
+[package]
+name = "radroots-app-utils"
+authors = ["Radroots Authors"]
+version.workspace = true
+edition.workspace = true
+license.workspace = true
+rust-version.workspace = true
+
+[lib]
+crate-type = ["rlib"]
+
+[dependencies]
diff --git a/crates/utils/src/error.rs b/crates/utils/src/error.rs
@@ -0,0 +1 @@
+#![forbid(unsafe_code)]
diff --git a/crates/utils/src/lib.rs b/crates/utils/src/lib.rs
@@ -0,0 +1,3 @@
+#![forbid(unsafe_code)]
+
+pub mod error;