Skip to content

Commit 9882d5c

Browse files
committed
Fix reqwest build by enabling js feature
Per https://docs.rs/getrandom/latest/getrandom/#webassembly-support Signed-off-by: Jim Crossley <[email protected]>
1 parent 8b77dd8 commit 9882d5c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ name = "cloudevents"
1919
[features]
2020
http-binding = ["async-trait", "bytes", "futures", "http"]
2121
actix = ["actix-web", "actix-http", "async-trait", "bytes", "futures", "http"]
22-
reqwest = ["reqwest-lib", "async-trait", "bytes", "http"]
22+
reqwest = ["reqwest-lib", "async-trait", "bytes", "http", "uuid/js"]
2323
rdkafka = ["rdkafka-lib", "bytes", "futures"]
2424
warp = ["warp-lib", "bytes", "http", "hyper"]
2525
axum = ["bytes", "http", "hyper", "axum-lib", "http-body", "async-trait"]
@@ -35,6 +35,7 @@ url = { version = "^2.1", features = ["serde"] }
3535
snafu = "^0.6"
3636
bitflags = "^1.2"
3737
uuid = { version = "1", features = ["v4"] }
38+
3839
# runtime optional deps
3940
actix-web = { version = "4", optional = true }
4041
actix-http = { version = "3", optional = true }

0 commit comments

Comments
 (0)