cloudevents-sdk 0.9.0

CloudEvents official Rust SDK
Documentation
[dependencies.actix-http]
optional = true
version = "3"

[dependencies.actix-web]
optional = true
version = "4"

[dependencies.async-trait]
optional = true
version = "^0.1"

[dependencies.axum-lib]
optional = true
package = "axum"
version = "^0.8"

[dependencies.base64]
version = "^0.22"

[dependencies.bitflags]
version = "^2.6"

[dependencies.bytes]
optional = true
version = "^1.0"

[dependencies.chrono]
features = ["serde"]
version = "^0.4"

[dependencies.delegate-attr]
version = "^0.3"

[dependencies.futures]
features = ["compat"]
optional = true
version = "^0.3"

[dependencies.http]
optional = true
version = "1.2"

[dependencies.http-0-2]
optional = true
package = "http"
version = "0.2"

[dependencies.http-body-util]
optional = true
version = "^0.1"

[dependencies.nats-lib]
optional = true
package = "async-nats"
version = "0.42.0"

[dependencies.poem-lib]
optional = true
package = "poem"
version = "^3.1"

[dependencies.rdkafka-lib]
features = ["cmake-build"]
optional = true
package = "rdkafka"
version = "^0.38"

[dependencies.reqwest-lib]
default-features = false
features = ["rustls-tls"]
optional = true
package = "reqwest"
version = "^0.12"

[dependencies.serde]
features = ["derive"]
version = "^1.0"

[dependencies.serde_json]
version = "^1.0"

[dependencies.snafu]
version = "^0.8"

[dependencies.url]
features = ["serde"]
version = "^2.5"

[dependencies.uuid]
features = ["v4"]
version = "1"

[dependencies.warp-lib]
optional = true
package = "warp"
version = "^0.3"

[dev-dependencies.chrono]
features = ["serde"]
version = "^0.4"

[dev-dependencies.claims]
version = "0.8"

[dev-dependencies.mime]
version = "0.3"

[dev-dependencies.mockito]
version = "0.31.1"

[dev-dependencies.rmp-serde]
version = "1"

[dev-dependencies.rstest]
version = "0.23"

[dev-dependencies.serde_json]
version = "^1.0"

[dev-dependencies.serde_yaml]
version = "^0.9"

[dev-dependencies.url]
features = ["serde"]
version = "^2.1"

[dev-dependencies.version-sync]
version = "0.9.2"

[features]
actix = ["actix-web", "actix-http", "async-trait", "bytes", "futures", "http-0-2"]
axum = ["bytes", "http", "hyper", "axum-lib", "http-body-util", "async-trait"]
http-0-2-binding = ["async-trait", "bytes", "futures", "http-0-2"]
http-binding = ["async-trait", "bytes", "futures", "http"]
nats = ["nats-lib"]
poem = ["bytes", "http", "poem-lib", "hyper", "async-trait", "http-body-util", "futures"]
rdkafka = ["rdkafka-lib", "bytes", "futures"]
reqwest = ["reqwest-lib", "async-trait", "bytes", "http", "uuid/js"]
warp = ["warp-lib", "bytes", "http-0-2", "http-body-util", "hyper-0-14"]

[lib]
name = "cloudevents"
path = "src/lib.rs"

[package]
authors = ["Francesco Guardiani <francescoguard@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["web-programming", "encoding", "data-structures"]
description = "CloudEvents official Rust SDK"
documentation = "https://docs.rs/cloudevents-sdk"
edition = "2018"
exclude = [".github/*"]
license-file = "LICENSE"
name = "cloudevents-sdk"
readme = "README.md"
repository = "https://github.com/cloudevents/sdk-rust"
resolver = "2"
version = "0.9.0"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]

[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dependencies.web-sys]
features = ["Window", "Location"]
version = "^0.3"

[target.'cfg(all(target_arch = "wasm32", target_os = "wasi"))'.dependencies.hyper_wasi]
features = ["full"]
optional = true
version = "0.15"

[target.'cfg(all(target_arch = "wasm32", target_os = "wasi"))'.dev-dependencies.tokio_wasi]
features = ["io-util", "fs", "net", "time", "rt", "macros"]
version = "1"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.hostname]
version = "^0.4"

[target.'cfg(not(target_os = "wasi"))'.dependencies.hyper]
optional = true
package = "hyper"
version = "^1.5"

[target.'cfg(not(target_os = "wasi"))'.dependencies.hyper-0-14]
optional = true
package = "hyper"
version = "^0.14"

[target.'cfg(not(target_os = "wasi"))'.dev-dependencies.actix-rt]
version = "^2"

[target.'cfg(not(target_os = "wasi"))'.dev-dependencies.tokio]
features = ["full"]
version = "^1.0"

[target.'cfg(not(target_os = "wasi"))'.dev-dependencies.tower]
features = ["util"]
version = "0.5"

[[test]]
name = "version_number"
path = "tests/version_number.rs"