Files
next.js/rspack/crates/binding/Cargo.toml
Arian Tron 61f56f997c
Some checks failed
Test examples / Test Examples (20) (push) Has been cancelled
Test examples / Test Examples (22) (push) Has been cancelled
Lock Threads / action (push) Has been cancelled
Trigger Release / start (push) Has been cancelled
Stale issue handler / stale (push) Has been cancelled
Update Font Data / create-pull-request (push) Has been cancelled
build-and-deploy / deploy-target (push) Has been cancelled
build-and-deploy / build (push) Has been cancelled
build-and-deploy / stable - aarch64-unknown-linux-musl - node@16 (push) Has been cancelled
build-and-deploy / stable - x86_64-unknown-linux-musl - node@16 (push) Has been cancelled
build-and-deploy / stable - aarch64-unknown-linux-gnu - node@16 (push) Has been cancelled
build-and-deploy / stable - x86_64-unknown-linux-gnu - node@16 (push) Has been cancelled
build-and-deploy / stable - aarch64-pc-windows-msvc - node@16 (push) Has been cancelled
build-and-deploy / stable - x86_64-pc-windows-msvc - node@16 (push) Has been cancelled
build-and-deploy / stable - aarch64-apple-darwin - node@16 (push) Has been cancelled
build-and-deploy / stable - x86_64-apple-darwin - node@16 (push) Has been cancelled
build-and-deploy / build-wasm (nodejs) (push) Has been cancelled
build-and-deploy / build-wasm (web) (push) Has been cancelled
build-and-deploy / Deploy preview tarball (push) Has been cancelled
build-and-deploy / Potentially publish release (push) Has been cancelled
build-and-deploy / publish-turbopack-npm-packages (push) Has been cancelled
build-and-deploy / Deploy examples (push) Has been cancelled
build-and-deploy / thank you, build (push) Has been cancelled
build-and-deploy / Upload Turbopack Bytesize metrics to Datadog (push) Has been cancelled
Rspack Next.js development integration tests / Rspack integration tests (push) Has been cancelled
Rspack Next.js production integration tests / Rspack integration tests (push) Has been cancelled
Turbopack Next.js development integration tests / Next.js integration tests (push) Has been cancelled
Turbopack Next.js production integration tests / Next.js integration tests (push) Has been cancelled
Update Rspack test manifest / Update and upload Rspack development test manifest (push) Has been cancelled
Update Rspack test manifest / Update and upload Rspack production test manifest (push) Has been cancelled
Upload bundler test manifests to areweturboyet.com / Upload test results (push) Has been cancelled
Update React / create-pull-request (push) Has been cancelled
test-e2e-project-reset-cron / reset-test-project (push) Has been cancelled
Notify about the top 15 issues/PRs/feature requests (most reacted) in the last 90 days / run (push) Has been cancelled
first commit
2026-03-10 19:37:31 +03:30

47 lines
1.8 KiB
TOML

[package]
name = "next-rspack-binding"
publish = false
edition = "2024"
[lib]
crate-type = ["cdylib"]
[dependencies]
rspack_binding_builder = { version = "=0.6.7" }
rspack_binding_builder_macros = { version = "=0.6.7" }
rspack_core = { version = "=0.6.7" }
rspack_error = { version = "=0.6.7" }
rspack_hook = { version = "=0.6.7" }
rspack_plugin_externals = { version = "=0.6.7" }
rspack_sources = { version = "=0.4.17" }
regex = { version = "1.11.1" }
rspack_regex = { version = "=0.6.7" }
rustc-hash = { version = "2.1.1" }
napi = { version = "=3.2.2" }
napi-derive = { version = "=3.2.2" }
anyhow = { version = "1.0.95" }
serde_json = { version = "1.0.134" }
next-taskless = { version = "0.0.1", path = "../../../crates/next-taskless" }
# Enable SWC plugin feature for targets that support it
# Skip: wasm32-wasip1-threads, i686-pc-windows-msvc, aarch64-pc-windows-msvc, armv7-linux-androideabi, armv7-unknown-linux-gnueabihf
[target.'cfg(not(any(target_arch = "wasm32", target_arch = "arm", all(target_os = "windows", target_arch = "x86"), all(target_os = "windows", target_arch = "aarch64"))))'.dependencies]
rspack_binding_builder = { version = "=0.6.7", features = ["plugin"] }
[build-dependencies]
rspack_binding_build = { version = "=0.6.7" }
# Workaround for `cross` builds to resolve parent workspace dependencies.
# When cross-compiling, the build runs in an isolated container and can't find
# the root workspace (`../../../`), causing a "failed to find a workspace root"
# error for path dependencies like `next-taskless`.
# This mounts the parent directory into the container, making the root `Cargo.toml` visible.
# See: https://github.com/cross-rs/cross/issues/1181
[package.metadata.cross.build.env]
volumes = ["NEXT-TASKLESS_DEP=../../.."]