Cargo Features
ast-grep-napi has no features set by default.
[dependencies]
ast-grep-napi = { version = "0.30.1", features = ["napi-noop-in-unit-test"] }
- napi-noop-in-unit-test
-
this feature is only for cargo test to avoid napi_ symbol undefined error see also napi-rs/napi-rs#1005, napi-rs/napi-rs#1099 and napi-rs/napi-rs#1032
Enables noop of napi-derive