Skip to content

Commit

Permalink
build(cargo): update next-binding to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
kwonoj committed Dec 9, 2022
1 parent 82b680e commit 3dcc015
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions packages/next-swc/crates/core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ styled_jsx = "0.29.8"
modularize_imports = "0.25.8"
tracing = { version = "0.1.37", features = ["release_max_level_info"] }

next-binding = { git = "https://github.com/vercel/turbo.git", rev = "bcf3461d2e7d63f55f722287ab7d5f99d39f52e6", features = [
next-binding = { git = "https://github.com/vercel/turbo.git", rev = "11aba102d4b0709003d42f04e15a2cbfed98df2a", features = [
"__swc_core",
"__swc_core_next_core",
"__swc_transform_styled_jsx",
Expand All @@ -33,7 +33,7 @@ next-binding = { git = "https://github.com/vercel/turbo.git", rev = "bcf3461d2e7
] }

[dev-dependencies]
next-binding = { git = "https://github.com/vercel/turbo.git", rev = "bcf3461d2e7d63f55f722287ab7d5f99d39f52e6", features = [
next-binding = { git = "https://github.com/vercel/turbo.git", rev = "11aba102d4b0709003d42f04e15a2cbfed98df2a", features = [
"__swc_core_testing_transform",
"__swc_testing",
] }
Expand Down
6 changes: 3 additions & 3 deletions packages/next-swc/crates/napi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ tracing = { version = "0.1.37", features = ["release_max_level_info"] }
tracing-futures = "0.2.5"
tracing-subscriber = "0.3.9"
tracing-chrome = "0.5.0"
next-binding = { git = "https://github.com/vercel/turbo.git", rev = "bcf3461d2e7d63f55f722287ab7d5f99d39f52e6", features = [
next-binding = { git = "https://github.com/vercel/turbo.git", rev = "11aba102d4b0709003d42f04e15a2cbfed98df2a", features = [
"__swc_core_binding_napi",
"__feature_next_dev_server",
"__feature_node_file_trace",
"__turbo_next_dev_server",
"__turbo_node_file_trace",
"__feature_mdx_rs",
] }

Expand Down
2 changes: 1 addition & 1 deletion packages/next-swc/crates/napi/src/mdx.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use napi::bindgen_prelude::*;
use next_binding::features::mdx::{compile, Options};
use next_binding::features::mdxjs::{compile, Options};

pub struct MdxCompileTask {
pub input: String,
Expand Down
2 changes: 1 addition & 1 deletion packages/next-swc/crates/napi/src/turbopack.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use crate::util::MapErr;
use napi::bindgen_prelude::*;
use next_binding::turbo::dev_server::{devserver_options::DevServerOptions, start_server};
use next_binding::turbo::next_dev::{devserver_options::DevServerOptions, start_server};

#[napi]
pub async fn start_turbo_dev(options: Buffer) -> napi::Result<()> {
Expand Down
2 changes: 1 addition & 1 deletion packages/next-swc/crates/wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ wasm-bindgen-futures = "0.4.8"
getrandom = { version = "0.2.5", optional = true, default-features = false }
js-sys = "0.3.59"
serde-wasm-bindgen = "0.4.3"
next-binding = { git = "https://github.com/vercel/turbo.git", rev = "bcf3461d2e7d63f55f722287ab7d5f99d39f52e6", features = [
next-binding = { git = "https://github.com/vercel/turbo.git", rev = "11aba102d4b0709003d42f04e15a2cbfed98df2a", features = [
"__swc_core_binding_wasm",
"__feature_mdx_rs",
] }
Expand Down

0 comments on commit 3dcc015

Please sign in to comment.