Skip to content

Commit 66b2477

Browse files
committed
0.0.5
1 parent 65040e4 commit 66b2477

File tree

19 files changed

+144
-199
lines changed

19 files changed

+144
-199
lines changed

.github/workflows/CI.yml

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -335,40 +335,6 @@ jobs:
335335
-w /build \
336336
node:lts-alpine \
337337
/bin/sh -c "set -e && yarn test"
338-
universal-macOS:
339-
name: Build universal macOS binary
340-
needs:
341-
- build
342-
runs-on: macos-latest
343-
steps:
344-
- uses: actions/checkout@v4
345-
- name: Setup node
346-
uses: actions/setup-node@v4
347-
with:
348-
node-version: 20
349-
cache: yarn
350-
- name: Install dependencies
351-
run: yarn install
352-
- name: Download macOS x64 artifact
353-
uses: actions/download-artifact@v4
354-
with:
355-
name: bindings-x86_64-apple-darwin
356-
path: .
357-
- name: Download macOS arm64 artifact
358-
uses: actions/download-artifact@v4
359-
with:
360-
name: bindings-aarch64-apple-darwin
361-
path: .
362-
- name: Combine binaries
363-
run: |
364-
ls -R .
365-
yarn universal
366-
- name: Upload artifact
367-
uses: actions/upload-artifact@v4
368-
with:
369-
name: bindings-universal-apple-darwin
370-
path: domparser.darwin-universal.node
371-
if-no-files-found: error
372338
publish:
373339
name: Publish
374340
runs-on: ubuntu-latest
@@ -378,7 +344,6 @@ jobs:
378344
- test-linux-x64-musl-binding
379345
- test-linux-aarch64-gnu-binding
380346
- test-linux-aarch64-musl-binding
381-
- universal-macOS
382347
steps:
383348
- uses: actions/checkout@v4
384349
- name: Setup node

.yarn/install-state.gz

1.43 KB
Binary file not shown.

Cargo.lock

Lines changed: 1 addition & 43 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/domparser/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
edition = "2021"
33
name = "domparser"
4-
version = "0.0.4"
4+
version = "0.0.5"
55
description = "A super fast html parser and manipulator written in rust."
66
license = "MIT"
77
repository = "https://github.com/utooland/domparser-rs"

crates/domparser_napi/Cargo.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,5 @@ domparser = { path = "../domparser" }
1313
napi = { version = "3.0.0", default-features = false, features = ["napi4"] }
1414
napi-derive = "3.0.0"
1515

16-
[target.'cfg(not(target_env = "musl"))'.dependencies]
17-
mimalloc = { version = "0.1" }
18-
1916
[build-dependencies]
2017
napi-build = "2.1.4"

crates/domparser_napi/src/lib.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
#[macro_use]
22
extern crate napi_derive;
33

4-
#[cfg(not(target_env = "musl"))]
5-
#[global_allocator]
6-
static ALLOC: mimalloc::MiMalloc = mimalloc::MiMalloc;
7-
84
use domparser::parse as parse_core;
95
use node_repr::NodeRepr;
106

0 commit comments

Comments
 (0)