summaryrefslogtreecommitdiff
path: root/src/app
diff options
context:
space:
mode:
authorDoan Luu Duc Tai <doan@luuduct.ai>2026-11-01 08:25:58 -0600
committerDoan Luu Duc Tai <doan@luuduct.ai>2026-11-01 08:25:58 -0600
commit607be5ee239a9b7969eab96145c8af4ee57053d1 (patch)
tree582ada863d690ed8f113f266f2afc8252d421c39 /src/app
parent9349a2de648e241da8e00ba7ae25cb2a877ff3e9 (diff)
chore: remove obsolete migration code and docsHEADmain
Diffstat (limited to 'src/app')
-rw-r--r--src/app/files.rs1
-rw-r--r--src/app/project.rs6
2 files changed, 3 insertions, 4 deletions
diff --git a/src/app/files.rs b/src/app/files.rs
index e96e5a4..8b4f70b 100644
--- a/src/app/files.rs
+++ b/src/app/files.rs
@@ -43,7 +43,6 @@ pub(super) const SOURCE: &[&str] = &[
".cargo",
".gitignore",
".gitattributes",
- ".forgejo",
"src",
"tests",
"crates",
diff --git a/src/app/project.rs b/src/app/project.rs
index ac55ff3..bb7fa5a 100644
--- a/src/app/project.rs
+++ b/src/app/project.rs
@@ -47,14 +47,14 @@ pub(super) struct Settings {
pub(super) online: bool,
}
-#[derive(Debug, Deserialize, Serialize)]
+#[derive(Debug, Deserialize)]
#[serde(crate = "serde", deny_unknown_fields)]
pub(super) struct Configuration {
pub(super) format: u32,
pub(super) services: BTreeMap<String, Service>,
}
-#[derive(Debug, Deserialize, Serialize)]
+#[derive(Debug, Deserialize)]
#[serde(crate = "serde", deny_unknown_fields)]
pub(super) struct Service {
pub(super) image: String,
@@ -73,7 +73,7 @@ pub(super) struct Service {
tmpfs: Vec<String>,
}
-#[derive(Debug, Deserialize, Serialize)]
+#[derive(Debug, Deserialize)]
#[serde(crate = "serde", deny_unknown_fields)]
struct Mount {
source: String,