- switchyard-egress: host allowlist (exact and *.suffix), block of loopback/RFC1918/CGNAT/link-local/metadata/multicast/reserved and IPv6 forms that embed them, DNS answers validated then pinned so reqwest never re-resolves, https only, 3 re-checked redirects, credential headers dropped when a redirect leaves the host, caller Authorization and Cookie stripped, size and time caps. - switchyard-vault: per-org XChaCha20-Poly1305 data keys wrapped by a versioned KEK, org|credential associated data, zero-downtime re-wrap. - switchyard-cache: TTL cache with a byte budget and single-flight dedupe. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
11 lines
295 B
TOML
11 lines
295 B
TOML
[package]
|
|
name = "switchyard-cache"
|
|
description = "Switchyard response cache (TTL, byte budget) and single-flight dedupe of identical concurrent calls."
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[dependencies]
|
|
tokio.workspace = true
|
|
serde_json.workspace = true
|