1[package]
2authors = ["LongYinan <lynweklm@gmail.com>", "Forehalo <forehalo@gmail.com>"]
3description = "N-API procedural macros"
4edition = "2021"
5keywords = ["NodeJS", "FFI", "NAPI", "n-api"]
6license = "MIT"
7name = "napi-derive"
8readme = "README.md"
9repository = "https://github.com/napi-rs/napi-rs"
10rust-version = "1.65"
11version = "2.16.0"
12
13[package.metadata.workspaces]
14independent = true
15
16[features]
17compat-mode = []
18default = ["compat-mode", "full"]
19full = ["type-def", "strict"]
20noop = ["napi-derive-backend/noop"]
21strict = ["napi-derive-backend/strict"]
22type-def = ["napi-derive-backend/type-def"]
23
24[dependencies]
25convert_case = "0.6"
26napi-derive-backend = { version = "1.0.62", path = "../backend" }
27proc-macro2 = "1"
28quote = "1"
29syn = { version = "2", features = ["fold", "full", "extra-traits"] }
30cfg-if = "1.0"
31
32[lib]
33proc-macro = true
34