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