napi-rs/crates/macro/Cargo.toml

32 lines
831 B
TOML
Raw Normal View History

[package]
authors = ["LongYinan <lynweklm@gmail.com>", "Forehalo <forehalo@gmail.com>"]
description = "N-API procedural macros"
2021-12-08 13:52:33 +09:00
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.3.0-canary.0"
[package.metadata.workspaces]
independent = true
[features]
compat-mode = []
default = ["compat-mode", "full"]
full = ["type-def", "strict"]
2021-12-08 13:52:33 +09:00
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.27-canary.0", path = "../backend" }
proc-macro2 = "1.0"
quote = "1.0"
2022-02-10 20:00:38 +09:00
syn = { version = "1.0", features = ["fold", "full", "extra-traits"] }
[lib]
proc-macro = true