forked from mirrors/kingfisher
- Added Temporal Cloud active credential validation via GET https://saas-api.tmprl.cloud/cloud/current-identity using bearer auth, so Temporal keys validate against provider APIs instead of generic OIDC discovery. - Fixed JWT issuer normalization to treat bare host issuers (e.g. iss: temporal.io) as HTTPS URLs during discovery, avoiding low-level URL builder failures. - Added crates/kingfisher-rules/build.rs to ensure embedded rule assets rebuild when files under crates/kingfisher-rules/data change.
24 lines
525 B
Rust
24 lines
525 B
Rust
use std::fs;
|
|
use std::path::Path;
|
|
|
|
fn main() {
|
|
let data_dir = Path::new("data");
|
|
println!("cargo:rerun-if-changed={}", data_dir.display());
|
|
emit_rerun_for_tree(data_dir);
|
|
}
|
|
|
|
fn emit_rerun_for_tree(path: &Path) {
|
|
let Ok(entries) = fs::read_dir(path) else {
|
|
return;
|
|
};
|
|
|
|
for entry in entries.flatten() {
|
|
let p = entry.path();
|
|
if p.is_dir() {
|
|
emit_rerun_for_tree(&p);
|
|
continue;
|
|
}
|
|
|
|
println!("cargo:rerun-if-changed={}", p.display());
|
|
}
|
|
}
|