Cargo Features

cloudevents-sdk has no features set by default.

[dependencies]
cloudevents-sdk = { version = "0.7.0", features = ["http-binding", "actix", "reqwest", "rdkafka", "warp", "axum", "poem", "nats"] }
http-binding = async-trait, bytes, futures, http

Affects binding::http

actix = actix-http, actix-web, async-trait, bytes, futures, http

Affects binding::actix, binding::http

reqwest = async-trait, bytes, http, reqwest-lib

Enables js of uuid

Affects binding::reqwest, binding::http

rdkafka = bytes, futures, rdkafka-lib

Affects binding::rdkafka

warp = bytes, http, hyper, warp-lib

Affects binding::warp, binding::http

axum = async-trait, axum-lib, bytes, http, http-body, hyper

Affects binding::axum, binding::http

poem = async-trait, bytes, http, hyper, poem-lib

Affects binding::poem, binding::http

nats = nats-lib

Affects binding::nats

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

actix-web actix?

Enables actix-web

runtime optional deps

actix-http actix?
reqwest-lib reqwest?

Enables reqwest ^0.11

rdkafka-lib rdkafka?

Enables rdkafka ^0.29

warp-lib warp?

Enables warp

async-trait actix? axum? http-binding? poem? reqwest?
bytes actix? axum? http-binding? poem? rdkafka? reqwest? warp?
futures actix? http-binding? rdkafka?
http actix? axum? http-binding? poem? reqwest? warp?

Enables http ^0.2

hyper axum? poem? warp?

Enables hyper ^0.14

Affects builder::adapter

axum-lib axum?

Enables axum ^0.5

http-body axum?

Enables http-body ^0.4

poem-lib poem?

Enables poem =1.2.34

nats-lib nats?

Enables nats ^0.21.0