v0.2.0
New features
- Generated clients from the respective service/object/workflow macros. To use them, just use
context.service_client::<MyTraitClient>()et al. - You can now use the hyper integration alone, without using our
HttpServerthat depends ontokio, by enabling the featurehyperand disabling the featurehttp_server - Now the context methods are defined in traits
- Add
ctx.rand()andctx.rand_uuid()for deterministic random number/uuid generation - Add
ctx.headers()andctx.headers_mut()to access the ingress headers - Add identity verification
Breaking changes
- Renamed
HyperServertoHttpServer - Removed context
send,send_delayandcall, replaced withctx.request(..).send()andctx.request(..).call()(in future thisRequeststruct will allow to configure some parameters of the request, such as headers)
Full Changelog: v0.1.0...v0.2.0