Skip to content

Commit 94c4793

Browse files
committed
feat: add feature for using surf with the h1-client
1 parent 8909021 commit 94c4793

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Diff for: sentry/Cargo.toml

+3-2
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ debug-logs = ["log_", "sentry-core/debug-logs"]
4040
transport = ["reqwest", "native-tls"]
4141
reqwest = ["reqwest_", "httpdate"]
4242
curl = ["curl_", "httpdate", "serde_json"]
43-
surf = ["surf_", "httpdate"]
43+
surf-h1 = ["surf_/h1-client", "httpdate"]
44+
surf = ["surf_/curl-client", "httpdate"]
4445
native-tls = ["reqwest_/default-tls"]
4546
rustls = ["reqwest_/rustls-tls"]
4647

@@ -58,8 +59,8 @@ sentry-tracing = { version = "0.23.0", path = "../sentry-tracing", optional = tr
5859
log_ = { package = "log", version = "0.4.8", optional = true, features = ["std"] }
5960
reqwest_ = { package = "reqwest", version = "0.11", optional = true, features = ["blocking", "json"], default-features = false }
6061
curl_ = { package = "curl", version = "0.4.25", optional = true }
61-
surf_ = { package = "surf", version = "2.0.0", optional = true }
6262
httpdate = { version = "1.0.0", optional = true }
63+
surf_ = { package = "surf", version = "2.0.0", optional = true, default-features = false }
6364
serde_json = { version = "1.0.48", optional = true }
6465
tokio = { version = "1.0", features = ["rt"] }
6566

0 commit comments

Comments
 (0)