Skip to content

Commit

Permalink
Use rustls for sentry
Browse files Browse the repository at this point in the history
  • Loading branch information
yamadapc committed Apr 23, 2024
1 parent db2984d commit 87c4645
Show file tree
Hide file tree
Showing 2 changed files with 177 additions and 8 deletions.
177 changes: 171 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions crates/node-bindings/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ edition = "2021"
crate-type = ["cdylib"]

[features]
canary = ["sentry", "once_cell", "whoami", "serde", "serde_json"]
canary = ["sentry", "once_cell", "whoami", "serde", "serde_json", "rustls"]

rustls = ["sentry/rustls"]
openssl = ["sentry/native-tls"]

[dependencies]
napi-derive = "2.12.5"
Expand All @@ -17,7 +20,8 @@ parcel-resolver = { path = "../../packages/utils/node-resolver-rs" }
dashmap = "5.4.0"
xxhash-rust = { version = "0.8.2", features = ["xxh3"] }
log = "0.4.21"
sentry = { version = "0.32.2", optional = true }

sentry = { version = "0.32.2", optional = true, default-features = false, features = ["backtrace", "contexts", "panic", "reqwest", "debug-images", "anyhow"]}
once_cell = { version = "1.19.0", optional = true }
whoami = { version = "1.5.1", optional = true }
serde = { version = "1.0.197", optional = true }
Expand Down

0 comments on commit 87c4645

Please sign in to comment.