Rust SDK 0.2.0-alpha4
Added
Added APIs to override caching behavior of backend responses. This replaces the previous
ttl: i32argument tosend()andsend_async(), and adds the ability to overridestale-while-revalidate. See therequest::CacheOverridetype, as well as the new methods onRequestExtand the entirely newRequestBuilderExt.Added hostcall error code definitions to
XqdStatus, and updated hostcall implementations to return these error codes.Added the
fastly::logmodule, which contains a basic interface for writing to Fastly log endpoints.
Prior change: Rust SDK 0.2.0-alpha3
Following change: Rust SDK 0.3.0