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
HttpServer
that depends ontokio
, by enabling the featurehyper
and 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
HyperServer
toHttpServer
- Removed context
send
,send_delay
andcall
, replaced withctx.request(..).send()
andctx.request(..).call()
(in future thisRequest
struct will allow to configure some parameters of the request, such as headers)
Full Changelog: v0.1.0...v0.2.0