You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add node 18 to release
* Add 18 to ci, too. Also, nix
* Add 18 to arm list
* Run the patch
* Update workflows from templates.
* Try prepending ~/bin instead of appending.
* Update workflows from templates.
* Explicitly use tools from $HOME/bin.
* Update workflows from templates.
* Remove 12, and rust 1.56
* Update workflows from templates.
* Update readme
* Fix benchmarks and flake.nix
* Fix link to neon
* Add toolchain
* Fix toolchain and readme
Co-authored-by: Leeroy Travis <[email protected]>
Co-authored-by: Chris Jones <[email protected]>
In order to build the binary Node file for Recrypt, you'll need the dependencies specified on the [Neon Bindings site](https://guides.neon-bindings.com/getting-started/). Follow their getting started directions and install Rust and the Node Build Tools. The Neon CLI is already installed as a dependency of this project so you don't have to install that as a global dependency.
99
+
In order to build the binary Node file for Recrypt, you'll need the dependencies specified on the [Neon Bindings site](https://neon-bindings.com/docs/quick-start/). Follow their getting started directions and install Rust and the Node Build Tools. The Neon CLI is already installed as a dependency of this project so you don't have to install that as a global dependency.
100
100
101
101
Once all of those dependencies are installed, the following can be run.
102
102
@@ -110,22 +110,22 @@ or
110
110
yarn compile
111
111
```
112
112
113
-
This will produce an `index.node` file within the `native` directory. This file can then be included within a NodeJS file by simply requiring the file, e.g.
113
+
This will produce an `index.node` file within the `bin-package` directory. This file can be used directly, or via index.js:
114
114
115
115
```
116
-
const recrypt = require('index.node');
116
+
const recrypt = require('index.js');
117
117
```
118
118
119
119
### Benchmarks
120
120
121
121
- From this repos root, run `npm i` or `yarn`.
122
-
- Run `npm/yarn run compile` to compile the Rust source into a `native/index.node` module.
122
+
- Run `npm/yarn run compile` to compile the Rust source into a `bin-package/index.node` module.
123
123
- Run `npm/yarn run benchmark`.
124
124
125
125
### Unit Tests
126
126
127
127
- From this repos root, run `npm i` or `yarn`.
128
-
- Run `npm/yarn run compile` to compile the Rust source into a `native/index.node` module.
128
+
- Run `npm/yarn run compile` to compile the Rust source into a `bin-package/index.node` module.
0 commit comments