diff --git a/crates/next-binding/Cargo.toml b/crates/next-binding/Cargo.toml index 0b51d485c5e32..f073119fa7d43 100644 --- a/crates/next-binding/Cargo.toml +++ b/crates/next-binding/Cargo.toml @@ -77,6 +77,10 @@ __turbo = [] __turbo_next_dev_server = ["__turbo", "next-dev/serializable"] __turbo_node_file_trace = ["__turbo", "node-file-trace/node-api"] +# set tls for downstream dependenices of turbo +__turbo_native_tls = ["next-dev/native-tls"] +__turbo_rustls_tls = ["next-dev/rustls-tls"] + __features = [] __feature_mdx_rs = ["__features", "mdxjs/serializable"] @@ -96,9 +100,12 @@ __swc_transform_modularize_imports = [ __swc_testing = ["__swc", "testing"] [dependencies] +# TODO: Not sure what's going on, but using `workspace = true` noops `default-features = false`? +next-dev = { optional = true, path = "../next-dev", version = "0.1.0", default-features = false, features = [ + "custom_allocator", +] } mdxjs = { optional = true, workspace = true } modularize_imports = { optional = true, workspace = true } -next-dev = { optional = true, workspace = true } node-file-trace = { optional = true, workspace = true } styled_components = { optional = true, workspace = true } styled_jsx = { optional = true, workspace = true }