Skip to content

Commit 19a6f31

Browse files
committed
feat: 基于 napi-rs 改造
1 parent 1beb45a commit 19a6f31

File tree

47 files changed

+6585
-22
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+6585
-22
lines changed

.github/workflows/CI.yml

Lines changed: 504 additions & 0 deletions
Large diffs are not rendered by default.

.gitignore

Lines changed: 196 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,197 @@
1+
# Created by https://www.toptal.com/developers/gitignore/api/node
2+
# Edit at https://www.toptal.com/developers/gitignore?templates=node
3+
4+
### Node ###
5+
# Logs
6+
logs
7+
*.log
8+
npm-debug.log*
9+
yarn-debug.log*
10+
yarn-error.log*
11+
lerna-debug.log*
12+
13+
# Diagnostic reports (https://nodejs.org/api/report.html)
14+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
15+
16+
# Runtime data
17+
pids
18+
*.pid
19+
*.seed
20+
*.pid.lock
21+
22+
# Directory for instrumented libs generated by jscoverage/JSCover
23+
lib-cov
24+
25+
# Coverage directory used by tools like istanbul
26+
coverage
27+
*.lcov
28+
29+
# nyc test coverage
30+
.nyc_output
31+
32+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
33+
.grunt
34+
35+
# Bower dependency directory (https://bower.io/)
36+
bower_components
37+
38+
# node-waf configuration
39+
.lock-wscript
40+
41+
# Compiled binary addons (https://nodejs.org/api/addons.html)
42+
build/Release
43+
44+
# Dependency directories
45+
node_modules/
46+
jspm_packages/
47+
48+
# TypeScript v1 declaration files
49+
typings/
50+
51+
# TypeScript cache
52+
*.tsbuildinfo
53+
54+
# Optional npm cache directory
55+
.npm
56+
57+
# Optional eslint cache
58+
.eslintcache
59+
60+
# Microbundle cache
61+
.rpt2_cache/
62+
.rts2_cache_cjs/
63+
.rts2_cache_es/
64+
.rts2_cache_umd/
65+
66+
# Optional REPL history
67+
.node_repl_history
68+
69+
# Output of 'npm pack'
70+
*.tgz
71+
72+
# Yarn Integrity file
73+
.yarn-integrity
74+
75+
# dotenv environment variables file
76+
.env
77+
.env.test
78+
79+
# parcel-bundler cache (https://parceljs.org/)
80+
.cache
81+
82+
# Next.js build output
83+
.next
84+
85+
# Nuxt.js build / generate output
86+
.nuxt
87+
dist
88+
89+
# Gatsby files
90+
.cache/
91+
# Comment in the public line in if your project uses Gatsby and not Next.js
92+
# https://nextjs.org/blog/next-9-1#public-directory-support
93+
# public
94+
95+
# vuepress build output
96+
.vuepress/dist
97+
98+
# Serverless directories
99+
.serverless/
100+
101+
# FuseBox cache
102+
.fusebox/
103+
104+
# DynamoDB Local files
105+
.dynamodb/
106+
107+
# TernJS port file
108+
.tern-port
109+
110+
# Stores VSCode versions used for testing VSCode extensions
111+
.vscode-test
112+
113+
# End of https://www.toptal.com/developers/gitignore/api/node
114+
115+
# Created by https://www.toptal.com/developers/gitignore/api/macos
116+
# Edit at https://www.toptal.com/developers/gitignore?templates=macos
117+
118+
### macOS ###
119+
# General
120+
.DS_Store
121+
.AppleDouble
122+
.LSOverride
123+
124+
# Icon must end with two
125+
Icon
126+
127+
128+
# Thumbnails
129+
._*
130+
131+
# Files that might appear in the root of a volume
132+
.DocumentRevisions-V100
133+
.fseventsd
134+
.Spotlight-V100
135+
.TemporaryItems
136+
.Trashes
137+
.VolumeIcon.icns
138+
.com.apple.timemachine.donotpresent
139+
140+
# Directories potentially created on remote AFP share
141+
.AppleDB
142+
.AppleDesktop
143+
Network Trash Folder
144+
Temporary Items
145+
.apdisk
146+
147+
### macOS Patch ###
148+
# iCloud generated files
149+
*.icloud
150+
151+
# End of https://www.toptal.com/developers/gitignore/api/macos
152+
153+
# Created by https://www.toptal.com/developers/gitignore/api/windows
154+
# Edit at https://www.toptal.com/developers/gitignore?templates=windows
155+
156+
### Windows ###
157+
# Windows thumbnail cache files
158+
Thumbs.db
159+
Thumbs.db:encryptable
160+
ehthumbs.db
161+
ehthumbs_vista.db
162+
163+
# Dump file
164+
*.stackdump
165+
166+
# Folder config file
167+
[Dd]esktop.ini
168+
169+
# Recycle Bin used on file shares
170+
$RECYCLE.BIN/
171+
172+
# Windows Installer files
173+
*.cab
174+
*.msi
175+
*.msix
176+
*.msm
177+
*.msp
178+
179+
# Windows shortcuts
180+
*.lnk
181+
182+
# End of https://www.toptal.com/developers/gitignore/api/windows
183+
184+
#Added by cargo
185+
1186
/target
2-
.vscode
3-
.DS_Store
187+
Cargo.lock
188+
189+
.pnp.*
190+
.yarn/*
191+
!.yarn/patches
192+
!.yarn/plugins
193+
!.yarn/releases
194+
!.yarn/sdks
195+
!.yarn/versions
196+
197+
*.node

.npmignore

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
target
2+
Cargo.lock
3+
.cargo
4+
.github
5+
npm
6+
.eslintrc
7+
.prettierignore
8+
rustfmt.toml
9+
yarn.lock
10+
*.node
11+
.yarn
12+
__test__
13+
renovate.json

.yarn/releases/yarn-3.6.4.cjs

Lines changed: 874 additions & 0 deletions
Large diffs are not rendered by default.

.yarnrc.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
nodeLinker: node-modules
2+
3+
yarnPath: .yarn/releases/yarn-3.6.4.cjs

Cargo.lock

Lines changed: 102 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)