Registry / build-tool / napi-sym

napi-sym

JSON →
library0.181.0rscratesunverified

A proc macro for writing N-API symbols.

# Cargo.toml [dependencies] napi_sym = "0.181.0"
INSTALL
IMPORT
SIG · NAPI-SYM
N
napi-sym
build-toolrustv0.181.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

napi_sym
use napi_sym::napi_sym;

Defines an N-API symbol using the proc macro.

use napi_sym::napi_sym; #[napi_sym] fn hello() -> String { "Hello from N-API!".to_string() }
Debug
Known issues
breakingThis crate is part of the Deno project and may have breaking changes between versions.
fix
Pin to a specific version and check Deno's release notes for API changes.
affects: >=0.180.0
Upgrade
Version history
0.181.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
OpenAI (training)
1
Resources