LongYinan
46cbcf3ff1
feat(cli): allow sync fs operation between workers/mainThread ( #2064 )
...
* feat(cli): allow sync fs operation between workers/mainThread
* allow sync fs operation between workers/mainThread (#2065 )
* Fix
* Update fixture
* flaky test
* Fix cross compile target
* Update zig
* macos-cross test was filtered
---------
Co-authored-by: Toyo Li <lifenglin314@outlook.com>
2024-04-23 12:14:06 +08:00
LongYinan
c7d6ee6e4b
refactor(cli): --profile flag ( #1604 )
2023-05-27 12:00:43 +08:00
LongYinan
3d48d4464b
fix(cli,napi-derive): re-export types from shared crate ( #1531 )
...
* fix(cli,napi-derive): re-export types from shared crate
* chore: publish
- @napi-rs/cli@2.15.1-alpha.0
* Clippy fix
* Fix memory testing
2023-03-21 18:12:52 +08:00
iuser
13996c1864
feat(napi): error_anyhow feature
2022-08-17 22:50:52 +08:00
messense
20b1edc53b
feat(cli): add support for building binaries
2022-04-01 14:00:42 +08:00
LongYinan
d55e4f6f1f
style: format toml files
2022-02-11 10:46:17 +08:00
LongYinan
4c3fe26478
feat(cli): refactor cli build
2021-11-19 18:22:40 +08:00
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