napi-rs/crates/macro/Cargo.toml
LongYinan af248435ac
Release independent packages
- napi-derive@2.14.4
2023-12-13 13:27:53 +08:00

33 lines
845 B
TOML

[package]
authors = ["LongYinan <lynweklm@gmail.com>", "Forehalo <forehalo@gmail.com>"]
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.65"
version = "2.14.4"
[package.metadata.workspaces]
independent = true
[features]
compat-mode = []
default = ["compat-mode", "full"]
full = ["type-def", "strict"]
noop = ["napi-derive-backend/noop"]
strict = ["napi-derive-backend/strict"]
type-def = ["napi-derive-backend/type-def"]
[dependencies]
convert_case = "0.6"
napi-derive-backend = { version = "1.0.57", path = "../backend" }
proc-macro2 = "1"
quote = "1"
syn = { version = "2", features = ["fold", "full", "extra-traits"] }
cfg-if = "1.0"
[lib]
proc-macro = true