Skip to content

Commit

Permalink
High-level API: Use Sentry with Rustls instead of native TLS
Browse files Browse the repository at this point in the history
in order to avoid libssl dependency on Linux
  • Loading branch information
helgoboss committed Dec 20, 2024
1 parent 9368c54 commit 5018b7b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions main/high/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,9 @@ itertools = "0.10.5"
camino = "1.1.7"
# For excluding some fields from Debug
derivative = "2.2.0"
# For reporting panics to Sentry or GlitchTip, if enabled
sentry = { version = "0.35.0", optional = true }
# For reporting panics to Sentry or GlitchTip, if enabled.
# We insist on rustls instead of native-tls because we don't want libssl dependencies on Linux.
sentry = { version = "0.35.0", optional = true, default-features = false, features = ["backtrace", "contexts", "panic", "reqwest", "debug-images", "rustls"] }

[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3", features = ["psapi", "processthreadsapi", "winuser"] }
2 changes: 1 addition & 1 deletion test/test-extension-plugin/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ c_str_macro = "1.0.2"
tracing.workspace = true

[dev-dependencies]
reqwest = { version = "0.10", features = ["blocking"] }
reqwest = { version = "0.10", default-features = false, features = ["blocking"] }
tar = "0.4.26"
xz2 = "0.1"
wait-timeout = "0.1.5"
Expand Down

0 comments on commit 5018b7b

Please sign in to comment.