# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.80" name = "napi-derive-ohos" version = "1.0.2" authors = [ "LongYinan ", "Forehalo ", "southorange0929 ", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "N-API procedural macros" readme = "README.md" keywords = [ "NodeJS", "FFI", "NAPI", "n-api", ] license = "MIT" repository = "https://github.com/ohos-rs/ohos-rs" [package.metadata.workspaces] independent = true [lib] name = "napi_derive_ohos" path = "src/lib.rs" proc-macro = true [dependencies.convert_case] version = "0.6" [dependencies.napi-derive-backend-ohos] version = "1.0.2" [dependencies.proc-macro2] version = "1" [dependencies.quote] version = "1" [dependencies.syn] version = "2" features = [ "fold", "full", "extra-traits", ] [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"]