diff options
author | Arthur Silva <arthurprs@gmail.com> | 2022-07-05 23:01:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-05 23:01:41 +0200 |
commit | cdba53a73d5bea9e19b4bb30dac6db55bdb28aad (patch) | |
tree | 4a3cebc45e1b2058848b723ff36f9176280dc293 | |
parent | be837ed70f663b9555c65ea1d5a3df2292533416 (diff) |
feat(core): Re-export v8 use_custom_libcxx feature (#14475)
-rw-r--r-- | core/Cargo.toml | 6 | ||||
-rw-r--r-- | serde_v8/Cargo.toml | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/core/Cargo.toml b/core/Cargo.toml index 06072da69..0c8a2fa0a 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -12,6 +12,10 @@ description = "A modern JavaScript/TypeScript runtime built with V8, Rust, and T [lib] path = "lib.rs" +[features] +default = ["v8_use_custom_libcxx"] +v8_use_custom_libcxx = ["v8/use_custom_libcxx"] + [dependencies] anyhow = "1.0.57" deno_ops = { path = "../ops", version = "0.20.0" } @@ -27,7 +31,7 @@ serde_json = { version = "1.0.79", features = ["preserve_order"] } serde_v8 = { version = "0.53.0", path = "../serde_v8" } sourcemap = "=6.0.1" url = { version = "2.2.2", features = ["serde"] } -v8 = "0.44.3" +v8 = { version = "0.44.3", default-features = false } [[example]] name = "http_bench_json_ops" diff --git a/serde_v8/Cargo.toml b/serde_v8/Cargo.toml index 7afa9c3cd..f153395b1 100644 --- a/serde_v8/Cargo.toml +++ b/serde_v8/Cargo.toml @@ -17,7 +17,7 @@ bytes = "1" derive_more = "0.99.17" serde = { version = "1.0.136", features = ["derive"] } smallvec = { version = "1.8", features = ["union"] } -v8 = "0.44.3" +v8 = { version = "0.44.3", default-features = false } [dev-dependencies] bencher = "0.1" |