[package] authors = ["LongYinan ", "Forehalo "] description = "N-API procedural macros" edition = "2021" keywords = ["NodeJS", "FFI", "NAPI", "n-api"] license = "MIT" name = "napi-derive" readme = "README.md" repository = "https://github.com/napi-rs/napi-rs" rust-version = "1.80" version = "3.0.0-beta.3" [package.metadata.workspaces] independent = true [features] compat-mode = [] default = ["type-def", "strict"] full = ["type-def", "strict", "compat-mode"] noop = ["napi-derive-backend/noop"] strict = ["napi-derive-backend/strict"] type-def = ["napi-derive-backend/type-def", "ctor"] [dependencies] convert_case = "0.8" ctor = { version = "0.4", features = ["dtor"], optional = true } napi-derive-backend = { version = "2.0.0-beta.3", path = "../backend" } proc-macro2 = "1" quote = "1" syn = { version = "2", features = ["fold", "full", "extra-traits"] } [lib] proc-macro = true