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