napi-rs/crates/macro/Cargo.toml
LongYinan daf5f1f9e9
Release independent packages
- napi@2.4.0
- napi-derive@2.4.0
- napi-sys@2.2.0
- napi-build@2.0.0
2022-05-07 15:51:22 +08:00

31 lines
813 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"
version = "2.4.0"
[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.5"
napi-derive-backend = { version = "1.0.31", path = "../backend" }
proc-macro2 = "1.0"
quote = "1.0"
syn = { version = "1.0", features = ["fold", "full", "extra-traits"] }
[lib]
proc-macro = true