whatlang 0.1.8 → 0.1.9
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 +4 -4
- data/.gitignore +1 -0
- data/CHANGELOG.md +6 -0
- data/Rakefile +10 -1
- data/ext/whatlang-rb/Cargo.lock +19 -51
- data/ext/whatlang-rb/Cargo.toml +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 55268aaa58b8de25fa16334a7368ab9f31e6edbf47f92eba67e034e4df9bdf16
|
|
4
|
+
data.tar.gz: a4291e86623078494e32971d0a244cf2b0bf56f69021d3ac19461c3991ef6c75
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1447f03d89a8ea35050612a701614c27d5bcdc6b573180489f76cc073c4376c8950635625d57d52710dc89004e8449959e8949ef81c6a0c72424c685f1bff22f
|
|
7
|
+
data.tar.gz: 1e515f8ed244e0b0b103360d0e23934d4735fb4b0b237fa6eafef78feb79630446e47ef337cc3d84f73e745c693fbe6865dae7bac3b861756aa5afd491c8c781
|
data/.gitignore
CHANGED
data/CHANGELOG.md
CHANGED
data/Rakefile
CHANGED
|
@@ -11,8 +11,13 @@ task default: :test
|
|
|
11
11
|
Gem::Tasks.new
|
|
12
12
|
YARD::Rake::YardocTask.new
|
|
13
13
|
|
|
14
|
+
CARGO_LOCK = "ext/whatlang-rb/Cargo.lock"
|
|
15
|
+
file CARGO_LOCK => "ext/whatlang-rb/Cargo.toml" do |t|
|
|
16
|
+
system "cargo", "update", "--manifest-path", t.source, "whatlang-rb", exception: true
|
|
17
|
+
end
|
|
18
|
+
|
|
14
19
|
EXTENSION = "lib/whatlang-rb/whatlang_rb.#{RbConfig::CONFIG["DLEXT"]}"
|
|
15
|
-
file EXTENSION do
|
|
20
|
+
file EXTENSION => CARGO_LOCK do
|
|
16
21
|
results = Rake.verbose == true ? $stdout : []
|
|
17
22
|
Gem::Ext::CargoBuilder.new.build "ext/whatlang-rb/Cargo.toml", ".", results, [], "lib", File.expand_path("ext/whatlang-rb")
|
|
18
23
|
end
|
|
@@ -21,3 +26,7 @@ CLOBBER.include EXTENSION
|
|
|
21
26
|
|
|
22
27
|
Rake::TestTask.new
|
|
23
28
|
task test: EXTENSION
|
|
29
|
+
|
|
30
|
+
task doc: :yard do
|
|
31
|
+
system "cargo", "doc", "--manifest-path", "ext/whatlang-rb/Cargo.toml", exception: true
|
|
32
|
+
end
|
data/ext/whatlang-rb/Cargo.lock
CHANGED
|
@@ -2,18 +2,6 @@
|
|
|
2
2
|
# It is not intended for manual editing.
|
|
3
3
|
version = 4
|
|
4
4
|
|
|
5
|
-
[[package]]
|
|
6
|
-
name = "ahash"
|
|
7
|
-
version = "0.8.12"
|
|
8
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
9
|
-
checksum = "5a15f179cd60c4584b8a8c596927aadc462e27f2ca70c04e0071964a73ba7a75"
|
|
10
|
-
dependencies = [
|
|
11
|
-
"cfg-if",
|
|
12
|
-
"once_cell",
|
|
13
|
-
"version_check",
|
|
14
|
-
"zerocopy",
|
|
15
|
-
]
|
|
16
|
-
|
|
17
5
|
[[package]]
|
|
18
6
|
name = "aho-corasick"
|
|
19
7
|
version = "1.1.3"
|
|
@@ -87,6 +75,18 @@ version = "1.15.0"
|
|
|
87
75
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
88
76
|
checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719"
|
|
89
77
|
|
|
78
|
+
[[package]]
|
|
79
|
+
name = "equivalent"
|
|
80
|
+
version = "1.0.2"
|
|
81
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
82
|
+
checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f"
|
|
83
|
+
|
|
84
|
+
[[package]]
|
|
85
|
+
name = "foldhash"
|
|
86
|
+
version = "0.1.5"
|
|
87
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
88
|
+
checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2"
|
|
89
|
+
|
|
90
90
|
[[package]]
|
|
91
91
|
name = "glob"
|
|
92
92
|
version = "0.3.3"
|
|
@@ -95,12 +95,13 @@ checksum = "0cc23270f6e1808e30a928bdc84dea0b9b4136a8bc82338574f23baf47bbd280"
|
|
|
95
95
|
|
|
96
96
|
[[package]]
|
|
97
97
|
name = "hashbrown"
|
|
98
|
-
version = "0.
|
|
98
|
+
version = "0.15.5"
|
|
99
99
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
100
|
-
checksum = "
|
|
100
|
+
checksum = "9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1"
|
|
101
101
|
dependencies = [
|
|
102
|
-
"ahash",
|
|
103
102
|
"allocator-api2",
|
|
103
|
+
"equivalent",
|
|
104
|
+
"foldhash",
|
|
104
105
|
]
|
|
105
106
|
|
|
106
107
|
[[package]]
|
|
@@ -185,12 +186,6 @@ dependencies = [
|
|
|
185
186
|
"minimal-lexical",
|
|
186
187
|
]
|
|
187
188
|
|
|
188
|
-
[[package]]
|
|
189
|
-
name = "once_cell"
|
|
190
|
-
version = "1.21.3"
|
|
191
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
192
|
-
checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d"
|
|
193
|
-
|
|
194
189
|
[[package]]
|
|
195
190
|
name = "proc-macro2"
|
|
196
191
|
version = "1.0.101"
|
|
@@ -309,25 +304,18 @@ version = "1.0.20"
|
|
|
309
304
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
310
305
|
checksum = "462eeb75aeb73aea900253ce739c8e18a67423fadf006037cd3ff27e82748a06"
|
|
311
306
|
|
|
312
|
-
[[package]]
|
|
313
|
-
name = "version_check"
|
|
314
|
-
version = "0.9.5"
|
|
315
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
316
|
-
checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
|
|
317
|
-
|
|
318
307
|
[[package]]
|
|
319
308
|
name = "whatlang"
|
|
320
|
-
version = "0.
|
|
309
|
+
version = "0.18.0"
|
|
321
310
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
322
|
-
checksum = "
|
|
311
|
+
checksum = "f5e8f38b596e2a359b755342473520a99421e43658548c79489ee221b728c107"
|
|
323
312
|
dependencies = [
|
|
324
313
|
"hashbrown",
|
|
325
|
-
"once_cell",
|
|
326
314
|
]
|
|
327
315
|
|
|
328
316
|
[[package]]
|
|
329
317
|
name = "whatlang-rb"
|
|
330
|
-
version = "0.1.
|
|
318
|
+
version = "0.1.9"
|
|
331
319
|
dependencies = [
|
|
332
320
|
"magnus",
|
|
333
321
|
"whatlang",
|
|
@@ -338,23 +326,3 @@ name = "windows-link"
|
|
|
338
326
|
version = "0.2.1"
|
|
339
327
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
340
328
|
checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
|
|
341
|
-
|
|
342
|
-
[[package]]
|
|
343
|
-
name = "zerocopy"
|
|
344
|
-
version = "0.8.27"
|
|
345
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
346
|
-
checksum = "0894878a5fa3edfd6da3f88c4805f4c8558e2b996227a3d864f47fe11e38282c"
|
|
347
|
-
dependencies = [
|
|
348
|
-
"zerocopy-derive",
|
|
349
|
-
]
|
|
350
|
-
|
|
351
|
-
[[package]]
|
|
352
|
-
name = "zerocopy-derive"
|
|
353
|
-
version = "0.8.27"
|
|
354
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
355
|
-
checksum = "88d2b8d9c68ad2b9e4340d7832716a4d21a22a1154777ad56ea55c51a9cf3831"
|
|
356
|
-
dependencies = [
|
|
357
|
-
"proc-macro2",
|
|
358
|
-
"quote",
|
|
359
|
-
"syn",
|
|
360
|
-
]
|
data/ext/whatlang-rb/Cargo.toml
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "whatlang-rb"
|
|
3
|
-
version = "0.1.
|
|
3
|
+
version = "0.1.9"
|
|
4
4
|
authors = ["Kitaiti Makoto <KitaitiMakoto@gmail.com>"]
|
|
5
5
|
edition = "2024"
|
|
6
6
|
|
|
7
7
|
[dependencies]
|
|
8
8
|
magnus = "0.8"
|
|
9
|
-
whatlang = "0.
|
|
9
|
+
whatlang = "0.18.0"
|
|
10
10
|
|
|
11
11
|
[lib]
|
|
12
12
|
crate-type = ["cdylib"]
|