Skip to content

Commit

Permalink
Start to add rust backed request execution under a feature-flag by re…
Browse files Browse the repository at this point in the history
…writing ConfigRequest (#9658)
  • Loading branch information
yamadapc committed May 1, 2024
1 parent 5230589 commit 20c4a9b
Show file tree
Hide file tree
Showing 26 changed files with 1,517 additions and 44 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
@@ -1,6 +1,7 @@
name: Continuous Integration

on:
merge_group:
pull_request:
push:
branches:
Expand Down
2 changes: 1 addition & 1 deletion .mocharc.json
@@ -1,5 +1,5 @@
{
"spec": "packages/*/!(integration-tests)/test/*.js",
"spec": "packages/*/!(integration-tests)/test/{*.js,**/*.{test,spec}.js}",
"require": ["@parcel/babel-register", "@parcel/test-utils/src/mochaSetup.js"],
// TODO: Remove this when https://github.com/nodejs/node/pull/28788 is resolved
"exit": true
Expand Down
110 changes: 102 additions & 8 deletions Cargo.lock

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

12 changes: 9 additions & 3 deletions crates/node-bindings/Cargo.toml
Expand Up @@ -8,7 +8,7 @@ edition = "2021"
crate-type = ["cdylib"]

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

rustls = ["sentry/rustls"]
openssl = ["sentry/native-tls"]
Expand All @@ -24,8 +24,12 @@ log = "0.4.21"
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 }
serde_json = { version = "1.0.114", optional = true }

serde = "1.0.198"
serde_json = "1.0.116"
toml = "0.8.12"
anyhow = "1.0.82"
mockall = "0.12.1"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
napi = { version = "2.12.6", features = ["serde-json", "napi4", "napi5"] }
Expand All @@ -48,5 +52,7 @@ jemallocator = { version = "0.3.2", features = ["disable_initial_exec_tls"] }
[target.'cfg(windows)'.dependencies]
mimalloc = { version = "0.1.25", default-features = false }

[dev-dependencies]

[build-dependencies]
napi-build = "2"

0 comments on commit 20c4a9b

Please sign in to comment.