napi-rs/crates/macro/Cargo.toml
LongYinan abf041542c
Release independent packages
- napi@3.0.0-beta.2
- napi-derive@3.0.0-beta.2
2025-05-22 20:04:41 +08:00

34 lines
929 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.80"
version = "3.0.0-beta.2"
[package.metadata.workspaces]
independent = true
[features]
compat-mode = []
default = ["type-def", "strict"]
full = ["type-def", "strict", "compat-mode"]
noop = ["napi-derive-backend/noop"]
strict = ["napi-derive-backend/strict"]
type-def = ["napi-derive-backend/type-def", "ctor"]
[dependencies]
convert_case = "0.8"
ctor = { version = "0.4", features = ["dtor"], optional = true }
napi-derive-backend = { version = "2.0.0-beta.2", path = "../backend" }
proc-macro2 = "1"
quote = "1"
syn = { version = "2", features = ["fold", "full", "extra-traits"] }
[lib]
proc-macro = true