diff --git a/core/Cargo.toml b/core/Cargo.toml index 06072da697..0c8a2fa0a3 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 7afa9c3cdc..f153395b10 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"