Fixes#130
I'm not entirely sure why this works, but the compiler seems to like
it! :D
The example is intentionally as simple as it gets, but a "real" app
should probably return Result<Event, Error> from its handlers.
Signed-off-by: Jim Crossley <jim@crossleys.org>
Conditionally compile reqwest module when enabled
This resulted in a naming conflict between my desired feature name,
"reqwest", and the optional dependency itself. So I adopted the
convention of prefixing the features with "cloudevents-".
Signed-off-by: Jim Crossley <jim@crossleys.org>
Conditionally compile actix module when enabled
Mostly straightforward, though I don't particularly love that dev-deps
can't be optional: https://github.com/rust-lang/cargo/issues/1596
Signed-off-by: Jim Crossley <jim@crossleys.org>