wasmtime 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (318) hide show
  1. checksums.yaml +4 -4
  2. data/Cargo.lock +12 -12
  3. data/ext/Cargo.toml +1 -1
  4. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/.cargo-checksum.json +1 -1
  5. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/COPYRIGHT +0 -0
  6. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/Cargo.toml +1 -1
  7. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/LICENSE-APACHE +0 -0
  8. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/LICENSE-Apache-2.0_WITH_LLVM-exception +0 -0
  9. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/LICENSE-MIT +0 -0
  10. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/README.md +0 -0
  11. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/build.rs +0 -0
  12. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/assert_same_file.rs +0 -0
  13. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/canonicalize.rs +0 -0
  14. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/copy.rs +0 -0
  15. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/create_dir.rs +0 -0
  16. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/dir_builder.rs +0 -0
  17. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/dir_entry.rs +0 -0
  18. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/dir_options.rs +0 -0
  19. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/errors.rs +0 -0
  20. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/file_path_by_searching.rs +0 -0
  21. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/file_type.rs +0 -0
  22. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/follow_symlinks.rs +0 -0
  23. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/hard_link.rs +0 -0
  24. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/is_file_read_write.rs +0 -0
  25. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/manually/canonical_path.rs +0 -0
  26. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/manually/canonicalize.rs +0 -0
  27. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/manually/cow_component.rs +0 -0
  28. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/manually/mod.rs +0 -0
  29. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/manually/open.rs +0 -0
  30. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/manually/open_entry.rs +0 -0
  31. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/manually/read_link_one.rs +0 -0
  32. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/maybe_owned_file.rs +0 -0
  33. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/metadata.rs +0 -0
  34. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/mod.rs +0 -0
  35. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/open.rs +0 -0
  36. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/open_ambient.rs +0 -0
  37. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/open_dir.rs +0 -0
  38. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/open_options.rs +0 -0
  39. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/open_unchecked_error.rs +0 -0
  40. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/permissions.rs +0 -0
  41. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/read_dir.rs +0 -0
  42. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/read_link.rs +0 -0
  43. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/remove_dir.rs +0 -0
  44. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/remove_dir_all.rs +0 -0
  45. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/remove_file.rs +0 -0
  46. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/remove_open_dir.rs +0 -0
  47. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/rename.rs +0 -0
  48. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/reopen.rs +0 -0
  49. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/set_permissions.rs +0 -0
  50. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/set_times.rs +0 -0
  51. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/stat.rs +0 -0
  52. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/symlink.rs +0 -0
  53. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/system_time_spec.rs +0 -0
  54. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/via_parent/create_dir.rs +0 -0
  55. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/via_parent/hard_link.rs +0 -0
  56. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/via_parent/mod.rs +0 -0
  57. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/via_parent/open_parent.rs +0 -0
  58. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/via_parent/read_link.rs +0 -0
  59. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/via_parent/remove_dir.rs +0 -0
  60. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/via_parent/remove_file.rs +0 -0
  61. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/via_parent/rename.rs +0 -0
  62. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/via_parent/set_permissions.rs +0 -0
  63. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/via_parent/set_times_nofollow.rs +0 -0
  64. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/via_parent/symlink.rs +0 -0
  65. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/lib.rs +0 -0
  66. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/net/mod.rs +0 -0
  67. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/net/pool.rs +0 -0
  68. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/darwin/fs/file_path.rs +0 -0
  69. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/darwin/fs/mod.rs +0 -0
  70. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/darwin/mod.rs +0 -0
  71. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/copy_impl.rs +0 -0
  72. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/create_dir_unchecked.rs +0 -0
  73. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/cvt.rs +0 -0
  74. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/dir_entry_inner.rs +0 -0
  75. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/dir_options_ext.rs +0 -0
  76. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/dir_utils.rs +0 -0
  77. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/errors.rs +0 -0
  78. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/file_path.rs +0 -0
  79. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/file_type_ext.rs +0 -0
  80. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/hard_link_unchecked.rs +0 -0
  81. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/is_file_read_write_impl.rs +0 -0
  82. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/is_root_dir.rs +0 -0
  83. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/is_same_file.rs +0 -0
  84. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/metadata_ext.rs +0 -0
  85. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/mod.rs +0 -0
  86. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/oflags.rs +0 -0
  87. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/open_options_ext.rs +0 -0
  88. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/open_unchecked.rs +0 -0
  89. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/permissions_ext.rs +0 -0
  90. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/read_dir_inner.rs +0 -0
  91. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/read_link_unchecked.rs +0 -0
  92. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/remove_dir_all_impl.rs +0 -0
  93. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/remove_dir_unchecked.rs +0 -0
  94. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/remove_file_unchecked.rs +0 -0
  95. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/remove_open_dir_by_searching.rs +0 -0
  96. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/rename_unchecked.rs +0 -0
  97. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/reopen_impl.rs +0 -0
  98. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/set_permissions_impl.rs +0 -0
  99. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/set_times_impl.rs +0 -0
  100. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/stat_unchecked.rs +0 -0
  101. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/symlink_unchecked.rs +0 -0
  102. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/times.rs +0 -0
  103. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/linux/fs/canonicalize_impl.rs +0 -0
  104. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/linux/fs/file_metadata.rs +0 -0
  105. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/linux/fs/file_path.rs +0 -0
  106. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/linux/fs/mod.rs +0 -0
  107. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/linux/fs/open_entry_impl.rs +0 -0
  108. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/linux/fs/open_impl.rs +0 -0
  109. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/linux/fs/procfs.rs +0 -0
  110. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/linux/fs/set_permissions_impl.rs +0 -0
  111. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/linux/fs/set_times_impl.rs +0 -0
  112. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/linux/fs/stat_impl.rs +0 -0
  113. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/linux/mod.rs +0 -0
  114. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/mod.rs +0 -0
  115. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/time/instant.rs +0 -0
  116. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/time/mod.rs +0 -0
  117. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/time/monotonic_clock.rs +0 -0
  118. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/time/system_clock.rs +0 -0
  119. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/time/system_time.rs +0 -0
  120. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/copy.rs +0 -0
  121. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/create_dir_unchecked.rs +0 -0
  122. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/dir_entry_inner.rs +0 -0
  123. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/dir_options_ext.rs +0 -0
  124. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/dir_utils.rs +0 -0
  125. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/errors.rs +0 -0
  126. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/file_type_ext.rs +0 -0
  127. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/get_path.rs +0 -0
  128. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/hard_link_unchecked.rs +0 -0
  129. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/is_file_read_write_impl.rs +0 -0
  130. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/is_same_file.rs +0 -0
  131. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/metadata_ext.rs +0 -0
  132. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/mod.rs +0 -0
  133. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/oflags.rs +0 -0
  134. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/open_impl.rs +0 -0
  135. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/open_options_ext.rs +0 -0
  136. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/open_unchecked.rs +0 -0
  137. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/read_dir_inner.rs +0 -0
  138. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/read_link_impl.rs +0 -0
  139. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/read_link_unchecked.rs +0 -0
  140. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/remove_dir_all_impl.rs +0 -0
  141. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/remove_dir_unchecked.rs +0 -0
  142. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/remove_file_unchecked.rs +0 -0
  143. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/remove_open_dir_impl.rs +0 -0
  144. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/rename_unchecked.rs +0 -0
  145. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/reopen_impl.rs +0 -0
  146. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/set_permissions_unchecked.rs +0 -0
  147. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/set_times_impl.rs +0 -0
  148. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/stat_unchecked.rs +0 -0
  149. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/symlink_unchecked.rs +0 -0
  150. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/mod.rs +0 -0
  151. data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/.cargo-checksum.json +1 -1
  152. data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/COPYRIGHT +0 -0
  153. data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/Cargo.toml +2 -2
  154. data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/LICENSE-APACHE +0 -0
  155. data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/LICENSE-Apache-2.0_WITH_LLVM-exception +0 -0
  156. data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/LICENSE-MIT +0 -0
  157. data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/README.md +0 -0
  158. data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/build.rs +0 -0
  159. data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/fs/dir.rs +20 -1
  160. data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/fs/dir_entry.rs +0 -0
  161. data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/fs/file.rs +20 -1
  162. data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/fs/mod.rs +0 -0
  163. data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/fs/read_dir.rs +0 -0
  164. data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/fs_utf8/dir.rs +20 -1
  165. data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/fs_utf8/dir_entry.rs +0 -0
  166. data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/fs_utf8/file.rs +20 -1
  167. data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/fs_utf8/mod.rs +0 -0
  168. data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/fs_utf8/read_dir.rs +0 -0
  169. data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/lib.rs +0 -0
  170. data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/net/incoming.rs +0 -0
  171. data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/net/mod.rs +0 -0
  172. data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/net/pool.rs +0 -0
  173. data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/net/tcp_listener.rs +20 -1
  174. data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/net/tcp_stream.rs +20 -1
  175. data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/net/udp_socket.rs +20 -1
  176. data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/os/mod.rs +0 -0
  177. data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/os/unix/mod.rs +0 -0
  178. data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/os/unix/net/incoming.rs +0 -0
  179. data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/os/unix/net/mod.rs +0 -0
  180. data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/os/unix/net/unix_datagram.rs +0 -0
  181. data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/os/unix/net/unix_listener.rs +0 -0
  182. data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/os/unix/net/unix_stream.rs +0 -0
  183. data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/time/mod.rs +0 -0
  184. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/.cargo-checksum.json +1 -1
  185. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/CHANGELOG.md +10 -1
  186. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/Cargo.lock +3 -3
  187. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/Cargo.toml +2 -2
  188. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/Gemfile +0 -0
  189. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/LICENSE +0 -0
  190. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/README.md +0 -0
  191. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/build.rs +0 -0
  192. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/examples/custom_exception_ruby/Rakefile +0 -0
  193. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/examples/custom_exception_ruby/lib/ahriman/error.rb +0 -0
  194. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/examples/custom_exception_ruby/lib/ahriman.rb +0 -0
  195. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/examples/custom_exception_ruby/test/error_test.rb +0 -0
  196. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/examples/custom_exception_rust/Rakefile +0 -0
  197. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/examples/custom_exception_rust/lib/ahriman.rb +0 -0
  198. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/examples/custom_exception_rust/test/error_test.rb +0 -0
  199. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/examples/fibonacci.rs +0 -0
  200. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/examples/hello_world.rs +0 -0
  201. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/examples/mut_point.rs +0 -0
  202. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/examples/point.rs +0 -0
  203. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/examples/rust_blank/Rakefile +0 -0
  204. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/examples/rust_blank/lib/rust_blank.rb +0 -0
  205. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/examples/rust_blank/test/bench.rb +0 -0
  206. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/examples/rust_blank/test/blank_test.rb +0 -0
  207. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/binding.rs +0 -0
  208. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/block.rs +0 -0
  209. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/class.rs +24 -1
  210. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/embed.rs +0 -0
  211. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/encoding.rs +0 -0
  212. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/enumerator.rs +0 -0
  213. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/error.rs +0 -0
  214. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/exception.rs +0 -0
  215. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/float.rs +0 -0
  216. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/gc.rs +0 -0
  217. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/integer.rs +0 -0
  218. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/lib.rs +1 -1
  219. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/method.rs +0 -0
  220. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/module.rs +0 -0
  221. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/object.rs +0 -0
  222. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/r_array.rs +0 -0
  223. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/r_bignum.rs +0 -0
  224. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/r_complex.rs +0 -0
  225. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/r_file.rs +0 -0
  226. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/r_float.rs +0 -0
  227. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/r_hash.rs +0 -0
  228. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/r_match.rs +0 -0
  229. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/r_object.rs +0 -0
  230. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/r_rational.rs +0 -0
  231. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/r_regexp.rs +0 -0
  232. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/r_string.rs +0 -0
  233. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/r_struct.rs +0 -0
  234. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/r_typed_data.rs +6 -2
  235. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/range.rs +0 -0
  236. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/rb_sys.rs +0 -0
  237. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/scan_args.rs +0 -0
  238. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/symbol.rs +0 -0
  239. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/try_convert.rs +0 -0
  240. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/value/flonum.rs +0 -0
  241. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/value.rs +0 -0
  242. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/test +0 -0
  243. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/allocate_before_init.rs +0 -0
  244. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/array_slice.rs +0 -0
  245. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/block_call.rs +0 -0
  246. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/call_proc.rs +0 -0
  247. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/classname.rs +0 -0
  248. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/codepoints.rs +0 -0
  249. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/debug_exception.rs +0 -0
  250. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/encoding_capable.rs +0 -0
  251. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/enumerator.rs +0 -0
  252. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/enumeratorize.rs +0 -0
  253. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/float_convert_from_value.rs +0 -0
  254. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/float_convert_to_value.rs +0 -0
  255. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/fmt.rs +0 -0
  256. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/freeze.rs +0 -0
  257. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/hash.rs +0 -0
  258. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/integer_convert_to_value.rs +0 -0
  259. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/ivar.rs +0 -0
  260. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/make_proc.rs +0 -0
  261. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/proc_new.rs +0 -0
  262. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/range.rs +0 -0
  263. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/return_iter.rs +0 -0
  264. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/scan_args.rs +0 -0
  265. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/str.rs +0 -0
  266. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/string.rs +0 -0
  267. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/struct.rs +0 -0
  268. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/symbol.rs +0 -0
  269. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/tuple_to_array.rs +0 -0
  270. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/typed_data.rs +0 -0
  271. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/yield.rs +0 -0
  272. data/ext/cargo-vendor/magnus-macros-0.3.0/.cargo-checksum.json +1 -0
  273. data/ext/cargo-vendor/{magnus-macros-0.2.0 → magnus-macros-0.3.0}/Cargo.toml +1 -1
  274. data/ext/cargo-vendor/magnus-macros-0.3.0/LICENSE +21 -0
  275. data/ext/cargo-vendor/{magnus-macros-0.2.0 → magnus-macros-0.3.0}/src/init.rs +0 -0
  276. data/ext/cargo-vendor/{magnus-macros-0.2.0 → magnus-macros-0.3.0}/src/lib.rs +0 -0
  277. data/ext/cargo-vendor/{magnus-macros-0.2.0 → magnus-macros-0.3.0}/src/typed_data.rs +6 -2
  278. data/ext/cargo-vendor/{magnus-macros-0.2.0 → magnus-macros-0.3.0}/src/util.rs +0 -0
  279. data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/.cargo-checksum.json +1 -1
  280. data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/Cargo.toml +2 -2
  281. data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/LICENSE-APACHE +0 -0
  282. data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/LICENSE-MIT +0 -0
  283. data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/bin/release.sh +0 -0
  284. data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/build/features.rs +0 -0
  285. data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/build/main.rs +0 -0
  286. data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/build/ruby_macros.rs +0 -0
  287. data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/build/version.rs +0 -0
  288. data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/readme.md +0 -0
  289. data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/src/allocator.rs +0 -0
  290. data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/src/bindings.rs +0 -0
  291. data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/src/lib.rs +0 -0
  292. data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/src/macros/mod.rs +0 -0
  293. data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/src/macros/ruby_macros.c +0 -0
  294. data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/src/ruby_abi_version.rs +0 -0
  295. data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/src/special_consts.rs +0 -0
  296. data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/src/value_type.rs +0 -0
  297. data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/wrapper.h +0 -0
  298. data/ext/cargo-vendor/{rb-sys-build-0.9.52 → rb-sys-build-0.9.53}/.cargo-checksum.json +1 -1
  299. data/ext/cargo-vendor/{rb-sys-build-0.9.52 → rb-sys-build-0.9.53}/Cargo.toml +1 -1
  300. data/ext/cargo-vendor/{rb-sys-build-0.9.52 → rb-sys-build-0.9.53}/LICENSE-APACHE +0 -0
  301. data/ext/cargo-vendor/{rb-sys-build-0.9.52 → rb-sys-build-0.9.53}/LICENSE-MIT +0 -0
  302. data/ext/cargo-vendor/{rb-sys-build-0.9.52 → rb-sys-build-0.9.53}/src/bindings.rs +0 -0
  303. data/ext/cargo-vendor/{rb-sys-build-0.9.52 → rb-sys-build-0.9.53}/src/lib.rs +0 -0
  304. data/ext/cargo-vendor/{rb-sys-build-0.9.52 → rb-sys-build-0.9.53}/src/rb_config/flags.rs +0 -0
  305. data/ext/cargo-vendor/{rb-sys-build-0.9.52 → rb-sys-build-0.9.53}/src/rb_config/library.rs +0 -0
  306. data/ext/cargo-vendor/{rb-sys-build-0.9.52 → rb-sys-build-0.9.53}/src/rb_config/search_path.rs +0 -0
  307. data/ext/cargo-vendor/{rb-sys-build-0.9.52 → rb-sys-build-0.9.53}/src/rb_config.rs +4 -1
  308. data/ext/cargo-vendor/{rb-sys-build-0.9.52 → rb-sys-build-0.9.53}/src/utils.rs +0 -0
  309. data/ext/src/helpers/macros.rs +15 -0
  310. data/ext/src/ruby_api/caller.rs +2 -2
  311. data/ext/src/ruby_api/externals.rs +2 -2
  312. data/ext/src/ruby_api/func.rs +2 -2
  313. data/ext/src/ruby_api/global.rs +2 -2
  314. data/ext/src/ruby_api/memory.rs +2 -2
  315. data/ext/src/ruby_api/table.rs +2 -2
  316. data/lib/wasmtime/version.rb +1 -1
  317. metadata +307 -306
  318. data/ext/cargo-vendor/magnus-macros-0.2.0/.cargo-checksum.json +0 -1
@@ -1 +1 @@
1
- {"files":{"COPYRIGHT":"6b1691fdee3b03c3946696a7be125fcf50eff310b9486fac850c1b8aea91478b","Cargo.toml":"7d0dd5fbe5995f7ada31ff1fa96507a26849686ce351b2199e0fa0812c05cf47","LICENSE-APACHE":"a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2","LICENSE-Apache-2.0_WITH_LLVM-exception":"268872b9816f90fd8e85db5a28d33f8150ebb8dd016653fb39ef1f94f2686bc5","LICENSE-MIT":"23f18e03dc49df91622fe2a76176497404e46ced8a715d9d2b67a7446571cca3","README.md":"090b59006735b2e2352d3ef6315becf729ed788f5c6f813d60c4bc3bf44e1b6e","build.rs":"63be9331168be5df9b05109cfc3e1618af83040883e8d75db3d6e14ed24de4cf","src/fs/dir.rs":"99a9544eb2a75698684722c3b7fff1530bdd713ef54c5300d5f07653fc235674","src/fs/dir_entry.rs":"d50cd3fd5037c17b32589142ee2b79d925f00ce4404c0dadf54b30edc0d50a3d","src/fs/file.rs":"8664f64d0a9d61261ef95dfca36554a4e0ec5bbe1e3dae81284cadf77d276b36","src/fs/mod.rs":"e77f71f1344956d4d5de1312b2033001007fb25b46c2a91b6df3226f7803d35e","src/fs/read_dir.rs":"70f7264f75b5273088b5ede95e54a9269764e9b8034fa12209df62db34eacc28","src/fs_utf8/dir.rs":"c038bc03b0aab5010435bacbe7e379de6ce0f136a13aac8ece3c1a5cd0816784","src/fs_utf8/dir_entry.rs":"fbeb6b297af91994722aeb1beba97145dd9ba0e1bf253908d68da6709d3239ba","src/fs_utf8/file.rs":"b45cdab1444279930ea9d07d404ce9468bf41426a7181b9f15fc066908112998","src/fs_utf8/mod.rs":"6f72211af62de1ae21f2cd955e68a72155f7c1642b67b23676c3dc23174f1f93","src/fs_utf8/read_dir.rs":"d16c5edbc3011cbdb72b357f4c60c489109a7df7598518f9b216b60d004d8347","src/lib.rs":"f7b4fad8502418c68ef07126b1d296499cb65e4de2ae663e35ee5ecef2fb0673","src/net/incoming.rs":"d3cd4724ae8cc018aab6909cfb7664e20a94a2e098458103ab6521fe883fbfb4","src/net/mod.rs":"0db155f7f1c6f3f156559ef9c49c168092b48f441a0b82a088d633e376ffe7b4","src/net/pool.rs":"ef091ae714c48de66887106b21806340545e67cf2aa9f308bfe8fb83187106ee","src/net/tcp_listener.rs":"95f98a0d444a895b4719c0ad0834eb40131c9538d70d4a16349284e0cbba67ba","src/net/tcp_stream.rs":"119965fdd8684edd3649599248d8d2290020bae7e009c5bdf7194433087ae4cb","src/net/udp_socket.rs":"ad08e2ed8888aa375b0e6bef9c28736187e013e2679e8ff16c1f612f27370db0","src/os/mod.rs":"ddaf9b6969d42a99bbf9b992919afd16579c4745e9f24b1eca47d927ed233ee6","src/os/unix/mod.rs":"2ce5b3049327e88882614ec07bb2c1bda428d13b8d1eb0a5a0485259aab505fc","src/os/unix/net/incoming.rs":"e5894114218c5accdfd6fef97bf0c1719fcbfbc8c4a843aeb3987664aa903db8","src/os/unix/net/mod.rs":"e5db14888c032ad0a89cf76be205653a02a3be3dee373837208b1f5831903cc2","src/os/unix/net/unix_datagram.rs":"7b71ac59400f6e53cbc9cb8ccda7a056f9fd8a42647d542fc5c2951cec76b1db","src/os/unix/net/unix_listener.rs":"db6de9434a0a6e3142263e5ea7fdcaf612771238635b7ad6fc6a48eadd9587a7","src/os/unix/net/unix_stream.rs":"994d8807ede844a79e72e5e908f12b183e665f522c2d6c082add65967a6596df","src/time/mod.rs":"ece9db6261090a9f956b950a0f5f3d08c4aa96d4c2931e0142c74715f87e2423"},"package":"3e9256648eae510b29aae4d52ed71877239a61f9a2494d23ddad7fb6f50e5de8"}
1
+ {"files":{"COPYRIGHT":"6b1691fdee3b03c3946696a7be125fcf50eff310b9486fac850c1b8aea91478b","Cargo.toml":"399e7e1ab9350c9af80f4e3538a5543aeff783dc0cfa5006ee3622d171e45cd4","LICENSE-APACHE":"a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2","LICENSE-Apache-2.0_WITH_LLVM-exception":"268872b9816f90fd8e85db5a28d33f8150ebb8dd016653fb39ef1f94f2686bc5","LICENSE-MIT":"23f18e03dc49df91622fe2a76176497404e46ced8a715d9d2b67a7446571cca3","README.md":"090b59006735b2e2352d3ef6315becf729ed788f5c6f813d60c4bc3bf44e1b6e","build.rs":"63be9331168be5df9b05109cfc3e1618af83040883e8d75db3d6e14ed24de4cf","src/fs/dir.rs":"e7abdd935013b747b908b9d931f7beed01d9a55dd7e4b50973b70e400248366f","src/fs/dir_entry.rs":"d50cd3fd5037c17b32589142ee2b79d925f00ce4404c0dadf54b30edc0d50a3d","src/fs/file.rs":"0bc448a1f7fb6024201a9838ad8fc43a2d54532f20f33d8cbc384cf61cb4ae46","src/fs/mod.rs":"e77f71f1344956d4d5de1312b2033001007fb25b46c2a91b6df3226f7803d35e","src/fs/read_dir.rs":"70f7264f75b5273088b5ede95e54a9269764e9b8034fa12209df62db34eacc28","src/fs_utf8/dir.rs":"e3a6311727426ea84a598606414872f8e52a85ed952c525e775815ee0f7aa48a","src/fs_utf8/dir_entry.rs":"fbeb6b297af91994722aeb1beba97145dd9ba0e1bf253908d68da6709d3239ba","src/fs_utf8/file.rs":"9a76ee6b5e3a563932d9254370e7f80fb196b245855d2eb3329e9f1ad30ef8c5","src/fs_utf8/mod.rs":"6f72211af62de1ae21f2cd955e68a72155f7c1642b67b23676c3dc23174f1f93","src/fs_utf8/read_dir.rs":"d16c5edbc3011cbdb72b357f4c60c489109a7df7598518f9b216b60d004d8347","src/lib.rs":"f7b4fad8502418c68ef07126b1d296499cb65e4de2ae663e35ee5ecef2fb0673","src/net/incoming.rs":"d3cd4724ae8cc018aab6909cfb7664e20a94a2e098458103ab6521fe883fbfb4","src/net/mod.rs":"0db155f7f1c6f3f156559ef9c49c168092b48f441a0b82a088d633e376ffe7b4","src/net/pool.rs":"ef091ae714c48de66887106b21806340545e67cf2aa9f308bfe8fb83187106ee","src/net/tcp_listener.rs":"174ea9eddd2613262c6ce4bc09020b3e6fa45b970be6652c370ce441e675d706","src/net/tcp_stream.rs":"5b4e3f3bcd2ddac6db1dfe1acbb6667625bf71fcdd9a2c6c8a7c6b7af108303e","src/net/udp_socket.rs":"3ccbc91f225425875d3d6ef647e17ff74a216f8aa1e3aa0ef8dfa41a8e6991f4","src/os/mod.rs":"ddaf9b6969d42a99bbf9b992919afd16579c4745e9f24b1eca47d927ed233ee6","src/os/unix/mod.rs":"2ce5b3049327e88882614ec07bb2c1bda428d13b8d1eb0a5a0485259aab505fc","src/os/unix/net/incoming.rs":"e5894114218c5accdfd6fef97bf0c1719fcbfbc8c4a843aeb3987664aa903db8","src/os/unix/net/mod.rs":"e5db14888c032ad0a89cf76be205653a02a3be3dee373837208b1f5831903cc2","src/os/unix/net/unix_datagram.rs":"7b71ac59400f6e53cbc9cb8ccda7a056f9fd8a42647d542fc5c2951cec76b1db","src/os/unix/net/unix_listener.rs":"db6de9434a0a6e3142263e5ea7fdcaf612771238635b7ad6fc6a48eadd9587a7","src/os/unix/net/unix_stream.rs":"994d8807ede844a79e72e5e908f12b183e665f522c2d6c082add65967a6596df","src/time/mod.rs":"ece9db6261090a9f956b950a0f5f3d08c4aa96d4c2931e0142c74715f87e2423"},"package":"e4ad2b9e262a5c3b67ee92e4b9607ace704384c50c32aa6017a9282ddf15df20"}
@@ -12,7 +12,7 @@
12
12
  [package]
13
13
  edition = "2018"
14
14
  name = "cap-std"
15
- version = "1.0.2"
15
+ version = "1.0.3"
16
16
  authors = [
17
17
  "Dan Gohman <dev@sunfishcode.online>",
18
18
  "Jakub Konka <kubkon@jakubkonka.com>",
@@ -45,7 +45,7 @@ version = "1.0.5"
45
45
  optional = true
46
46
 
47
47
  [dependencies.cap-primitives]
48
- version = "^1.0.2"
48
+ version = "^1.0.3"
49
49
 
50
50
  [dependencies.io-extras]
51
51
  version = "0.17.0"
@@ -27,7 +27,10 @@ use {
27
27
  #[cfg(windows)]
28
28
  use {
29
29
  cap_primitives::fs::{symlink_dir, symlink_file},
30
- io_extras::os::windows::{AsRawHandleOrSocket, IntoRawHandleOrSocket, RawHandleOrSocket},
30
+ io_extras::os::windows::{
31
+ AsHandleOrSocket, AsRawHandleOrSocket, BorrowedHandleOrSocket, IntoRawHandleOrSocket,
32
+ OwnedHandleOrSocket, RawHandleOrSocket,
33
+ },
31
34
  std::os::windows::io::{AsRawHandle, FromRawHandle, IntoRawHandle, RawHandle},
32
35
  };
33
36
 
@@ -759,6 +762,14 @@ impl AsRawHandleOrSocket for Dir {
759
762
  }
760
763
  }
761
764
 
765
+ #[cfg(windows)]
766
+ impl AsHandleOrSocket for Dir {
767
+ #[inline]
768
+ fn as_handle_or_socket(&self) -> BorrowedHandleOrSocket<'_> {
769
+ self.std_file.as_handle_or_socket()
770
+ }
771
+ }
772
+
762
773
  #[cfg(not(windows))]
763
774
  impl IntoRawFd for Dir {
764
775
  #[inline]
@@ -799,6 +810,14 @@ impl IntoRawHandleOrSocket for Dir {
799
810
  }
800
811
  }
801
812
 
813
+ #[cfg(windows)]
814
+ impl From<Dir> for OwnedHandleOrSocket {
815
+ #[inline]
816
+ fn from(dir: Dir) -> Self {
817
+ dir.std_file.into()
818
+ }
819
+ }
820
+
802
821
  /// Indicates how large a buffer to pre-allocate before reading the entire
803
822
  /// file.
804
823
  ///
@@ -12,7 +12,10 @@ use std::path::Path;
12
12
  use std::{fmt, fs, process};
13
13
  #[cfg(windows)]
14
14
  use {
15
- io_extras::os::windows::{AsRawHandleOrSocket, IntoRawHandleOrSocket, RawHandleOrSocket},
15
+ io_extras::os::windows::{
16
+ AsHandleOrSocket, AsRawHandleOrSocket, BorrowedHandleOrSocket, IntoRawHandleOrSocket,
17
+ OwnedHandleOrSocket, RawHandleOrSocket,
18
+ },
16
19
  std::os::windows::io::{AsRawHandle, FromRawHandle, IntoRawHandle, RawHandle},
17
20
  };
18
21
 
@@ -233,6 +236,14 @@ impl AsRawHandleOrSocket for File {
233
236
  }
234
237
  }
235
238
 
239
+ #[cfg(windows)]
240
+ impl AsHandleOrSocket for File {
241
+ #[inline]
242
+ fn as_handle_or_socket(&self) -> BorrowedHandleOrSocket<'_> {
243
+ self.std.as_handle_or_socket()
244
+ }
245
+ }
246
+
236
247
  #[cfg(not(windows))]
237
248
  impl IntoRawFd for File {
238
249
  #[inline]
@@ -273,6 +284,14 @@ impl IntoRawHandleOrSocket for File {
273
284
  }
274
285
  }
275
286
 
287
+ #[cfg(windows)]
288
+ impl From<File> for OwnedHandleOrSocket {
289
+ #[inline]
290
+ fn from(file: File) -> Self {
291
+ file.std.into()
292
+ }
293
+ }
294
+
276
295
  impl Read for File {
277
296
  #[inline]
278
297
  fn read(&mut self, buf: &mut [u8]) -> io::Result<usize> {
@@ -13,7 +13,10 @@ use io_lifetimes::{AsHandle, BorrowedHandle, OwnedHandle};
13
13
  use std::{fmt, fs, io};
14
14
  #[cfg(windows)]
15
15
  use {
16
- io_extras::os::windows::{AsRawHandleOrSocket, IntoRawHandleOrSocket, RawHandleOrSocket},
16
+ io_extras::os::windows::{
17
+ AsHandleOrSocket, AsRawHandleOrSocket, BorrowedHandleOrSocket, IntoRawHandleOrSocket,
18
+ OwnedHandleOrSocket, RawHandleOrSocket,
19
+ },
17
20
  std::os::windows::io::{AsRawHandle, FromRawHandle, IntoRawHandle, RawHandle},
18
21
  };
19
22
 
@@ -698,6 +701,14 @@ impl AsRawHandleOrSocket for Dir {
698
701
  }
699
702
  }
700
703
 
704
+ #[cfg(windows)]
705
+ impl AsHandleOrSocket for Dir {
706
+ #[inline]
707
+ fn as_handle_or_socket(&self) -> BorrowedHandleOrSocket<'_> {
708
+ self.cap_std.as_handle_or_socket()
709
+ }
710
+ }
711
+
701
712
  #[cfg(not(windows))]
702
713
  impl IntoRawFd for Dir {
703
714
  #[inline]
@@ -738,6 +749,14 @@ impl IntoRawHandleOrSocket for Dir {
738
749
  }
739
750
  }
740
751
 
752
+ #[cfg(windows)]
753
+ impl From<Dir> for OwnedHandleOrSocket {
754
+ #[inline]
755
+ fn from(dir: Dir) -> Self {
756
+ dir.cap_std.into()
757
+ }
758
+ }
759
+
741
760
  impl fmt::Debug for Dir {
742
761
  fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
743
762
  self.cap_std.fmt(f)
@@ -14,7 +14,10 @@ use std::path::Path;
14
14
  use std::{fmt, fs, process};
15
15
  #[cfg(windows)]
16
16
  use {
17
- io_extras::os::windows::{AsRawHandleOrSocket, IntoRawHandleOrSocket, RawHandleOrSocket},
17
+ io_extras::os::windows::{
18
+ AsHandleOrSocket, AsRawHandleOrSocket, BorrowedHandleOrSocket, IntoRawHandleOrSocket,
19
+ OwnedHandleOrSocket, RawHandleOrSocket,
20
+ },
18
21
  std::os::windows::io::{AsRawHandle, FromRawHandle, IntoRawHandle, RawHandle},
19
22
  };
20
23
 
@@ -232,6 +235,14 @@ impl AsRawHandleOrSocket for File {
232
235
  }
233
236
  }
234
237
 
238
+ #[cfg(windows)]
239
+ impl AsHandleOrSocket for File {
240
+ #[inline]
241
+ fn as_handle_or_socket(&self) -> BorrowedHandleOrSocket<'_> {
242
+ self.cap_std.as_handle_or_socket()
243
+ }
244
+ }
245
+
235
246
  #[cfg(not(windows))]
236
247
  impl IntoRawFd for File {
237
248
  #[inline]
@@ -272,6 +283,14 @@ impl IntoRawHandleOrSocket for File {
272
283
  }
273
284
  }
274
285
 
286
+ #[cfg(windows)]
287
+ impl From<File> for OwnedHandleOrSocket {
288
+ #[inline]
289
+ fn from(file: File) -> Self {
290
+ file.cap_std.into()
291
+ }
292
+ }
293
+
275
294
  impl Read for File {
276
295
  #[inline]
277
296
  fn read(&mut self, buf: &mut [u8]) -> io::Result<usize> {
@@ -8,7 +8,10 @@ use io_lifetimes::{AsSocket, BorrowedSocket, OwnedSocket};
8
8
  use std::{fmt, io, net};
9
9
  #[cfg(windows)]
10
10
  use {
11
- io_extras::os::windows::{AsRawHandleOrSocket, IntoRawHandleOrSocket, RawHandleOrSocket},
11
+ io_extras::os::windows::{
12
+ AsHandleOrSocket, AsRawHandleOrSocket, BorrowedHandleOrSocket, IntoRawHandleOrSocket,
13
+ OwnedHandleOrSocket, RawHandleOrSocket,
14
+ },
12
15
  std::os::windows::io::{AsRawSocket, FromRawSocket, IntoRawSocket, RawSocket},
13
16
  };
14
17
 
@@ -182,6 +185,14 @@ impl AsRawHandleOrSocket for TcpListener {
182
185
  }
183
186
  }
184
187
 
188
+ #[cfg(windows)]
189
+ impl AsHandleOrSocket for TcpListener {
190
+ #[inline]
191
+ fn as_handle_or_socket(&self) -> BorrowedHandleOrSocket<'_> {
192
+ self.std.as_handle_or_socket()
193
+ }
194
+ }
195
+
185
196
  #[cfg(not(windows))]
186
197
  impl IntoRawFd for TcpListener {
187
198
  #[inline]
@@ -222,6 +233,14 @@ impl IntoRawHandleOrSocket for TcpListener {
222
233
  }
223
234
  }
224
235
 
236
+ #[cfg(windows)]
237
+ impl From<TcpListener> for OwnedHandleOrSocket {
238
+ #[inline]
239
+ fn from(listener: TcpListener) -> Self {
240
+ listener.std.into()
241
+ }
242
+ }
243
+
225
244
  impl fmt::Debug for TcpListener {
226
245
  fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
227
246
  self.std.fmt(f)
@@ -10,7 +10,10 @@ use std::time::Duration;
10
10
  use std::{fmt, net};
11
11
  #[cfg(windows)]
12
12
  use {
13
- io_extras::os::windows::{AsRawHandleOrSocket, IntoRawHandleOrSocket, RawHandleOrSocket},
13
+ io_extras::os::windows::{
14
+ AsHandleOrSocket, AsRawHandleOrSocket, BorrowedHandleOrSocket, IntoRawHandleOrSocket,
15
+ OwnedHandleOrSocket, RawHandleOrSocket,
16
+ },
14
17
  std::os::windows::io::{AsRawSocket, FromRawSocket, IntoRawSocket, RawSocket},
15
18
  };
16
19
 
@@ -237,6 +240,14 @@ impl AsRawHandleOrSocket for TcpStream {
237
240
  }
238
241
  }
239
242
 
243
+ #[cfg(windows)]
244
+ impl AsHandleOrSocket for TcpStream {
245
+ #[inline]
246
+ fn as_handle_or_socket(&self) -> BorrowedHandleOrSocket<'_> {
247
+ self.std.as_handle_or_socket()
248
+ }
249
+ }
250
+
240
251
  #[cfg(not(windows))]
241
252
  impl IntoRawFd for TcpStream {
242
253
  #[inline]
@@ -277,6 +288,14 @@ impl IntoRawHandleOrSocket for TcpStream {
277
288
  }
278
289
  }
279
290
 
291
+ #[cfg(windows)]
292
+ impl From<TcpStream> for OwnedHandleOrSocket {
293
+ #[inline]
294
+ fn from(stream: TcpStream) -> Self {
295
+ stream.std.into()
296
+ }
297
+ }
298
+
280
299
  impl Read for TcpStream {
281
300
  #[inline]
282
301
  fn read(&mut self, buf: &mut [u8]) -> io::Result<usize> {
@@ -9,7 +9,10 @@ use std::time::Duration;
9
9
  use std::{fmt, io, net};
10
10
  #[cfg(windows)]
11
11
  use {
12
- io_extras::os::windows::{AsRawHandleOrSocket, IntoRawHandleOrSocket, RawHandleOrSocket},
12
+ io_extras::os::windows::{
13
+ AsHandleOrSocket, AsRawHandleOrSocket, BorrowedHandleOrSocket, IntoRawHandleOrSocket,
14
+ OwnedHandleOrSocket, RawHandleOrSocket,
15
+ },
13
16
  std::os::windows::io::{AsRawSocket, FromRawSocket, IntoRawSocket, RawSocket},
14
17
  };
15
18
 
@@ -352,6 +355,14 @@ impl AsRawHandleOrSocket for UdpSocket {
352
355
  }
353
356
  }
354
357
 
358
+ #[cfg(windows)]
359
+ impl AsHandleOrSocket for UdpSocket {
360
+ #[inline]
361
+ fn as_handle_or_socket(&self) -> BorrowedHandleOrSocket<'_> {
362
+ self.std.as_handle_or_socket()
363
+ }
364
+ }
365
+
355
366
  #[cfg(not(windows))]
356
367
  impl IntoRawFd for UdpSocket {
357
368
  #[inline]
@@ -392,6 +403,14 @@ impl IntoRawHandleOrSocket for UdpSocket {
392
403
  }
393
404
  }
394
405
 
406
+ #[cfg(windows)]
407
+ impl From<UdpSocket> for OwnedHandleOrSocket {
408
+ #[inline]
409
+ fn from(socket: UdpSocket) -> Self {
410
+ socket.std.into()
411
+ }
412
+ }
413
+
395
414
  impl fmt::Debug for UdpSocket {
396
415
  fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
397
416
  self.std.fmt(f)
@@ -1 +1 @@
1
- {"files":{"CHANGELOG.md":"24843afa6497ad341a3cdeb529d420b1dfe84f8aa14dd7252a94685d416b6df4","Cargo.lock":"3bcf8f162c613844514998f9618480bc305755e1e7f2863d2f0de03836af1758","Cargo.toml":"c7bf2fd3e5292cbf6e31ff38b786499d1526edc4264a1176073f66f270ee4d73","Gemfile":"a67c294c7e80732a79ba4f08ada0a2ff8289a9d67fbd325c2ab02217491767f6","LICENSE":"74c04e423c6d6ab36d53dc054dd8461c98821c26a863a8c1104f613eb599f07b","README.md":"a2146008c46c8f5b3f3886f3fea0574fd5ba91c75dd7da5a060b7f3113857b45","build.rs":"8e8fc2dfb7fec8717972fdae0b9417e2dc0027aa92f26763411f4d922234ee5a","examples/custom_exception_ruby/Rakefile":"ae1bb6e5b35786f2a6db2be6315d9ffdef5302f848295a54831bfad24386b49f","examples/custom_exception_ruby/lib/ahriman.rb":"5c87d840c7722e2e2f6a25a5b79b8953f3a629acab339c4b52f24e999dd4c97b","examples/custom_exception_ruby/lib/ahriman/error.rb":"06135d2f03ee80dfdd241bb5429da5e428b2286a56630e35ed7fb4e2bf82f92a","examples/custom_exception_ruby/test/error_test.rb":"58929553d12dceacf48c353ff46f0a88efd778bce88a674fcc2db97430f038af","examples/custom_exception_rust/Rakefile":"ae1bb6e5b35786f2a6db2be6315d9ffdef5302f848295a54831bfad24386b49f","examples/custom_exception_rust/lib/ahriman.rb":"bf286f8248334f6e437676c545609442a764fc342c3bcf40fec0cd05c7439ba7","examples/custom_exception_rust/test/error_test.rb":"58929553d12dceacf48c353ff46f0a88efd778bce88a674fcc2db97430f038af","examples/fibonacci.rs":"bdb8ba0e1ed788450c0aca1d183462fcb4d00a4727859fc825854d4f6d1b52dd","examples/hello_world.rs":"30ff3e4fe1184c644a353534b922b307b7ac64b9d8ebf09c7c39fba451b65266","examples/mut_point.rs":"03bf8ebbdef931c5ee3a3d0e69bbf44a41e29febb0f8d6796f31e904afac87fe","examples/point.rs":"123001410a25251f55ed5c69fc9f2c2d9c34fabf2776024aa1ba439ca14efae3","examples/rust_blank/Rakefile":"5dabeb863e0633e93b76a0bf7de3c8df3d2bfcfa0bee11978142d58e7749d347","examples/rust_blank/lib/rust_blank.rb":"6369d3940e2aa1180af34a035a2b06b046374f170f9aab5f5fb33643deb596ab","examples/rust_blank/test/bench.rb":"85e7af2db8c3613cd4f095bddc7cd8c528a3ffdcd32571b8a2eed2ea1fcb75a4","examples/rust_blank/test/blank_test.rb":"ee40ae3b73b27ba27fe0c8d00c6a59225943087d09dc67c5e9b2e38810c37fc5","src/binding.rs":"41f2f17fb960e2fde44e230643e65e020b388f4ea39983cc5e0ab4117b5561c0","src/block.rs":"2ffcae8cc91f0100b0f79e0057a08ac947c63b7acfa775349e617bac0decbb81","src/class.rs":"e22f76f7a9cb4acc0ef5f639b22b336ee2fc6b186f50e4864454076b001b086a","src/embed.rs":"6e32b1e82a6d503e171e31eda4ec0f9d8584e58a49baf8bc2a90b1eea4728e91","src/encoding.rs":"faac4470a6c95e9f8f20a91a777c40d319d84ecb20cf49e0c45d27ea8505b520","src/enumerator.rs":"c1b97d8e466f00c1733b241501c48ade97e9ecc01c87cee7f1654eb226625880","src/error.rs":"f3421b55102cbbb3e1a8f3cacb404e54bab838d4cc8c4ac8e61e9a4f6bd10c80","src/exception.rs":"464d098e3653b3003b68ae7abce36332b6e451aa65133b27468968052928c984","src/float.rs":"a50ca5ffd2ffb8fdbfccc815a4bd7bff084ded198c0c379af198104850791b97","src/gc.rs":"a99b2d186ecb7e54e85c85515b2ed2ad18ff72351144e55b741feebd0ff12e7e","src/integer.rs":"ef4cab0bd426857d93075b8eb1e21419533bb6dc772cca856f1d0bc68bd6c3ee","src/lib.rs":"70399ad2ec6bd2d1c1b18fa650248a6aa946fc2da5c4d83853c938fe3ebc2da4","src/method.rs":"618a08e49e46ff798ee2be7c5b4cd79d3c73a8ca966e1d22c617043aa355ff99","src/module.rs":"08a0e27346d3ad7a390694698b6a6b5fbc147d1f0a7e5c4dbaf16af4c3f00ed6","src/object.rs":"aefeffccd9a653491dd9f2dd0cc3c32a9b9ab24f05390f25b70516d783bd4355","src/r_array.rs":"1954f6569529d665dcc8138291d7859115ac3ea4af0e463a2f84d99cf1512ddf","src/r_bignum.rs":"ad5d3d25a46837b62047e33f4e47d3845dd1be671d4df7abc504dd65303647a5","src/r_complex.rs":"d429e2e4fee8062df9de1fd1cee3c7a7704634430af8e8a388c0cc13b3f20823","src/r_file.rs":"3c9485b4899402f3bb142a5df7157a8652a73543d0443a84a3650b0fd8e8fe44","src/r_float.rs":"36e0235be3557bf4b05e531e3b64e96ad4c95bba471298bc053f7afee53dc9c7","src/r_hash.rs":"3da8344cb4ee60b4983f171811ea9eceda8c9059167546682b21a5c791f43fa1","src/r_match.rs":"b5c61044cf7b546dbe60ce4ad782f7b18f3a41b2a0183ae903f34f481dc5db03","src/r_object.rs":"23357809cd82760a6ff5074ec89c2c869cbe52f8b29ca3e5ed91cd2d0dcd27f5","src/r_rational.rs":"f7488ca3365f9f23f6b64a75642b30dd6f438a471d2c56f75c02650e40e19187","src/r_regexp.rs":"1fc4091e19e0d94291eea6dca7269e02c390692f27b7a5e48a788789ebd7a34e","src/r_string.rs":"780ec9554d84277d38174e29b5fdecf9fb206889d56dc311611591fd2fe7768a","src/r_struct.rs":"ecd817b830f8889acbb26c9d78c5b958b43bc7aaab63866b377678b7b6029bbe","src/r_typed_data.rs":"cec5f267102965730e10b8222a5d304aa27e63fdf2161c893b6f0aff0c9eaadc","src/range.rs":"98f223281fb56648731cb4607533fc8613e002d8eb1077e834cf0ac9ad896059","src/rb_sys.rs":"b6f3b622da741b109a75f840f8f105c8c85c1069ae03d2b8fea4ce7841630265","src/scan_args.rs":"3a6894c8ebc5a9b05d2ec9cb889106b53cb32905b817b2d843592659d3dfa25e","src/symbol.rs":"ad8a82c7722cf34d221e4b384dd0fffc2d82c021cde3e27aa2f1d0e5da2c012e","src/try_convert.rs":"124b6302526eb9bbee087293f67060698162e463f726e1eb7aa501b008b84b31","src/value.rs":"8afce964b108200a0201f4e4ffe6b172633edebc8bf75b70dc313e4f94672f7a","src/value/flonum.rs":"6979d3a49a75d5ef75e920b76310ee2c107ee808fe24f59e069855e6106b22d7","test":"170c7c369e8767261aa6fc55740ea090a6b8e8d4600ff8ef96e02c308ed7618d","tests/allocate_before_init.rs":"a61a8c22d743ef6aa73989cc9944ef32d4bffaba06a1ce06da8ce9ab83ab57f0","tests/array_slice.rs":"2d0a78c00fcf84ac078e3d46d390f30afd31a6fd86e0c53ef4113199797c2010","tests/block_call.rs":"554556214d0badc86eafc02b07312f1944202d6195f72f8707762a28ae67cc57","tests/call_proc.rs":"4f092289a2b847e182b85da05a71dd1546111cac9ad549effac68a44518be75f","tests/classname.rs":"df27933e44f0abe49a6f8254fdde7324157c488e652b605015fb156d77128201","tests/codepoints.rs":"7667b9294a4195eb2efcaa9db68d9e43d1500b803757a8a2e6c3f0f638c0b328","tests/debug_exception.rs":"4dbbd62d3f1b1dbc465ae9bb17f4de07b6235c5f3210203ee0a213207a858617","tests/encoding_capable.rs":"bafc9e58c38dc2bf0c539408f82374b23bcbfe4ca83884fc03b1f581bd93aefd","tests/enumerator.rs":"16ac749c783bffbc73fb402808d2c500eab554bc27fdcd1e3fcb935801e1689b","tests/enumeratorize.rs":"3e93a680aad7861ed7d1da7b73232f00fe87cb3fa5a9c326066754feaaa265cd","tests/float_convert_from_value.rs":"aa8738bf49a7126d0c384c3a39764ab7c7e6bdf538360babc069b60bba41cfcc","tests/float_convert_to_value.rs":"90ceb65d6b0e058906d0888d0da99f5cb32f1059e0890c0b65ae86b3af105feb","tests/fmt.rs":"2da43e80a8b4145dd9bebc9c2015f6e6bee45cccc56356cc2466290c1dc8e077","tests/freeze.rs":"3329b941a8492867b391652c6b796fcb11aa480142b04199ea0ad2424467f149","tests/hash.rs":"540cbba272bd3e96cb7cf5d1486b7327266d56a18ebf16f46d92dc5bb4b7154d","tests/integer_convert_to_value.rs":"66cc4544cf4c12b9ec468c41a531087492169b82c59b75ca95e605a29aaf8478","tests/ivar.rs":"eab9f612b1b2fe6682fa417c479d653066fb948e43f773b83637a7794b3710eb","tests/make_proc.rs":"26ca5900f9eec2be2c12d49b0a6a3ef90d9b2494777aac6a17288948250715b0","tests/proc_new.rs":"9a49c8898ae557441d67a7432fb00bf915bbe83c436fdd7008281270c9aaa187","tests/range.rs":"986af9d9c15c22385d3385c853b06fbb702fe35e4bb0ec83a0d49974085e6c2e","tests/return_iter.rs":"997d406176c99a34bddb2865506e627c0ef2f7da68e233e9048706a5b962186a","tests/scan_args.rs":"bad0602a1db9bf9a273c94f858bfb61d9288b2b12dd3e5918e444e432b7daf50","tests/str.rs":"63ac95cfeae189143af0920c594d9a6886ce356d40beb00ff6015731527ce23e","tests/string.rs":"be1c272d7411e87b3d38fa5fc28f916f155cfdc1135b604b22a24bf51cc39aee","tests/struct.rs":"2b87099cb0869d3ad8974607401d0662a4ce672f69d014d1e85eb1d29b4ba79b","tests/symbol.rs":"075f501472e1651d3390866e50f86cfd23650002f9bc54403801adbbf26f5c77","tests/tuple_to_array.rs":"25d3ce6eb995c41633438478a43e07a158873214d4234f8f95d34313628e54c2","tests/typed_data.rs":"32b491f84a241a93f40801b4e1318b5a07249aa3d8f2c8bd64ffd1e9c4d5e942","tests/yield.rs":"96df725ced8bdfebd58ac3a89d19787ae4e3efde055f2f64212fbad450644cdd"},"package":"c7d904f55da4e2b0ac7f133257af80580ff4ca17bcca67f51ea06be46aa634ac"}
1
+ {"files":{"CHANGELOG.md":"d9ac20309f16d82f342aa0faba4f9fd23d8459ba5c85b40b5f0904f94c354fd6","Cargo.lock":"73a034069cc0adee563e5154fb8fb4aefadf54502e33523e9941aefd53d61c22","Cargo.toml":"258a82329550cf1e670a1ffe4871b58a38dbb1386a993cf9ba615c61c6724c30","Gemfile":"a67c294c7e80732a79ba4f08ada0a2ff8289a9d67fbd325c2ab02217491767f6","LICENSE":"74c04e423c6d6ab36d53dc054dd8461c98821c26a863a8c1104f613eb599f07b","README.md":"a2146008c46c8f5b3f3886f3fea0574fd5ba91c75dd7da5a060b7f3113857b45","build.rs":"8e8fc2dfb7fec8717972fdae0b9417e2dc0027aa92f26763411f4d922234ee5a","examples/custom_exception_ruby/Rakefile":"ae1bb6e5b35786f2a6db2be6315d9ffdef5302f848295a54831bfad24386b49f","examples/custom_exception_ruby/lib/ahriman.rb":"5c87d840c7722e2e2f6a25a5b79b8953f3a629acab339c4b52f24e999dd4c97b","examples/custom_exception_ruby/lib/ahriman/error.rb":"06135d2f03ee80dfdd241bb5429da5e428b2286a56630e35ed7fb4e2bf82f92a","examples/custom_exception_ruby/test/error_test.rb":"58929553d12dceacf48c353ff46f0a88efd778bce88a674fcc2db97430f038af","examples/custom_exception_rust/Rakefile":"ae1bb6e5b35786f2a6db2be6315d9ffdef5302f848295a54831bfad24386b49f","examples/custom_exception_rust/lib/ahriman.rb":"bf286f8248334f6e437676c545609442a764fc342c3bcf40fec0cd05c7439ba7","examples/custom_exception_rust/test/error_test.rb":"58929553d12dceacf48c353ff46f0a88efd778bce88a674fcc2db97430f038af","examples/fibonacci.rs":"bdb8ba0e1ed788450c0aca1d183462fcb4d00a4727859fc825854d4f6d1b52dd","examples/hello_world.rs":"30ff3e4fe1184c644a353534b922b307b7ac64b9d8ebf09c7c39fba451b65266","examples/mut_point.rs":"03bf8ebbdef931c5ee3a3d0e69bbf44a41e29febb0f8d6796f31e904afac87fe","examples/point.rs":"123001410a25251f55ed5c69fc9f2c2d9c34fabf2776024aa1ba439ca14efae3","examples/rust_blank/Rakefile":"5dabeb863e0633e93b76a0bf7de3c8df3d2bfcfa0bee11978142d58e7749d347","examples/rust_blank/lib/rust_blank.rb":"6369d3940e2aa1180af34a035a2b06b046374f170f9aab5f5fb33643deb596ab","examples/rust_blank/test/bench.rb":"85e7af2db8c3613cd4f095bddc7cd8c528a3ffdcd32571b8a2eed2ea1fcb75a4","examples/rust_blank/test/blank_test.rb":"ee40ae3b73b27ba27fe0c8d00c6a59225943087d09dc67c5e9b2e38810c37fc5","src/binding.rs":"41f2f17fb960e2fde44e230643e65e020b388f4ea39983cc5e0ab4117b5561c0","src/block.rs":"2ffcae8cc91f0100b0f79e0057a08ac947c63b7acfa775349e617bac0decbb81","src/class.rs":"427c8d1fe4633a03c2d3fa4285c4f77eb26b013f889e8dc85f5c6aefa6c3211e","src/embed.rs":"6e32b1e82a6d503e171e31eda4ec0f9d8584e58a49baf8bc2a90b1eea4728e91","src/encoding.rs":"faac4470a6c95e9f8f20a91a777c40d319d84ecb20cf49e0c45d27ea8505b520","src/enumerator.rs":"c1b97d8e466f00c1733b241501c48ade97e9ecc01c87cee7f1654eb226625880","src/error.rs":"f3421b55102cbbb3e1a8f3cacb404e54bab838d4cc8c4ac8e61e9a4f6bd10c80","src/exception.rs":"464d098e3653b3003b68ae7abce36332b6e451aa65133b27468968052928c984","src/float.rs":"a50ca5ffd2ffb8fdbfccc815a4bd7bff084ded198c0c379af198104850791b97","src/gc.rs":"a99b2d186ecb7e54e85c85515b2ed2ad18ff72351144e55b741feebd0ff12e7e","src/integer.rs":"ef4cab0bd426857d93075b8eb1e21419533bb6dc772cca856f1d0bc68bd6c3ee","src/lib.rs":"7873d0d0b5d119422676db3d00839b9b3cf0fe9f546d260d65d470e93b3e60f7","src/method.rs":"618a08e49e46ff798ee2be7c5b4cd79d3c73a8ca966e1d22c617043aa355ff99","src/module.rs":"08a0e27346d3ad7a390694698b6a6b5fbc147d1f0a7e5c4dbaf16af4c3f00ed6","src/object.rs":"aefeffccd9a653491dd9f2dd0cc3c32a9b9ab24f05390f25b70516d783bd4355","src/r_array.rs":"1954f6569529d665dcc8138291d7859115ac3ea4af0e463a2f84d99cf1512ddf","src/r_bignum.rs":"ad5d3d25a46837b62047e33f4e47d3845dd1be671d4df7abc504dd65303647a5","src/r_complex.rs":"d429e2e4fee8062df9de1fd1cee3c7a7704634430af8e8a388c0cc13b3f20823","src/r_file.rs":"3c9485b4899402f3bb142a5df7157a8652a73543d0443a84a3650b0fd8e8fe44","src/r_float.rs":"36e0235be3557bf4b05e531e3b64e96ad4c95bba471298bc053f7afee53dc9c7","src/r_hash.rs":"3da8344cb4ee60b4983f171811ea9eceda8c9059167546682b21a5c791f43fa1","src/r_match.rs":"b5c61044cf7b546dbe60ce4ad782f7b18f3a41b2a0183ae903f34f481dc5db03","src/r_object.rs":"23357809cd82760a6ff5074ec89c2c869cbe52f8b29ca3e5ed91cd2d0dcd27f5","src/r_rational.rs":"f7488ca3365f9f23f6b64a75642b30dd6f438a471d2c56f75c02650e40e19187","src/r_regexp.rs":"1fc4091e19e0d94291eea6dca7269e02c390692f27b7a5e48a788789ebd7a34e","src/r_string.rs":"780ec9554d84277d38174e29b5fdecf9fb206889d56dc311611591fd2fe7768a","src/r_struct.rs":"ecd817b830f8889acbb26c9d78c5b958b43bc7aaab63866b377678b7b6029bbe","src/r_typed_data.rs":"f5c3bd7abaa2d570b4c8c168d822c0fa7411ef8b22b9258aeabaef2c036b033c","src/range.rs":"98f223281fb56648731cb4607533fc8613e002d8eb1077e834cf0ac9ad896059","src/rb_sys.rs":"b6f3b622da741b109a75f840f8f105c8c85c1069ae03d2b8fea4ce7841630265","src/scan_args.rs":"3a6894c8ebc5a9b05d2ec9cb889106b53cb32905b817b2d843592659d3dfa25e","src/symbol.rs":"ad8a82c7722cf34d221e4b384dd0fffc2d82c021cde3e27aa2f1d0e5da2c012e","src/try_convert.rs":"124b6302526eb9bbee087293f67060698162e463f726e1eb7aa501b008b84b31","src/value.rs":"8afce964b108200a0201f4e4ffe6b172633edebc8bf75b70dc313e4f94672f7a","src/value/flonum.rs":"6979d3a49a75d5ef75e920b76310ee2c107ee808fe24f59e069855e6106b22d7","test":"170c7c369e8767261aa6fc55740ea090a6b8e8d4600ff8ef96e02c308ed7618d","tests/allocate_before_init.rs":"a61a8c22d743ef6aa73989cc9944ef32d4bffaba06a1ce06da8ce9ab83ab57f0","tests/array_slice.rs":"2d0a78c00fcf84ac078e3d46d390f30afd31a6fd86e0c53ef4113199797c2010","tests/block_call.rs":"554556214d0badc86eafc02b07312f1944202d6195f72f8707762a28ae67cc57","tests/call_proc.rs":"4f092289a2b847e182b85da05a71dd1546111cac9ad549effac68a44518be75f","tests/classname.rs":"df27933e44f0abe49a6f8254fdde7324157c488e652b605015fb156d77128201","tests/codepoints.rs":"7667b9294a4195eb2efcaa9db68d9e43d1500b803757a8a2e6c3f0f638c0b328","tests/debug_exception.rs":"4dbbd62d3f1b1dbc465ae9bb17f4de07b6235c5f3210203ee0a213207a858617","tests/encoding_capable.rs":"bafc9e58c38dc2bf0c539408f82374b23bcbfe4ca83884fc03b1f581bd93aefd","tests/enumerator.rs":"16ac749c783bffbc73fb402808d2c500eab554bc27fdcd1e3fcb935801e1689b","tests/enumeratorize.rs":"3e93a680aad7861ed7d1da7b73232f00fe87cb3fa5a9c326066754feaaa265cd","tests/float_convert_from_value.rs":"aa8738bf49a7126d0c384c3a39764ab7c7e6bdf538360babc069b60bba41cfcc","tests/float_convert_to_value.rs":"90ceb65d6b0e058906d0888d0da99f5cb32f1059e0890c0b65ae86b3af105feb","tests/fmt.rs":"2da43e80a8b4145dd9bebc9c2015f6e6bee45cccc56356cc2466290c1dc8e077","tests/freeze.rs":"3329b941a8492867b391652c6b796fcb11aa480142b04199ea0ad2424467f149","tests/hash.rs":"540cbba272bd3e96cb7cf5d1486b7327266d56a18ebf16f46d92dc5bb4b7154d","tests/integer_convert_to_value.rs":"66cc4544cf4c12b9ec468c41a531087492169b82c59b75ca95e605a29aaf8478","tests/ivar.rs":"eab9f612b1b2fe6682fa417c479d653066fb948e43f773b83637a7794b3710eb","tests/make_proc.rs":"26ca5900f9eec2be2c12d49b0a6a3ef90d9b2494777aac6a17288948250715b0","tests/proc_new.rs":"9a49c8898ae557441d67a7432fb00bf915bbe83c436fdd7008281270c9aaa187","tests/range.rs":"986af9d9c15c22385d3385c853b06fbb702fe35e4bb0ec83a0d49974085e6c2e","tests/return_iter.rs":"997d406176c99a34bddb2865506e627c0ef2f7da68e233e9048706a5b962186a","tests/scan_args.rs":"bad0602a1db9bf9a273c94f858bfb61d9288b2b12dd3e5918e444e432b7daf50","tests/str.rs":"63ac95cfeae189143af0920c594d9a6886ce356d40beb00ff6015731527ce23e","tests/string.rs":"be1c272d7411e87b3d38fa5fc28f916f155cfdc1135b604b22a24bf51cc39aee","tests/struct.rs":"2b87099cb0869d3ad8974607401d0662a4ce672f69d014d1e85eb1d29b4ba79b","tests/symbol.rs":"075f501472e1651d3390866e50f86cfd23650002f9bc54403801adbbf26f5c77","tests/tuple_to_array.rs":"25d3ce6eb995c41633438478a43e07a158873214d4234f8f95d34313628e54c2","tests/typed_data.rs":"32b491f84a241a93f40801b4e1318b5a07249aa3d8f2c8bd64ffd1e9c4d5e942","tests/yield.rs":"96df725ced8bdfebd58ac3a89d19787ae4e3efde055f2f64212fbad450644cdd"},"package":"fc87660cd7daa49fddbfd524c836de54d5c927d520cd163f43700c5087c57d6c"}
@@ -13,6 +13,14 @@
13
13
 
14
14
  ### Security
15
15
 
16
+ ## [0.4.4] - 2022-12-24
17
+ ### Added
18
+ - `Class::undef_alloc_func`, a function to remove a class' allocator function.
19
+
20
+ ### Fixed
21
+ - 'wrapped' structs from `#[wrap]` and `#[derive(TypedData)]` macros will not
22
+ generate `warning: undefining the allocator of T_DATA class` under Ruby 3.2
23
+
16
24
  ## [0.4.3] - 2022-12-07
17
25
  ### Fixed
18
26
  - `gc::mark_slice` was skipping the last element of the slice.
@@ -211,7 +219,8 @@
211
219
  - Pre-built bindings for Ruby 2.6 - 3.1 on common platforms, build-time
212
220
  generated bindings otherwise.
213
221
 
214
- [Unreleased]: https://github.com/matsadler/magnus/compare/0.4.3...HEAD
222
+ [Unreleased]: https://github.com/matsadler/magnus/compare/0.4.2...HEAD
223
+ [0.4.4]: https://github.com/matsadler/magnus/compare/0.4.3...0.4.4
215
224
  [0.4.3]: https://github.com/matsadler/magnus/compare/0.4.2...0.4.3
216
225
  [0.4.2]: https://github.com/matsadler/magnus/compare/0.4.1...0.4.2
217
226
  [0.4.1]: https://github.com/matsadler/magnus/compare/0.4.0...0.4.1
@@ -98,7 +98,7 @@ dependencies = [
98
98
 
99
99
  [[package]]
100
100
  name = "magnus"
101
- version = "0.4.3"
101
+ version = "0.4.4"
102
102
  dependencies = [
103
103
  "magnus-macros",
104
104
  "rb-sys",
@@ -107,9 +107,9 @@ dependencies = [
107
107
 
108
108
  [[package]]
109
109
  name = "magnus-macros"
110
- version = "0.2.0"
110
+ version = "0.3.0"
111
111
  source = "registry+https://github.com/rust-lang/crates.io-index"
112
- checksum = "acc8ba6908cb0f67a4e75cb48fc81a1f0e6a6dd1501936e0c9e2c7c8f9f18e05"
112
+ checksum = "206cb23bfeea05180c97522ef6a3e52a4eb17b0ed2f30ee3ca9c4f994d2378ae"
113
113
  dependencies = [
114
114
  "proc-macro2",
115
115
  "quote",
@@ -12,7 +12,7 @@
12
12
  [package]
13
13
  edition = "2018"
14
14
  name = "magnus"
15
- version = "0.4.3"
15
+ version = "0.4.4"
16
16
  authors = ["Mat Sadler <mat@sourcetagsandcodes.com>"]
17
17
  exclude = [
18
18
  ".github",
@@ -39,7 +39,7 @@ rustdoc-args = [
39
39
  ]
40
40
 
41
41
  [dependencies.magnus-macros]
42
- version = "0.2.0"
42
+ version = "0.3.0"
43
43
 
44
44
  [dependencies.rb-sys]
45
45
  version = "0.9.44"
@@ -10,7 +10,7 @@ use rb_sys::{
10
10
  rb_cMethod, rb_cModule, rb_cNameErrorMesg, rb_cNilClass, rb_cNumeric, rb_cObject, rb_cProc,
11
11
  rb_cRandom, rb_cRange, rb_cRational, rb_cRegexp, rb_cStat, rb_cString, rb_cStruct, rb_cSymbol,
12
12
  rb_cThread, rb_cTime, rb_cTrueClass, rb_cUnboundMethod, rb_class2name, rb_class_new,
13
- rb_class_new_instance, rb_class_superclass, ruby_value_type, VALUE,
13
+ rb_class_new_instance, rb_class_superclass, rb_undef_alloc_func, ruby_value_type, VALUE,
14
14
  };
15
15
 
16
16
  use crate::{
@@ -284,6 +284,29 @@ pub trait Class: Module {
284
284
  fn as_r_class(self) -> RClass {
285
285
  RClass::from_value(*self).unwrap()
286
286
  }
287
+
288
+ /// Remove the allocator function of a class.
289
+ ///
290
+ /// Useful for RTypedData, where instances should not be allocated by
291
+ /// the default allocate function. `#[derive(TypedData)]` and `#[wrap]`
292
+ /// take care of undefining the allocator function, you do not need
293
+ /// to use `undef_alloc_func` if you're using one of those.
294
+ ///
295
+ /// # Examples
296
+ ///
297
+ /// ```
298
+ /// use magnus::{class, eval, Class};
299
+ /// # let _cleanup = unsafe { magnus::embed::init() };
300
+ /// let class = magnus::define_class("Point", Default::default()).unwrap();
301
+ ///
302
+ /// class.undef_alloc_func();
303
+ ///
304
+ /// let instance = class.new_instance(());
305
+ /// assert_eq!("allocator undefined for Point", instance.err().unwrap().to_string());
306
+ /// ```
307
+ fn undef_alloc_func(self) {
308
+ unsafe { rb_undef_alloc_func(self.as_rb_value()) }
309
+ }
287
310
  }
288
311
 
289
312
  impl Class for RClass {
@@ -1606,7 +1606,7 @@
1606
1606
  // * `rb_ulong2num_inline`:
1607
1607
  // * `rb_undef`:
1608
1608
  // * `rb_undefine_finalizer`:
1609
- // * `rb_undef_alloc_func`:
1609
+ //! * `rb_undef_alloc_func`: [`Class::undef_alloc_func`]
1610
1610
  // * `rb_undef_method`:
1611
1611
  // * `rb_unexpected_type`:
1612
1612
  // * `RB_UNLIKELY`: