fast_xlsx 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/CHANGELOG.md +34 -0
- data/Cargo.lock +517 -0
- data/Cargo.toml +13 -0
- data/LICENSE.txt +21 -0
- data/README.md +298 -0
- data/Rakefile +22 -0
- data/bench/Gemfile +14 -0
- data/bench/Gemfile.lock +110 -0
- data/bench/compare.rb +113 -0
- data/bench/memory.rb +43 -0
- data/bench/write.rb +53 -0
- data/examples/showcase.rb +146 -0
- data/ext/fast_xlsx/Cargo.toml +18 -0
- data/ext/fast_xlsx/build.rs +5 -0
- data/ext/fast_xlsx/extconf.rb +6 -0
- data/ext/fast_xlsx/src/lib.rs +1339 -0
- data/lib/fast_xlsx/version.rb +5 -0
- data/lib/fast_xlsx.rb +205 -0
- data/sig/fast_xlsx.rbs +100 -0
- metadata +80 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: e437e53063a29cc586d2d18200be43a28ec6a967907f053fb06b2c0494202cf9
|
|
4
|
+
data.tar.gz: 6c7fbc5799ef0526bcd9733114c50d7442d998769f7f8b00bbdc821c216a8ba1
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 2ca68d242260d67c52265c2f373453d32da549842862fb4695f7c2f9d2267bf4bde9f1ebbafb200a44dc582a9c85e9a4082579169ccb7af03b349c74a991aeea
|
|
7
|
+
data.tar.gz: 28230cf03c0f109e690273b7906b57ab18cc5ecdceafb348155c7b6c1e8370c85aadc3889d22775d30abd08058f43ea81ff6aa8f8d207f58ed039e1f03ef3110
|
data/CHANGELOG.md
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
## [Unreleased]
|
|
2
|
+
|
|
3
|
+
## [0.1.0] - 2026-09-30
|
|
4
|
+
|
|
5
|
+
First release: a fast `.xlsx` writer built on rust_xlsxwriter. Early API; it may still change before 1.0.
|
|
6
|
+
|
|
7
|
+
### Workbooks and worksheets
|
|
8
|
+
|
|
9
|
+
- `FastXlsx::Workbook.new(memory: :standard | :constant | :low)`: keep every cell in memory, or write finished rows to disk with strings inline (`:constant`) or in the shared string table (`:low`)
|
|
10
|
+
- `Workbook#add_worksheet`, `#worksheet(name)`, `#worksheets`, `#properties` (document properties), `#to_xlsx`, `#save`
|
|
11
|
+
- `Worksheet#<<`, `#append`, `#concat`, `#write` (all return the worksheet); writes to rows already on disk raise `FastXlsx::Error`
|
|
12
|
+
- Rows and columns are 0-based
|
|
13
|
+
|
|
14
|
+
### Cell values
|
|
15
|
+
|
|
16
|
+
- Numeric, String, Time, Date/DateTime, boolean and nil
|
|
17
|
+
- `FastXlsx::Formula`, `FastXlsx::URL` (optionally showing other text), `FastXlsx::RichString` (a format per text segment)
|
|
18
|
+
|
|
19
|
+
### Formatting
|
|
20
|
+
|
|
21
|
+
- `FastXlsx::Format`: fonts, colors, number formats, alignment, wrapping, rotation, indent, borders and underline styles; unknown options and invalid values raise `ArgumentError`
|
|
22
|
+
- One format per row or per cell in `append`; `Worksheet#column_format` for column defaults
|
|
23
|
+
|
|
24
|
+
### Layout and features
|
|
25
|
+
|
|
26
|
+
- `column_width`, `autofit` (keeps widths set explicitly), `row_height`, `freeze_panes`, `merge_range`, `autofilter`
|
|
27
|
+
- `conditional_format` (cell, text, formula, data bar, color scale), `data_validation` (lists, numbers, text length, messages)
|
|
28
|
+
- `add_table` (styles, total row, column totals), `insert_chart`, `insert_image` (path or IO, scale or pixel size), `write_comment`
|
|
29
|
+
- Printing: `page_header`, `page_footer`, `margins`, `page_breaks`, `vertical_page_breaks`
|
|
30
|
+
- Unknown options to the option-hash methods raise `ArgumentError`
|
|
31
|
+
|
|
32
|
+
### Packaging
|
|
33
|
+
|
|
34
|
+
- Precompiled gems for Linux (glibc and musl, x86_64 and aarch64, arm), macOS (arm64 and x86_64) and Windows (x64); requires CRuby 3.3+
|
data/Cargo.lock
ADDED
|
@@ -0,0 +1,517 @@
|
|
|
1
|
+
# This file is automatically @generated by Cargo.
|
|
2
|
+
# It is not intended for manual editing.
|
|
3
|
+
version = 4
|
|
4
|
+
|
|
5
|
+
[[package]]
|
|
6
|
+
name = "aho-corasick"
|
|
7
|
+
version = "1.1.5"
|
|
8
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
9
|
+
checksum = "c982642fa9e8606056828ee9a8505737230110bb1099153c79efe865c59d12ba"
|
|
10
|
+
dependencies = [
|
|
11
|
+
"memchr",
|
|
12
|
+
]
|
|
13
|
+
|
|
14
|
+
[[package]]
|
|
15
|
+
name = "bindgen"
|
|
16
|
+
version = "0.72.1"
|
|
17
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
18
|
+
checksum = "993776b509cfb49c750f11b8f07a46fa23e0a1386ffc01fb1e7d343efc387895"
|
|
19
|
+
dependencies = [
|
|
20
|
+
"bitflags",
|
|
21
|
+
"cexpr",
|
|
22
|
+
"clang-sys",
|
|
23
|
+
"itertools",
|
|
24
|
+
"proc-macro2",
|
|
25
|
+
"quote",
|
|
26
|
+
"regex",
|
|
27
|
+
"rustc-hash",
|
|
28
|
+
"shlex 1.3.0",
|
|
29
|
+
"syn",
|
|
30
|
+
]
|
|
31
|
+
|
|
32
|
+
[[package]]
|
|
33
|
+
name = "bitflags"
|
|
34
|
+
version = "2.13.2"
|
|
35
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
36
|
+
checksum = "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06"
|
|
37
|
+
|
|
38
|
+
[[package]]
|
|
39
|
+
name = "bumpalo"
|
|
40
|
+
version = "3.20.3"
|
|
41
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
42
|
+
checksum = "72f5acc6cb2ba439de613abc23857ec3d78374d8ed5ac84e9d11336e87da8649"
|
|
43
|
+
|
|
44
|
+
[[package]]
|
|
45
|
+
name = "cc"
|
|
46
|
+
version = "1.5.1"
|
|
47
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
48
|
+
checksum = "f360145194ee8e21db5ee7f3fcd4fe52210864c75c985dae33218202c8bbe040"
|
|
49
|
+
dependencies = [
|
|
50
|
+
"find-msvc-tools",
|
|
51
|
+
"shlex 2.0.1",
|
|
52
|
+
]
|
|
53
|
+
|
|
54
|
+
[[package]]
|
|
55
|
+
name = "cexpr"
|
|
56
|
+
version = "0.6.0"
|
|
57
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
58
|
+
checksum = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766"
|
|
59
|
+
dependencies = [
|
|
60
|
+
"nom",
|
|
61
|
+
]
|
|
62
|
+
|
|
63
|
+
[[package]]
|
|
64
|
+
name = "cfg-if"
|
|
65
|
+
version = "1.0.5"
|
|
66
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
67
|
+
checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600"
|
|
68
|
+
|
|
69
|
+
[[package]]
|
|
70
|
+
name = "clang-sys"
|
|
71
|
+
version = "1.9.1"
|
|
72
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
73
|
+
checksum = "157a8ba7b480713b56f4c09fd13fc3e0a22a5dfab8097ba61cbc5feef950788a"
|
|
74
|
+
dependencies = [
|
|
75
|
+
"glob",
|
|
76
|
+
"libc",
|
|
77
|
+
"libloading",
|
|
78
|
+
]
|
|
79
|
+
|
|
80
|
+
[[package]]
|
|
81
|
+
name = "crc32fast"
|
|
82
|
+
version = "1.5.2"
|
|
83
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
84
|
+
checksum = "01a7799fd6b852db0e61728dde9a204c423b44d689dbd432522543614b490e78"
|
|
85
|
+
dependencies = [
|
|
86
|
+
"cfg-if",
|
|
87
|
+
]
|
|
88
|
+
|
|
89
|
+
[[package]]
|
|
90
|
+
name = "either"
|
|
91
|
+
version = "1.18.0"
|
|
92
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
93
|
+
checksum = "252afb9ae5eaa683babdc6a068b3f5726eb19e05070c731f9b2a23a7c3e8ed34"
|
|
94
|
+
|
|
95
|
+
[[package]]
|
|
96
|
+
name = "equivalent"
|
|
97
|
+
version = "1.0.2"
|
|
98
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
99
|
+
checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f"
|
|
100
|
+
|
|
101
|
+
[[package]]
|
|
102
|
+
name = "errno"
|
|
103
|
+
version = "0.3.14"
|
|
104
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
105
|
+
checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb"
|
|
106
|
+
dependencies = [
|
|
107
|
+
"libc",
|
|
108
|
+
"windows-sys",
|
|
109
|
+
]
|
|
110
|
+
|
|
111
|
+
[[package]]
|
|
112
|
+
name = "fast_xlsx"
|
|
113
|
+
version = "0.1.0"
|
|
114
|
+
dependencies = [
|
|
115
|
+
"magnus",
|
|
116
|
+
"rb-sys",
|
|
117
|
+
"rb-sys-env",
|
|
118
|
+
"rust_xlsxwriter",
|
|
119
|
+
]
|
|
120
|
+
|
|
121
|
+
[[package]]
|
|
122
|
+
name = "fastrand"
|
|
123
|
+
version = "2.5.0"
|
|
124
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
125
|
+
checksum = "da7c62ceae207dd37ea5b845da6a0696c799f85e97da1ab5b7910be3c1c80223"
|
|
126
|
+
|
|
127
|
+
[[package]]
|
|
128
|
+
name = "find-msvc-tools"
|
|
129
|
+
version = "0.1.14"
|
|
130
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
131
|
+
checksum = "aedcfb3409746eddb02b9e19ebda1c3394f759a152e48ee875a0844d1b955484"
|
|
132
|
+
|
|
133
|
+
[[package]]
|
|
134
|
+
name = "flate2"
|
|
135
|
+
version = "1.1.10"
|
|
136
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
137
|
+
checksum = "6e634e2e0ebac1ee034020da1ca582e17ffe4e0f5e985823721e168928136dcb"
|
|
138
|
+
dependencies = [
|
|
139
|
+
"crc32fast",
|
|
140
|
+
"libz-sys",
|
|
141
|
+
"zlib-rs",
|
|
142
|
+
]
|
|
143
|
+
|
|
144
|
+
[[package]]
|
|
145
|
+
name = "getrandom"
|
|
146
|
+
version = "0.4.3"
|
|
147
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
148
|
+
checksum = "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099"
|
|
149
|
+
dependencies = [
|
|
150
|
+
"cfg-if",
|
|
151
|
+
"libc",
|
|
152
|
+
"r-efi",
|
|
153
|
+
]
|
|
154
|
+
|
|
155
|
+
[[package]]
|
|
156
|
+
name = "glob"
|
|
157
|
+
version = "0.3.4"
|
|
158
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
159
|
+
checksum = "e4eba85ea1d0a966a983acd07deee566e67395d2d96b6fb39e62b5a833f1eb0b"
|
|
160
|
+
|
|
161
|
+
[[package]]
|
|
162
|
+
name = "hashbrown"
|
|
163
|
+
version = "0.17.1"
|
|
164
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
165
|
+
checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a"
|
|
166
|
+
|
|
167
|
+
[[package]]
|
|
168
|
+
name = "indexmap"
|
|
169
|
+
version = "2.14.2"
|
|
170
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
171
|
+
checksum = "cc4e190f5d26ca7051642629da2c52fc03bde85a03197c99408dcd291734c855"
|
|
172
|
+
dependencies = [
|
|
173
|
+
"equivalent",
|
|
174
|
+
"hashbrown",
|
|
175
|
+
]
|
|
176
|
+
|
|
177
|
+
[[package]]
|
|
178
|
+
name = "itertools"
|
|
179
|
+
version = "0.13.0"
|
|
180
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
181
|
+
checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186"
|
|
182
|
+
dependencies = [
|
|
183
|
+
"either",
|
|
184
|
+
]
|
|
185
|
+
|
|
186
|
+
[[package]]
|
|
187
|
+
name = "lazy_static"
|
|
188
|
+
version = "1.5.0"
|
|
189
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
190
|
+
checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
|
|
191
|
+
|
|
192
|
+
[[package]]
|
|
193
|
+
name = "libc"
|
|
194
|
+
version = "0.2.189"
|
|
195
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
196
|
+
checksum = "3eaf3ede3fee6db1a4c2ee091bf8a8b4dccdc6d17f656fb07896ee72867612f2"
|
|
197
|
+
|
|
198
|
+
[[package]]
|
|
199
|
+
name = "libloading"
|
|
200
|
+
version = "0.8.9"
|
|
201
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
202
|
+
checksum = "d7c4b02199fee7c5d21a5ae7d8cfa79a6ef5bb2fc834d6e9058e89c825efdc55"
|
|
203
|
+
dependencies = [
|
|
204
|
+
"cfg-if",
|
|
205
|
+
"windows-link",
|
|
206
|
+
]
|
|
207
|
+
|
|
208
|
+
[[package]]
|
|
209
|
+
name = "libz-sys"
|
|
210
|
+
version = "1.1.29"
|
|
211
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
212
|
+
checksum = "85bc9657773828b90eeb625adff10eeac83cc21bbfd8e23a03eaa8a33c9e28d9"
|
|
213
|
+
dependencies = [
|
|
214
|
+
"cc",
|
|
215
|
+
"pkg-config",
|
|
216
|
+
"vcpkg",
|
|
217
|
+
]
|
|
218
|
+
|
|
219
|
+
[[package]]
|
|
220
|
+
name = "linux-raw-sys"
|
|
221
|
+
version = "0.12.1"
|
|
222
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
223
|
+
checksum = "32a66949e030da00e8c7d4434b251670a91556f4144941d37452769c25d58a53"
|
|
224
|
+
|
|
225
|
+
[[package]]
|
|
226
|
+
name = "log"
|
|
227
|
+
version = "0.4.34"
|
|
228
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
229
|
+
checksum = "f9f8bd3e56ce4dfc153cf470fffbfa98c7620958b312ca5c3a4b8d5181fd13c6"
|
|
230
|
+
|
|
231
|
+
[[package]]
|
|
232
|
+
name = "magnus"
|
|
233
|
+
version = "0.9.1"
|
|
234
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
235
|
+
checksum = "4c01bef153b8d0f086991f0e166474a1d57b738221f9a9c11405d498ac95a44d"
|
|
236
|
+
dependencies = [
|
|
237
|
+
"magnus-macros",
|
|
238
|
+
"rb-sys",
|
|
239
|
+
"rb-sys-env",
|
|
240
|
+
"seq-macro",
|
|
241
|
+
]
|
|
242
|
+
|
|
243
|
+
[[package]]
|
|
244
|
+
name = "magnus-macros"
|
|
245
|
+
version = "0.9.1"
|
|
246
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
247
|
+
checksum = "9dafde2eeb66f090e0f326112323eb8324b12cb32b5d1210e541d3df6b0ce77e"
|
|
248
|
+
dependencies = [
|
|
249
|
+
"proc-macro2",
|
|
250
|
+
"quote",
|
|
251
|
+
"syn",
|
|
252
|
+
]
|
|
253
|
+
|
|
254
|
+
[[package]]
|
|
255
|
+
name = "memchr"
|
|
256
|
+
version = "2.8.3"
|
|
257
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
258
|
+
checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
|
|
259
|
+
|
|
260
|
+
[[package]]
|
|
261
|
+
name = "minimal-lexical"
|
|
262
|
+
version = "0.2.1"
|
|
263
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
264
|
+
checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
|
|
265
|
+
|
|
266
|
+
[[package]]
|
|
267
|
+
name = "nom"
|
|
268
|
+
version = "7.1.3"
|
|
269
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
270
|
+
checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a"
|
|
271
|
+
dependencies = [
|
|
272
|
+
"memchr",
|
|
273
|
+
"minimal-lexical",
|
|
274
|
+
]
|
|
275
|
+
|
|
276
|
+
[[package]]
|
|
277
|
+
name = "once_cell"
|
|
278
|
+
version = "1.21.4"
|
|
279
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
280
|
+
checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
|
|
281
|
+
|
|
282
|
+
[[package]]
|
|
283
|
+
name = "pkg-config"
|
|
284
|
+
version = "0.3.34"
|
|
285
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
286
|
+
checksum = "f6b464fbc74e149a392436b17d523f769e057cb6877f6a5c4618bc6f11800548"
|
|
287
|
+
|
|
288
|
+
[[package]]
|
|
289
|
+
name = "proc-macro2"
|
|
290
|
+
version = "1.0.107"
|
|
291
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
292
|
+
checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9"
|
|
293
|
+
dependencies = [
|
|
294
|
+
"unicode-ident",
|
|
295
|
+
]
|
|
296
|
+
|
|
297
|
+
[[package]]
|
|
298
|
+
name = "quote"
|
|
299
|
+
version = "1.0.47"
|
|
300
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
301
|
+
checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001"
|
|
302
|
+
dependencies = [
|
|
303
|
+
"proc-macro2",
|
|
304
|
+
]
|
|
305
|
+
|
|
306
|
+
[[package]]
|
|
307
|
+
name = "r-efi"
|
|
308
|
+
version = "6.0.0"
|
|
309
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
310
|
+
checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf"
|
|
311
|
+
|
|
312
|
+
[[package]]
|
|
313
|
+
name = "rb-sys"
|
|
314
|
+
version = "0.9.130"
|
|
315
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
316
|
+
checksum = "02faf625bb10ba893e3ae620f19c9fb1b5f8fcae0fe4eb86bb3f2230fad75edb"
|
|
317
|
+
dependencies = [
|
|
318
|
+
"rb-sys-build",
|
|
319
|
+
]
|
|
320
|
+
|
|
321
|
+
[[package]]
|
|
322
|
+
name = "rb-sys-build"
|
|
323
|
+
version = "0.9.130"
|
|
324
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
325
|
+
checksum = "05be6f9c86fe5482808162826f6c047d093b3670582296c770de1d94f8066694"
|
|
326
|
+
dependencies = [
|
|
327
|
+
"bindgen",
|
|
328
|
+
"lazy_static",
|
|
329
|
+
"proc-macro2",
|
|
330
|
+
"quote",
|
|
331
|
+
"regex",
|
|
332
|
+
"shell-words",
|
|
333
|
+
"syn",
|
|
334
|
+
]
|
|
335
|
+
|
|
336
|
+
[[package]]
|
|
337
|
+
name = "rb-sys-env"
|
|
338
|
+
version = "0.2.3"
|
|
339
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
340
|
+
checksum = "cca7ad6a7e21e72151d56fe2495a259b5670e204c3adac41ee7ef676ea08117a"
|
|
341
|
+
|
|
342
|
+
[[package]]
|
|
343
|
+
name = "regex"
|
|
344
|
+
version = "1.13.1"
|
|
345
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
346
|
+
checksum = "f020237b6c8eed93db2e2cb53c00c60a8e1bc73da7d073199a1180401450218d"
|
|
347
|
+
dependencies = [
|
|
348
|
+
"aho-corasick",
|
|
349
|
+
"memchr",
|
|
350
|
+
"regex-automata",
|
|
351
|
+
"regex-syntax",
|
|
352
|
+
]
|
|
353
|
+
|
|
354
|
+
[[package]]
|
|
355
|
+
name = "regex-automata"
|
|
356
|
+
version = "0.4.18"
|
|
357
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
358
|
+
checksum = "ad8553b9b26413251cbf30e620595c7a41b3887f03da04579c0e6b0d6a06b4b2"
|
|
359
|
+
dependencies = [
|
|
360
|
+
"aho-corasick",
|
|
361
|
+
"memchr",
|
|
362
|
+
"regex-syntax",
|
|
363
|
+
]
|
|
364
|
+
|
|
365
|
+
[[package]]
|
|
366
|
+
name = "regex-syntax"
|
|
367
|
+
version = "0.8.11"
|
|
368
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
369
|
+
checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4"
|
|
370
|
+
|
|
371
|
+
[[package]]
|
|
372
|
+
name = "rust_xlsxwriter"
|
|
373
|
+
version = "0.99.1"
|
|
374
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
375
|
+
checksum = "34f2d2cda7223168a14fb86bc7411dbc3379bd7d49749ecc53b91ed98585b6b0"
|
|
376
|
+
dependencies = [
|
|
377
|
+
"tempfile",
|
|
378
|
+
"zip",
|
|
379
|
+
]
|
|
380
|
+
|
|
381
|
+
[[package]]
|
|
382
|
+
name = "rustc-hash"
|
|
383
|
+
version = "2.1.3"
|
|
384
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
385
|
+
checksum = "6b1e7f9a428571be2dc5bc0505c13fb6bf936822b894ec87abf8a08a4e51742d"
|
|
386
|
+
|
|
387
|
+
[[package]]
|
|
388
|
+
name = "rustix"
|
|
389
|
+
version = "1.1.5"
|
|
390
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
391
|
+
checksum = "891efababe418670775f199f0d233d84843c227a0949a883ce15b37c78d6629d"
|
|
392
|
+
dependencies = [
|
|
393
|
+
"bitflags",
|
|
394
|
+
"errno",
|
|
395
|
+
"libc",
|
|
396
|
+
"linux-raw-sys",
|
|
397
|
+
"windows-sys",
|
|
398
|
+
]
|
|
399
|
+
|
|
400
|
+
[[package]]
|
|
401
|
+
name = "seq-macro"
|
|
402
|
+
version = "0.3.6"
|
|
403
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
404
|
+
checksum = "1bc711410fbe7399f390ca1c3b60ad0f53f80e95c5eb935e52268a0e2cd49acc"
|
|
405
|
+
|
|
406
|
+
[[package]]
|
|
407
|
+
name = "shell-words"
|
|
408
|
+
version = "1.1.1"
|
|
409
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
410
|
+
checksum = "dc6fe69c597f9c37bfeeeeeb33da3530379845f10be461a66d16d03eca2ded77"
|
|
411
|
+
|
|
412
|
+
[[package]]
|
|
413
|
+
name = "shlex"
|
|
414
|
+
version = "1.3.0"
|
|
415
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
416
|
+
checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
|
|
417
|
+
|
|
418
|
+
[[package]]
|
|
419
|
+
name = "shlex"
|
|
420
|
+
version = "2.0.1"
|
|
421
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
422
|
+
checksum = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba"
|
|
423
|
+
|
|
424
|
+
[[package]]
|
|
425
|
+
name = "simd-adler32"
|
|
426
|
+
version = "0.3.10"
|
|
427
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
428
|
+
checksum = "3a219298ac11a56ea9a6d2120044824d6f01aeb034955e7af7bc16858527deea"
|
|
429
|
+
|
|
430
|
+
[[package]]
|
|
431
|
+
name = "syn"
|
|
432
|
+
version = "2.0.119"
|
|
433
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
434
|
+
checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297"
|
|
435
|
+
dependencies = [
|
|
436
|
+
"proc-macro2",
|
|
437
|
+
"quote",
|
|
438
|
+
"unicode-ident",
|
|
439
|
+
]
|
|
440
|
+
|
|
441
|
+
[[package]]
|
|
442
|
+
name = "tempfile"
|
|
443
|
+
version = "3.27.0"
|
|
444
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
445
|
+
checksum = "32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd"
|
|
446
|
+
dependencies = [
|
|
447
|
+
"fastrand",
|
|
448
|
+
"getrandom",
|
|
449
|
+
"once_cell",
|
|
450
|
+
"rustix",
|
|
451
|
+
"windows-sys",
|
|
452
|
+
]
|
|
453
|
+
|
|
454
|
+
[[package]]
|
|
455
|
+
name = "typed-path"
|
|
456
|
+
version = "0.12.3"
|
|
457
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
458
|
+
checksum = "8e28f89b80c87b8fb0cf04ab448d5dd0dd0ade2f8891bae878de66a75a28600e"
|
|
459
|
+
|
|
460
|
+
[[package]]
|
|
461
|
+
name = "unicode-ident"
|
|
462
|
+
version = "1.0.26"
|
|
463
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
464
|
+
checksum = "d245f478577f809a851594d02313b640fb437e0bb33866753cff937863096954"
|
|
465
|
+
|
|
466
|
+
[[package]]
|
|
467
|
+
name = "vcpkg"
|
|
468
|
+
version = "0.2.15"
|
|
469
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
470
|
+
checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426"
|
|
471
|
+
|
|
472
|
+
[[package]]
|
|
473
|
+
name = "windows-link"
|
|
474
|
+
version = "0.2.1"
|
|
475
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
476
|
+
checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
|
|
477
|
+
|
|
478
|
+
[[package]]
|
|
479
|
+
name = "windows-sys"
|
|
480
|
+
version = "0.61.2"
|
|
481
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
482
|
+
checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
|
|
483
|
+
dependencies = [
|
|
484
|
+
"windows-link",
|
|
485
|
+
]
|
|
486
|
+
|
|
487
|
+
[[package]]
|
|
488
|
+
name = "zip"
|
|
489
|
+
version = "8.6.0"
|
|
490
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
491
|
+
checksum = "2d04a6b5381502aa6087c94c669499eb1602eb9c5e8198e534de571f7154809b"
|
|
492
|
+
dependencies = [
|
|
493
|
+
"crc32fast",
|
|
494
|
+
"flate2",
|
|
495
|
+
"indexmap",
|
|
496
|
+
"memchr",
|
|
497
|
+
"typed-path",
|
|
498
|
+
"zopfli",
|
|
499
|
+
]
|
|
500
|
+
|
|
501
|
+
[[package]]
|
|
502
|
+
name = "zlib-rs"
|
|
503
|
+
version = "0.6.8"
|
|
504
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
505
|
+
checksum = "b268e58e7c693d7c271f93ffc4ba3b380412554231c85bf61ca7af91042a4112"
|
|
506
|
+
|
|
507
|
+
[[package]]
|
|
508
|
+
name = "zopfli"
|
|
509
|
+
version = "0.8.3"
|
|
510
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
511
|
+
checksum = "f05cd8797d63865425ff89b5c4a48804f35ba0ce8d125800027ad6017d2b5249"
|
|
512
|
+
dependencies = [
|
|
513
|
+
"bumpalo",
|
|
514
|
+
"crc32fast",
|
|
515
|
+
"log",
|
|
516
|
+
"simd-adler32",
|
|
517
|
+
]
|
data/Cargo.toml
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# This Cargo.toml is here to let externals tools (IDEs, etc.) know that this is
|
|
2
|
+
# a Rust project. Your extensions dependencies should be added to the Cargo.toml
|
|
3
|
+
# in the ext/ directory.
|
|
4
|
+
|
|
5
|
+
[workspace]
|
|
6
|
+
members = ["./ext/fast_xlsx"]
|
|
7
|
+
resolver = "2"
|
|
8
|
+
|
|
9
|
+
[profile.release]
|
|
10
|
+
# By default, debug symbols are stripped from the final binary which makes it
|
|
11
|
+
# harder to debug if something goes wrong. It's recommended to keep debug
|
|
12
|
+
# symbols in the release build so that you can debug the final binary if needed.
|
|
13
|
+
debug = true
|
data/LICENSE.txt
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Zac
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|