forehalo
2467b7139b
Introduce #[napi]
procedural macro to automation development boilerplate ( #696 )
...
* napi procedural macro for basic rust/JavaScript types
* introduce the `compat-mode` for `napi` and `napi-derive` crates for backward compatible
* remove #[inline] and let compiler to decide the inline behavior
* cli now can produce the `.d.ts` file for native binding
* many tests and example for the new procedural macro
Co-authored-by: LongYinan <lynweklm@gmail.com>
2021-09-23 01:29:09 +08:00
LongYinan
291def2d70
perf(napi): make FuturePromise static dispatch
2021-06-21 23:36:54 +08:00
LongYinan
72960906dc
ci: add memory leak detect job
2021-05-29 23:24:25 +08:00
LongYinan
6fe60f69c1
feat(cli): new project command
2020-12-23 00:16:45 +08:00
LongYinan
276fc45603
style: format toml files
2020-10-11 21:36:14 +08:00
LongYinan
fb4d07edd4
feat: add benchmark crate and frameworks
2020-09-30 15:31:17 +08:00
LongYinan
244db37c3b
refactor: decouple sys module of new napi-rs into a crate
2020-07-15 00:59:41 +08:00
LongYinan
0b2561225f
feat(derive): js_function derive
2020-04-26 16:36:44 +08:00
LongYinan
e0e85502af
feat: upgrade to std-future
2020-02-18 21:09:17 +08:00
dependabot-preview[bot]
ce1fd81465
build(deps): update futures requirement from 0.1.27 to 0.3.1
...
Updates the requirements on [futures](https://github.com/rust-lang-nursery/futures-rs ) to permit the latest version.
- [Release notes](https://github.com/rust-lang-nursery/futures-rs/releases )
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang-nursery/futures-rs/compare/0.1.27...0.3.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-02 04:29:08 +00:00
dependabot-preview[bot]
2a1a401aff
build(deps): update bindgen requirement from 0.49 to 0.52
...
Updates the requirements on [bindgen](https://github.com/rust-lang/rust-bindgen ) to permit the latest version.
- [Release notes](https://github.com/rust-lang/rust-bindgen/releases )
- [Changelog](https://github.com/rust-lang/rust-bindgen/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/rust-bindgen/compare/v0.49.0...v0.52.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-02 04:02:35 +00:00
LongYinan
40e8ba32a9
chore: update dependencies
2019-05-15 22:35:31 +08:00
LongYinan
cbf5b42d61
build: use cargo to build napi-rs instead of napi.js
2018-06-26 16:31:42 +08:00
LongYinan
c05ab719b3
init
2018-04-28 16:26:38 +08:00