Move secret module to quire-core
quire-server re-exports via `pub use quire_core::secret` so all
existing `crate::secret::` imports keep working without changes.

Assisted-by: GLM-5.1 via pi
change rmwxpxuusowpnpplzrmqvsxznuotrswu
commit 73fe9f0b5516bf9e03121591bd6d81c179ad54df
author Alpha Chen <alpha@kejadlen.dev>
date
parent pysmoqmu
diff --git a/Cargo.lock b/Cargo.lock
index c658e26..27aa9ac 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2139,8 +2139,10 @@ dependencies = [
  "mlua",
  "regex",
  "serde",
+ "serde_json",
  "tempfile",
  "thiserror",
+ "tracing",
 ]
 
 [[package]]
diff --git a/quire-core/Cargo.toml b/quire-core/Cargo.toml
index 4c876a4..deb6125 100644
--- a/quire-core/Cargo.toml
+++ b/quire-core/Cargo.toml
@@ -10,6 +10,8 @@ mlua = { version = "*", features = ["lua54", "serde", "vendored", "error-send"]
 regex = "*"
 serde = { version = "*", features = ["derive"] }
 thiserror = "*"
+tracing = "*"
 
 [dev-dependencies]
+serde_json = "*"
 tempfile = "*"
diff --git a/quire-core/src/lib.rs b/quire-core/src/lib.rs
index 9e35ad0..9d2811f 100644
--- a/quire-core/src/lib.rs
+++ b/quire-core/src/lib.rs
@@ -2,3 +2,4 @@
 //! and the in-container runner (`quire-ci`).
 
 pub mod fennel;
+pub mod secret;
diff --git a/quire-server/src/secret.rs b/quire-core/src/secret.rs
similarity index 100%
rename from quire-server/src/secret.rs
rename to quire-core/src/secret.rs
diff --git a/quire-server/src/lib.rs b/quire-server/src/lib.rs
index 0c5b85f..85bf264 100644
--- a/quire-server/src/lib.rs
+++ b/quire-server/src/lib.rs
@@ -4,7 +4,7 @@ mod error;
 pub mod event;
 pub use quire_core::fennel;
 pub mod quire;
-pub mod secret;
+pub use quire_core::secret;
 
 pub use error::Error;
 pub use error::Result;