-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[feat] Organized exports with separate submodules (#54)
* add utilities module * chore: clean up + prepare for deno 2.0 * chore: bump to deno 2 * move core stuff to "packages" * fix exports * remove deno.json * fix core imports * fix ./core export --------- Co-authored-by: Dean Srebnik <[email protected]>
- Loading branch information
Showing
126 changed files
with
4,035 additions
and
443 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,25 +5,47 @@ | |
Unoptimized: | ||
|
||
```sh | ||
cargo build | ||
cargo build --release -p netsaur | ||
``` | ||
|
||
Optimized: | ||
|
||
```sh | ||
cargo build --release | ||
deno run build:cpu | ||
``` | ||
|
||
## Building `backends/wasm` | ||
|
||
Unoptimized: | ||
|
||
```sh | ||
deno run -A https://deno.land/x/wasmbuild@0.11.0/main.ts --out src/backends/wasm/lib --debug | ||
deno -Ar jsr:@deno/wasmbuild@0.17.2 -p netsaur --out src/backends/wasm/lib --debug | ||
``` | ||
|
||
Optimized: | ||
|
||
```sh | ||
deno run -A https://deno.land/x/[email protected]/main.ts --out src/backends/wasm/lib | ||
deno run build:wasm | ||
``` | ||
|
||
## Building `tokenizers` | ||
|
||
Unoptimized: | ||
|
||
```sh | ||
deno -Ar jsr:@deno/[email protected] -p netsaur-tokenizers --out tokenizers/lib --debug | ||
``` | ||
|
||
Optimized: | ||
|
||
```sh | ||
deno run build:tokenizers | ||
``` | ||
|
||
## Building everything | ||
|
||
Optimized: | ||
|
||
```sh | ||
deno run build | ||
``` |
Oops, something went wrong.