LongYinan 521ef58f59
refactor(napi): allow create BufferSlice from external data (#2263)
- also refactor the enum codegen, now we will not emit #[derive(Copy,
  Clone)] for the original enums.
- also refacotr the fn codegen, now #[napi] fn can accept env: &Env as
  argument, this is useful when the return type contains lifetime
2024-09-19 22:22:33 +08:00
..
2024-09-13 00:17:49 +08:00

napi-derive-backend

Take care the ast parsing from napi-derive and generate "bridge" runtime code for both nodejs and rust.