-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
delegate-attr, base64, snafu, bitflags, hostname, and serde_yaml. Signed-off-by: Omar Zabala-Ferrera <[email protected]>
- Loading branch information
1 parent
03021f7
commit e8f71dc
Showing
50 changed files
with
1,081 additions
and
701 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "cloudevents-sdk" | ||
version = "0.7.0" | ||
version = "0.8.0" | ||
authors = ["Francesco Guardiani <[email protected]>"] | ||
license-file = "LICENSE" | ||
edition = "2018" | ||
|
@@ -23,78 +23,75 @@ name = "cloudevents" | |
|
||
[features] | ||
http-binding = ["async-trait", "bytes", "futures", "http"] | ||
actix = ["actix-web", "actix-http", "async-trait", "bytes", "futures", "http"] | ||
http-0-2-binding = ["async-trait", "bytes", "futures", "http-0-2"] | ||
actix = ["actix-web", "actix-http", "async-trait", "bytes", "futures", "http-0-2"] | ||
reqwest = ["reqwest-lib", "async-trait", "bytes", "http", "uuid/js"] | ||
rdkafka = ["rdkafka-lib", "bytes", "futures"] | ||
warp = ["warp-lib", "bytes", "http", "hyper"] | ||
axum = ["bytes", "http-1-1", "hyper-1-3", "axum-lib-0-7", "http-body-1-0", "http-body-util", "async-trait"] | ||
poem = ["bytes", "http", "poem-lib", "hyper", "async-trait"] | ||
warp = ["warp-lib", "bytes", "http-0-2", "http-body-util", "hyper-0-14"] | ||
axum = ["bytes", "http", "hyper", "axum-lib", "http-body-util", "async-trait"] | ||
poem = ["bytes", "http", "poem-lib", "hyper", "async-trait", "http-body-util", "futures"] | ||
nats = ["nats-lib"] | ||
|
||
[dependencies] | ||
serde = { version = "^1.0", features = ["derive"] } | ||
serde_json = "^1.0" | ||
chrono = { version = "^0.4", features = ["serde"] } | ||
delegate-attr = "^0.2" | ||
base64 = "^0.12" | ||
url = { version = "^2.1", features = ["serde"] } | ||
snafu = "^0.6" | ||
bitflags = "^1.2" | ||
delegate-attr = "^0.3" | ||
base64 = "^0.22" | ||
url = { version = "^2.5", features = ["serde"] } | ||
snafu = "^0.8" | ||
bitflags = "^2.6" | ||
uuid = { version = "1", features = ["v4"] } | ||
|
||
# runtime optional deps | ||
actix-web = { version = "4", optional = true } | ||
actix-http = { version = "3", optional = true } | ||
reqwest-lib = { version = "^0.11", default-features = false, features = ["rustls-tls"], optional = true, package = "reqwest" } | ||
reqwest-lib = { version = "^0.12", default-features = false, features = ["rustls-tls"], optional = true, package = "reqwest" } | ||
rdkafka-lib = { version = "^0.36", features = ["cmake-build"], optional = true, package = "rdkafka" } | ||
warp-lib = { version = "^0.3", optional = true, package = "warp" } | ||
async-trait = { version = "^0.1.33", optional = true } | ||
async-trait = { version = "^0.1", optional = true } | ||
bytes = { version = "^1.0", optional = true } | ||
# bytes-1-6 = { version = "^1.6", optional = true, package="bytes" } | ||
futures = { version = "^0.3", optional = true } | ||
http = { version = "0.2", optional = true } | ||
http-1-1 = { version = "1.1", optional = true, package = "http"} | ||
axum-lib = { version = "^0.6", optional = true, package="axum"} | ||
axum-lib-0-7 = { version = "^0.7", optional = true, package="axum"} | ||
http-body = { version = "^0.4", optional = true } | ||
http-body-1-0 = { version = "^1.0", optional = true, package="http-body" } | ||
futures = { version = "^0.3", optional = true, features = ["compat"]} | ||
http = { version = "1.1", optional = true} | ||
http-0-2 = { version = "0.2", optional = true, package = "http"} | ||
axum-lib = { version = "^0.7", optional = true, package="axum"} | ||
http-body-util = {version = "^0.1", optional = true} | ||
poem-lib = { version = "=1.2.34", optional = true, package = "poem" } | ||
nats-lib = { version = "0.21.0", optional = true, package = "nats" } | ||
poem-lib = { version = "^3.1", optional = true, package = "poem" } | ||
nats-lib = { version = "0.25.0", optional = true, package = "nats" } | ||
|
||
[target."cfg(not(target_arch = \"wasm32\"))".dependencies] | ||
hostname = "^0.3" | ||
hostname = "^0.4" | ||
|
||
[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dependencies] | ||
web-sys = { version = "^0.3", features = ["Window", "Location"] } | ||
|
||
[target.'cfg(not(target_os = "wasi"))'.dependencies] | ||
hyper = { version = "^0.14", optional = true } | ||
hyper-1-3 = { version = "^1.3", optional = true, package="hyper" } | ||
hyper = { version = "^1.4", optional = true, package="hyper" } | ||
hyper-0-14 = { version = "^0.14", optional = true, package = "hyper"} | ||
|
||
[target.'cfg(all(target_arch = "wasm32", target_os = "wasi"))'.dependencies] | ||
hyper_wasi = { version = "0.15", features = ["full"], optional = true } | ||
|
||
[dev-dependencies] | ||
rstest = "0.6" | ||
rstest = "0.23" | ||
claims = "0.7.1" | ||
version-sync = "0.9.2" | ||
serde_yaml = "0.8" | ||
serde_yaml = "^0.9" | ||
rmp-serde = "1" | ||
|
||
# runtime dev-deps | ||
|
||
url = { version = "^2.1", features = ["serde"] } | ||
serde_json = { version = "^1.0" } | ||
chrono = { version = "^0.4", features = ["serde"] } | ||
mockito = "0.25.1" | ||
mockito = "0.31.1" | ||
mime = "0.3" | ||
|
||
|
||
[target.'cfg(not(target_os = "wasi"))'.dev-dependencies] | ||
actix-rt = { version = "^2" } | ||
tokio = { version = "^1.0", features = ["full"] } | ||
tower = { version = "0.4", features = ["util"] } | ||
tower = { version = "0.5", features = ["util"] } | ||
|
||
[target.'cfg(all(target_arch = "wasm32", target_os = "wasi"))'.dev-dependencies] | ||
tokio_wasi = { version = "1", features = [ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.