File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -12,14 +12,9 @@ This project is covered by a [Code of Conduct](CODE_OF_CONDUCT.md).
12
12
[ ` node_api.h ` ] ( https://github.com/nodejs/node/blob/master/src/node_api.h )
13
13
using [ ` bindgen ` ] ( https://github.com/rust-lang-nursery/rust-bindgen ) .
14
14
* ` napi ` : high-level and rusty wrappers around ` napi-sys ` .
15
- * ` napi-codegen ` : a compiler plugin designed for you to be able to write a
16
- regular Rust function that takes JavaScript values as arguments and returns a
17
- ` NapiResult ` , put an annotation, and be good to go. It's not clear at this
18
- point whether we will continue taking this route, though. On the second
19
- thought, pretty function signatures don't seem worth diving into the hassle
20
- of maintaining compatibility with the latest nightly compiler and requiring
21
- using it. Good old macros and just a little bit of boilerplate code will
22
- solve the problem as well.
15
+ * ` napi-derive ` : contains a procedural macro that allows to construct typesafe
16
+ structures that represent function parameters from JavaScript function call
17
+ arguments and automatically validate them.
23
18
24
19
[ travis-badge ] : https://travis-ci.org/aqrln/napi-rs.svg?branch=master
25
20
[ travis-url ] : https://travis-ci.org/aqrln/napi-rs
You can’t perform that action at this time.
0 commit comments