feat: Migrate to serde-saphyr
CI / prek (pull_request) Canceled after 0s
CI / cargo shear (pull_request) Canceled after 0s
Committed / committed (pull_request) Canceled after 0s
Audit / cargo audit (push) Failing after 11m53s

This commit is contained in:
2026-10-21 08:05:01 +02:00
parent 65ed7ab1d2
commit 41c507a42b
6 changed files with 83 additions and 7 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ pub async fn get_current_context() -> Option<String> {
tokio::fs::read(&TalosConfig::merged_path())
.await
.ok()
.and_then(|config| serde_yaml::from_slice(&config).ok())
.and_then(|config| serde_saphyr::from_slice(&config).ok())
.map(|config: TalosConfig| config.context)
}