itsi 0.2.14 → 0.2.15

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.
@@ -213,7 +213,7 @@ checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c"
213
213
 
214
214
  [[package]]
215
215
  name = "itsi-scheduler"
216
- version = "0.2.14"
216
+ version = "0.2.15"
217
217
  dependencies = [
218
218
  "bytes",
219
219
  "derive_more",
@@ -297,7 +297,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
297
297
  checksum = "fc2f4eb4bc735547cfed7c0a4922cbd04a4655978c09b54f1f7b228750664c34"
298
298
  dependencies = [
299
299
  "cfg-if",
300
- "windows-targets 0.48.5",
300
+ "windows-targets",
301
301
  ]
302
302
 
303
303
  [[package]]
@@ -443,7 +443,7 @@ dependencies = [
443
443
  "libc",
444
444
  "redox_syscall",
445
445
  "smallvec",
446
- "windows-targets 0.52.6",
446
+ "windows-targets",
447
447
  ]
448
448
 
449
449
  [[package]]
@@ -932,22 +932,7 @@ version = "0.52.0"
932
932
  source = "registry+https://github.com/rust-lang/crates.io-index"
933
933
  checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d"
934
934
  dependencies = [
935
- "windows-targets 0.52.6",
936
- ]
937
-
938
- [[package]]
939
- name = "windows-targets"
940
- version = "0.48.5"
941
- source = "registry+https://github.com/rust-lang/crates.io-index"
942
- checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c"
943
- dependencies = [
944
- "windows_aarch64_gnullvm 0.48.5",
945
- "windows_aarch64_msvc 0.48.5",
946
- "windows_i686_gnu 0.48.5",
947
- "windows_i686_msvc 0.48.5",
948
- "windows_x86_64_gnu 0.48.5",
949
- "windows_x86_64_gnullvm 0.48.5",
950
- "windows_x86_64_msvc 0.48.5",
935
+ "windows-targets",
951
936
  ]
952
937
 
953
938
  [[package]]
@@ -956,46 +941,28 @@ version = "0.52.6"
956
941
  source = "registry+https://github.com/rust-lang/crates.io-index"
957
942
  checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
958
943
  dependencies = [
959
- "windows_aarch64_gnullvm 0.52.6",
960
- "windows_aarch64_msvc 0.52.6",
961
- "windows_i686_gnu 0.52.6",
944
+ "windows_aarch64_gnullvm",
945
+ "windows_aarch64_msvc",
946
+ "windows_i686_gnu",
962
947
  "windows_i686_gnullvm",
963
- "windows_i686_msvc 0.52.6",
964
- "windows_x86_64_gnu 0.52.6",
965
- "windows_x86_64_gnullvm 0.52.6",
966
- "windows_x86_64_msvc 0.52.6",
948
+ "windows_i686_msvc",
949
+ "windows_x86_64_gnu",
950
+ "windows_x86_64_gnullvm",
951
+ "windows_x86_64_msvc",
967
952
  ]
968
953
 
969
- [[package]]
970
- name = "windows_aarch64_gnullvm"
971
- version = "0.48.5"
972
- source = "registry+https://github.com/rust-lang/crates.io-index"
973
- checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8"
974
-
975
954
  [[package]]
976
955
  name = "windows_aarch64_gnullvm"
977
956
  version = "0.52.6"
978
957
  source = "registry+https://github.com/rust-lang/crates.io-index"
979
958
  checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
980
959
 
981
- [[package]]
982
- name = "windows_aarch64_msvc"
983
- version = "0.48.5"
984
- source = "registry+https://github.com/rust-lang/crates.io-index"
985
- checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc"
986
-
987
960
  [[package]]
988
961
  name = "windows_aarch64_msvc"
989
962
  version = "0.52.6"
990
963
  source = "registry+https://github.com/rust-lang/crates.io-index"
991
964
  checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
992
965
 
993
- [[package]]
994
- name = "windows_i686_gnu"
995
- version = "0.48.5"
996
- source = "registry+https://github.com/rust-lang/crates.io-index"
997
- checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e"
998
-
999
966
  [[package]]
1000
967
  name = "windows_i686_gnu"
1001
968
  version = "0.52.6"
@@ -1008,48 +975,24 @@ version = "0.52.6"
1008
975
  source = "registry+https://github.com/rust-lang/crates.io-index"
1009
976
  checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
1010
977
 
1011
- [[package]]
1012
- name = "windows_i686_msvc"
1013
- version = "0.48.5"
1014
- source = "registry+https://github.com/rust-lang/crates.io-index"
1015
- checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406"
1016
-
1017
978
  [[package]]
1018
979
  name = "windows_i686_msvc"
1019
980
  version = "0.52.6"
1020
981
  source = "registry+https://github.com/rust-lang/crates.io-index"
1021
982
  checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
1022
983
 
1023
- [[package]]
1024
- name = "windows_x86_64_gnu"
1025
- version = "0.48.5"
1026
- source = "registry+https://github.com/rust-lang/crates.io-index"
1027
- checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e"
1028
-
1029
984
  [[package]]
1030
985
  name = "windows_x86_64_gnu"
1031
986
  version = "0.52.6"
1032
987
  source = "registry+https://github.com/rust-lang/crates.io-index"
1033
988
  checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
1034
989
 
1035
- [[package]]
1036
- name = "windows_x86_64_gnullvm"
1037
- version = "0.48.5"
1038
- source = "registry+https://github.com/rust-lang/crates.io-index"
1039
- checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc"
1040
-
1041
990
  [[package]]
1042
991
  name = "windows_x86_64_gnullvm"
1043
992
  version = "0.52.6"
1044
993
  source = "registry+https://github.com/rust-lang/crates.io-index"
1045
994
  checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
1046
995
 
1047
- [[package]]
1048
- name = "windows_x86_64_msvc"
1049
- version = "0.48.5"
1050
- source = "registry+https://github.com/rust-lang/crates.io-index"
1051
- checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538"
1052
-
1053
996
  [[package]]
1054
997
  name = "windows_x86_64_msvc"
1055
998
  version = "0.52.6"
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
11
11
  spec.summary = "Itsi Scheduler - A light-weight Fiber Scheduler implementation for Ruby."
12
12
  spec.description = "Itsi Scheduler - A light-weight Fiber Scheduler implementation for Ruby"
13
13
  spec.homepage = "https://itsi.fyi"
14
- spec.license = "MIT"
14
+ spec.license = "LGPL-3.0"
15
15
  spec.required_ruby_version = ">= 3.0"
16
16
  spec.required_rubygems_version = ">= 3.1.11"
17
17
 
@@ -65,7 +65,7 @@ module Itsi
65
65
  def schedule_map(&block)
66
66
  return Enumerator.new do |y|
67
67
  schedule do
68
- with_index.each_with_object([]) do |(item, index), agg|
68
+ each_with_index.each_with_object([]) do |(item, index), agg|
69
69
  schedule do
70
70
  agg[index] = (y << item)
71
71
  end
@@ -73,7 +73,7 @@ module Itsi
73
73
  end
74
74
  end.map unless block_given?
75
75
  schedule do
76
- with_index.each_with_object([]) do |(item, index), agg|
76
+ each_with_index.each_with_object([]) do |(item, index), agg|
77
77
  schedule do
78
78
  agg[index] = block[item]
79
79
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Itsi
4
4
  class Scheduler
5
- VERSION = "0.2.14"
5
+ VERSION = "0.2.15"
6
6
  end
7
7
  end
@@ -17,6 +17,19 @@ version = "2.0.0"
17
17
  source = "registry+https://github.com/rust-lang/crates.io-index"
18
18
  checksum = "512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627"
19
19
 
20
+ [[package]]
21
+ name = "ahash"
22
+ version = "0.8.11"
23
+ source = "registry+https://github.com/rust-lang/crates.io-index"
24
+ checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011"
25
+ dependencies = [
26
+ "cfg-if",
27
+ "getrandom 0.2.15",
28
+ "once_cell",
29
+ "version_check",
30
+ "zerocopy 0.7.35",
31
+ ]
32
+
20
33
  [[package]]
21
34
  name = "aho-corasick"
22
35
  version = "1.1.3"
@@ -1080,19 +1093,6 @@ dependencies = [
1080
1093
  "slab",
1081
1094
  ]
1082
1095
 
1083
- [[package]]
1084
- name = "generator"
1085
- version = "0.8.4"
1086
- source = "registry+https://github.com/rust-lang/crates.io-index"
1087
- checksum = "cc6bd114ceda131d3b1d665eba35788690ad37f5916457286b32ab6fd3c438dd"
1088
- dependencies = [
1089
- "cfg-if",
1090
- "libc",
1091
- "log",
1092
- "rustversion",
1093
- "windows 0.58.0",
1094
- ]
1095
-
1096
1096
  [[package]]
1097
1097
  name = "generic-array"
1098
1098
  version = "0.14.7"
@@ -1644,7 +1644,7 @@ checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c"
1644
1644
 
1645
1645
  [[package]]
1646
1646
  name = "itsi-server"
1647
- version = "0.2.14"
1647
+ version = "0.2.15"
1648
1648
  dependencies = [
1649
1649
  "argon2",
1650
1650
  "async-channel",
@@ -1675,13 +1675,14 @@ dependencies = [
1675
1675
  "magnus",
1676
1676
  "md5",
1677
1677
  "memchr",
1678
- "moka",
1679
1678
  "nix",
1680
1679
  "notify",
1681
1680
  "num_cpus",
1682
1681
  "parking_lot",
1683
1682
  "percent-encoding",
1683
+ "phf",
1684
1684
  "pin-project",
1685
+ "quick_cache",
1685
1686
  "rand 0.9.1",
1686
1687
  "rcgen",
1687
1688
  "redis",
@@ -1853,7 +1854,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
1853
1854
  checksum = "fc2f4eb4bc735547cfed7c0a4922cbd04a4655978c09b54f1f7b228750664c34"
1854
1855
  dependencies = [
1855
1856
  "cfg-if",
1856
- "windows-targets 0.48.5",
1857
+ "windows-targets 0.52.6",
1857
1858
  ]
1858
1859
 
1859
1860
  [[package]]
@@ -1901,19 +1902,6 @@ version = "0.4.27"
1901
1902
  source = "registry+https://github.com/rust-lang/crates.io-index"
1902
1903
  checksum = "13dc2df351e3202783a1fe0d44375f7295ffb4049267b0f3018346dc122a1d94"
1903
1904
 
1904
- [[package]]
1905
- name = "loom"
1906
- version = "0.7.2"
1907
- source = "registry+https://github.com/rust-lang/crates.io-index"
1908
- checksum = "419e0dc8046cb947daa77eb95ae174acfbddb7673b4151f56d1eed8e93fbfaca"
1909
- dependencies = [
1910
- "cfg-if",
1911
- "generator",
1912
- "scoped-tls",
1913
- "tracing",
1914
- "tracing-subscriber",
1915
- ]
1916
-
1917
1905
  [[package]]
1918
1906
  name = "magnus"
1919
1907
  version = "0.7.1"
@@ -2017,25 +2005,6 @@ dependencies = [
2017
2005
  "windows-sys 0.52.0",
2018
2006
  ]
2019
2007
 
2020
- [[package]]
2021
- name = "moka"
2022
- version = "0.12.10"
2023
- source = "registry+https://github.com/rust-lang/crates.io-index"
2024
- checksum = "a9321642ca94a4282428e6ea4af8cc2ca4eac48ac7a6a4ea8f33f76d0ce70926"
2025
- dependencies = [
2026
- "crossbeam-channel",
2027
- "crossbeam-epoch",
2028
- "crossbeam-utils",
2029
- "loom",
2030
- "parking_lot",
2031
- "portable-atomic",
2032
- "rustc_version",
2033
- "smallvec",
2034
- "tagptr",
2035
- "thiserror 1.0.69",
2036
- "uuid",
2037
- ]
2038
-
2039
2008
  [[package]]
2040
2009
  name = "multer"
2041
2010
  version = "2.1.0"
@@ -2272,6 +2241,48 @@ version = "2.3.1"
2272
2241
  source = "registry+https://github.com/rust-lang/crates.io-index"
2273
2242
  checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e"
2274
2243
 
2244
+ [[package]]
2245
+ name = "phf"
2246
+ version = "0.11.3"
2247
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2248
+ checksum = "1fd6780a80ae0c52cc120a26a1a42c1ae51b247a253e4e06113d23d2c2edd078"
2249
+ dependencies = [
2250
+ "phf_macros",
2251
+ "phf_shared",
2252
+ ]
2253
+
2254
+ [[package]]
2255
+ name = "phf_generator"
2256
+ version = "0.11.3"
2257
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2258
+ checksum = "3c80231409c20246a13fddb31776fb942c38553c51e871f8cbd687a4cfb5843d"
2259
+ dependencies = [
2260
+ "phf_shared",
2261
+ "rand 0.8.5",
2262
+ ]
2263
+
2264
+ [[package]]
2265
+ name = "phf_macros"
2266
+ version = "0.11.3"
2267
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2268
+ checksum = "f84ac04429c13a7ff43785d75ad27569f2951ce0ffd30a3321230db2fc727216"
2269
+ dependencies = [
2270
+ "phf_generator",
2271
+ "phf_shared",
2272
+ "proc-macro2",
2273
+ "quote",
2274
+ "syn 2.0.100",
2275
+ ]
2276
+
2277
+ [[package]]
2278
+ name = "phf_shared"
2279
+ version = "0.11.3"
2280
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2281
+ checksum = "67eabc2ef2a60eb7faa00097bd1ffdb5bd28e62bf39990626a582201b7a754e5"
2282
+ dependencies = [
2283
+ "siphasher",
2284
+ ]
2285
+
2275
2286
  [[package]]
2276
2287
  name = "pin-project"
2277
2288
  version = "1.1.10"
@@ -2310,12 +2321,6 @@ version = "0.3.32"
2310
2321
  source = "registry+https://github.com/rust-lang/crates.io-index"
2311
2322
  checksum = "7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c"
2312
2323
 
2313
- [[package]]
2314
- name = "portable-atomic"
2315
- version = "1.11.0"
2316
- source = "registry+https://github.com/rust-lang/crates.io-index"
2317
- checksum = "350e9b48cbc6b0e028b0473b114454c6316e57336ee184ceab6e53f72c178b3e"
2318
-
2319
2324
  [[package]]
2320
2325
  name = "powerfmt"
2321
2326
  version = "0.2.0"
@@ -2328,7 +2333,7 @@ version = "0.2.21"
2328
2333
  source = "registry+https://github.com/rust-lang/crates.io-index"
2329
2334
  checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9"
2330
2335
  dependencies = [
2331
- "zerocopy",
2336
+ "zerocopy 0.8.24",
2332
2337
  ]
2333
2338
 
2334
2339
  [[package]]
@@ -2374,6 +2379,18 @@ dependencies = [
2374
2379
  "unicode-ident",
2375
2380
  ]
2376
2381
 
2382
+ [[package]]
2383
+ name = "quick_cache"
2384
+ version = "0.6.13"
2385
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2386
+ checksum = "287e56aac5a2b4fb25a6fb050961d157635924c8696305a5c937a76f29841a0f"
2387
+ dependencies = [
2388
+ "ahash",
2389
+ "equivalent",
2390
+ "hashbrown",
2391
+ "parking_lot",
2392
+ ]
2393
+
2377
2394
  [[package]]
2378
2395
  name = "quinn"
2379
2396
  version = "0.11.7"
@@ -2746,15 +2763,6 @@ version = "2.1.1"
2746
2763
  source = "registry+https://github.com/rust-lang/crates.io-index"
2747
2764
  checksum = "357703d41365b4b27c590e3ed91eabb1b663f07c4c084095e60cbed4362dff0d"
2748
2765
 
2749
- [[package]]
2750
- name = "rustc_version"
2751
- version = "0.4.1"
2752
- source = "registry+https://github.com/rust-lang/crates.io-index"
2753
- checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92"
2754
- dependencies = [
2755
- "semver",
2756
- ]
2757
-
2758
2766
  [[package]]
2759
2767
  name = "rusticata-macros"
2760
2768
  version = "4.1.0"
@@ -2922,12 +2930,6 @@ dependencies = [
2922
2930
  "libc",
2923
2931
  ]
2924
2932
 
2925
- [[package]]
2926
- name = "semver"
2927
- version = "1.0.26"
2928
- source = "registry+https://github.com/rust-lang/crates.io-index"
2929
- checksum = "56e6fa9c48d24d85fb3de5ad847117517440f6beceb7798af16b4a87d616b8d0"
2930
-
2931
2933
  [[package]]
2932
2934
  name = "seq-macro"
2933
2935
  version = "0.3.6"
@@ -3093,6 +3095,12 @@ dependencies = [
3093
3095
  "windows-sys 0.48.0",
3094
3096
  ]
3095
3097
 
3098
+ [[package]]
3099
+ name = "siphasher"
3100
+ version = "1.0.1"
3101
+ source = "registry+https://github.com/rust-lang/crates.io-index"
3102
+ checksum = "56199f7ddabf13fe5074ce809e7d3f42b42ae711800501b5b16ea82ad029c39d"
3103
+
3096
3104
  [[package]]
3097
3105
  name = "slab"
3098
3106
  version = "0.4.9"
@@ -3225,15 +3233,9 @@ dependencies = [
3225
3233
  "memchr",
3226
3234
  "ntapi",
3227
3235
  "rayon",
3228
- "windows 0.57.0",
3236
+ "windows",
3229
3237
  ]
3230
3238
 
3231
- [[package]]
3232
- name = "tagptr"
3233
- version = "0.2.0"
3234
- source = "registry+https://github.com/rust-lang/crates.io-index"
3235
- checksum = "7b2093cf4c8eb1e67749a6762251bc9cd836b6fc171623bd0a9d324d37af2417"
3236
-
3237
3239
  [[package]]
3238
3240
  name = "tap"
3239
3241
  version = "1.0.1"
@@ -3663,15 +3665,6 @@ version = "0.2.2"
3663
3665
  source = "registry+https://github.com/rust-lang/crates.io-index"
3664
3666
  checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"
3665
3667
 
3666
- [[package]]
3667
- name = "uuid"
3668
- version = "1.16.0"
3669
- source = "registry+https://github.com/rust-lang/crates.io-index"
3670
- checksum = "458f7a779bf54acc9f347480ac654f68407d3aab21269a6e3c9f922acd9e2da9"
3671
- dependencies = [
3672
- "getrandom 0.3.2",
3673
- ]
3674
-
3675
3668
  [[package]]
3676
3669
  name = "valuable"
3677
3670
  version = "0.1.1"
@@ -3919,16 +3912,6 @@ dependencies = [
3919
3912
  "windows-targets 0.52.6",
3920
3913
  ]
3921
3914
 
3922
- [[package]]
3923
- name = "windows"
3924
- version = "0.58.0"
3925
- source = "registry+https://github.com/rust-lang/crates.io-index"
3926
- checksum = "dd04d41d93c4992d421894c18c8b43496aa748dd4c081bac0dc93eb0489272b6"
3927
- dependencies = [
3928
- "windows-core 0.58.0",
3929
- "windows-targets 0.52.6",
3930
- ]
3931
-
3932
3915
  [[package]]
3933
3916
  name = "windows-core"
3934
3917
  version = "0.57.0"
@@ -3941,19 +3924,6 @@ dependencies = [
3941
3924
  "windows-targets 0.52.6",
3942
3925
  ]
3943
3926
 
3944
- [[package]]
3945
- name = "windows-core"
3946
- version = "0.58.0"
3947
- source = "registry+https://github.com/rust-lang/crates.io-index"
3948
- checksum = "6ba6d44ec8c2591c134257ce647b7ea6b20335bf6379a27dac5f1641fcf59f99"
3949
- dependencies = [
3950
- "windows-implement 0.58.0",
3951
- "windows-interface 0.58.0",
3952
- "windows-result 0.2.0",
3953
- "windows-strings 0.1.0",
3954
- "windows-targets 0.52.6",
3955
- ]
3956
-
3957
3927
  [[package]]
3958
3928
  name = "windows-core"
3959
3929
  version = "0.61.0"
@@ -3978,17 +3948,6 @@ dependencies = [
3978
3948
  "syn 2.0.100",
3979
3949
  ]
3980
3950
 
3981
- [[package]]
3982
- name = "windows-implement"
3983
- version = "0.58.0"
3984
- source = "registry+https://github.com/rust-lang/crates.io-index"
3985
- checksum = "2bbd5b46c938e506ecbce286b6628a02171d56153ba733b6c741fc627ec9579b"
3986
- dependencies = [
3987
- "proc-macro2",
3988
- "quote",
3989
- "syn 2.0.100",
3990
- ]
3991
-
3992
3951
  [[package]]
3993
3952
  name = "windows-implement"
3994
3953
  version = "0.60.0"
@@ -4011,17 +3970,6 @@ dependencies = [
4011
3970
  "syn 2.0.100",
4012
3971
  ]
4013
3972
 
4014
- [[package]]
4015
- name = "windows-interface"
4016
- version = "0.58.0"
4017
- source = "registry+https://github.com/rust-lang/crates.io-index"
4018
- checksum = "053c4c462dc91d3b1504c6fe5a726dd15e216ba718e84a0e46a88fbe5ded3515"
4019
- dependencies = [
4020
- "proc-macro2",
4021
- "quote",
4022
- "syn 2.0.100",
4023
- ]
4024
-
4025
3973
  [[package]]
4026
3974
  name = "windows-interface"
4027
3975
  version = "0.59.1"
@@ -4059,15 +4007,6 @@ dependencies = [
4059
4007
  "windows-targets 0.52.6",
4060
4008
  ]
4061
4009
 
4062
- [[package]]
4063
- name = "windows-result"
4064
- version = "0.2.0"
4065
- source = "registry+https://github.com/rust-lang/crates.io-index"
4066
- checksum = "1d1043d8214f791817bab27572aaa8af63732e11bf84aa21a45a78d6c317ae0e"
4067
- dependencies = [
4068
- "windows-targets 0.52.6",
4069
- ]
4070
-
4071
4010
  [[package]]
4072
4011
  name = "windows-result"
4073
4012
  version = "0.3.2"
@@ -4077,16 +4016,6 @@ dependencies = [
4077
4016
  "windows-link",
4078
4017
  ]
4079
4018
 
4080
- [[package]]
4081
- name = "windows-strings"
4082
- version = "0.1.0"
4083
- source = "registry+https://github.com/rust-lang/crates.io-index"
4084
- checksum = "4cd9b125c486025df0eabcb585e62173c6c9eddcec5d117d3b6e8c30e2ee4d10"
4085
- dependencies = [
4086
- "windows-result 0.2.0",
4087
- "windows-targets 0.52.6",
4088
- ]
4089
-
4090
4019
  [[package]]
4091
4020
  name = "windows-strings"
4092
4021
  version = "0.3.1"
@@ -4389,13 +4318,33 @@ dependencies = [
4389
4318
  "synstructure",
4390
4319
  ]
4391
4320
 
4321
+ [[package]]
4322
+ name = "zerocopy"
4323
+ version = "0.7.35"
4324
+ source = "registry+https://github.com/rust-lang/crates.io-index"
4325
+ checksum = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0"
4326
+ dependencies = [
4327
+ "zerocopy-derive 0.7.35",
4328
+ ]
4329
+
4392
4330
  [[package]]
4393
4331
  name = "zerocopy"
4394
4332
  version = "0.8.24"
4395
4333
  source = "registry+https://github.com/rust-lang/crates.io-index"
4396
4334
  checksum = "2586fea28e186957ef732a5f8b3be2da217d65c5969d4b1e17f973ebbe876879"
4397
4335
  dependencies = [
4398
- "zerocopy-derive",
4336
+ "zerocopy-derive 0.8.24",
4337
+ ]
4338
+
4339
+ [[package]]
4340
+ name = "zerocopy-derive"
4341
+ version = "0.7.35"
4342
+ source = "registry+https://github.com/rust-lang/crates.io-index"
4343
+ checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e"
4344
+ dependencies = [
4345
+ "proc-macro2",
4346
+ "quote",
4347
+ "syn 2.0.100",
4399
4348
  ]
4400
4349
 
4401
4350
  [[package]]
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
11
11
  spec.summary = "Itsi Server - A light-weight Rack Server implementation for Ruby."
12
12
  spec.description = "Itsi Server - A light-weight Rack Server implementation for Ruby"
13
13
  spec.homepage = "https://itsi.fyi"
14
- spec.license = "MIT"
14
+ spec.license = "LGPL-3.0"
15
15
  spec.required_ruby_version = ">= 2.7.0"
16
16
  spec.required_rubygems_version = ">= 3.1"
17
17
 
@@ -36,10 +36,10 @@ Gem::Specification.new do |spec|
36
36
  spec.require_paths = ["lib"]
37
37
  spec.extensions = ["ext/itsi_server/extconf.rb"]
38
38
 
39
+ spec.add_dependency "json", "~> 2"
40
+ spec.add_dependency 'prism', '~> 1.4'
39
41
  spec.add_dependency "rack", ">= 1.6"
40
- spec.add_dependency "json", '~> 2'
41
42
  spec.add_dependency "rb_sys", "~> 0.9.91"
42
- spec.add_dependency 'prism', '~> 1.4'
43
43
 
44
44
  spec.add_development_dependency "ruby-lsp"
45
45
  # For more information and examples about making a new gem, check out our
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Itsi
4
4
  class Server
5
- VERSION = "0.2.14"
5
+ VERSION = "0.2.15"
6
6
  end
7
7
  end
@@ -10,7 +10,7 @@ class TestRubyThreadRequestBacklogSize < Minitest::Test
10
10
  ruby_thread_request_backlog_size 1
11
11
  get("/foo"){|r| sleep 0.1; r.ok "ok" }
12
12
  end) do
13
- responses = 3.times.map{ Thread.new{ get_resp("/foo") } }.map(&:value)
13
+ responses = 10.times.map{ Thread.new{ get_resp("/foo") } }.map(&:value)
14
14
 
15
15
  assert_equal "ok", responses.first.body
16
16
  assert_equal "200", responses.first.code
data/lib/itsi/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Itsi
2
- VERSION = '0.2.14'
2
+ VERSION = '0.2.15'
3
3
  end