Files
next.js/turbopack/crates/turbopack-ecmascript-hmr-protocol/Cargo.toml
Benjamin WoodruffandGitHub 8fa42deefd refactor(napi): Implement napi traits for RcStr (#79806)
This lets us use `RcStr` directly in function arguments and as part of `#[napi(object)]`s.

*You can just `RcStr` things!*

Here's an example of rspack doing something similar for a custom napi type: https://github.com/web-infra-dev/rspack/blob/35f1126963d5ba6860e9eba939fd5d62f9aa217f/crates/rspack_regex/src/napi.rs
2025-05-28 17:09:45 -07:00

22 lines
387 B
TOML

[package]
name = "turbopack-ecmascript-hmr-protocol"
version = "0.1.0"
description = "TBD"
license = "MIT"
edition = "2024"
autobenches = false
[lib]
bench = false
[lints]
workspace = true
[dependencies]
serde = { workspace = true }
serde_json = { workspace = true }
turbo-rcstr = { workspace = true }
turbopack-cli-utils = { workspace = true }
turbopack-core = { workspace = true }