wasmtime 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Cargo.lock +12 -12
- data/ext/Cargo.toml +1 -1
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/.cargo-checksum.json +1 -1
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/COPYRIGHT +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/Cargo.toml +1 -1
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/LICENSE-APACHE +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/LICENSE-Apache-2.0_WITH_LLVM-exception +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/LICENSE-MIT +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/README.md +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/build.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/assert_same_file.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/canonicalize.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/copy.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/create_dir.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/dir_builder.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/dir_entry.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/dir_options.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/errors.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/file_path_by_searching.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/file_type.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/follow_symlinks.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/hard_link.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/is_file_read_write.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/manually/canonical_path.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/manually/canonicalize.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/manually/cow_component.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/manually/mod.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/manually/open.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/manually/open_entry.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/manually/read_link_one.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/maybe_owned_file.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/metadata.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/mod.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/open.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/open_ambient.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/open_dir.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/open_options.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/open_unchecked_error.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/permissions.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/read_dir.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/read_link.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/remove_dir.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/remove_dir_all.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/remove_file.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/remove_open_dir.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/rename.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/reopen.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/set_permissions.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/set_times.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/stat.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/symlink.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/system_time_spec.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/via_parent/create_dir.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/via_parent/hard_link.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/via_parent/mod.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/via_parent/open_parent.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/via_parent/read_link.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/via_parent/remove_dir.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/via_parent/remove_file.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/via_parent/rename.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/via_parent/set_permissions.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/via_parent/set_times_nofollow.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/via_parent/symlink.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/lib.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/net/mod.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/net/pool.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/darwin/fs/file_path.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/darwin/fs/mod.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/darwin/mod.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/copy_impl.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/create_dir_unchecked.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/cvt.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/dir_entry_inner.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/dir_options_ext.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/dir_utils.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/errors.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/file_path.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/file_type_ext.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/hard_link_unchecked.rs +0 -0
- 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
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/is_root_dir.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/is_same_file.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/metadata_ext.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/mod.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/oflags.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/open_options_ext.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/open_unchecked.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/permissions_ext.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/read_dir_inner.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/read_link_unchecked.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/remove_dir_all_impl.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/remove_dir_unchecked.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/remove_file_unchecked.rs +0 -0
- 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
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/rename_unchecked.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/reopen_impl.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/set_permissions_impl.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/set_times_impl.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/stat_unchecked.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/symlink_unchecked.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/times.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/linux/fs/canonicalize_impl.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/linux/fs/file_metadata.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/linux/fs/file_path.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/linux/fs/mod.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/linux/fs/open_entry_impl.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/linux/fs/open_impl.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/linux/fs/procfs.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/linux/fs/set_permissions_impl.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/linux/fs/set_times_impl.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/linux/fs/stat_impl.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/linux/mod.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/mod.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/time/instant.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/time/mod.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/time/monotonic_clock.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/time/system_clock.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/time/system_time.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/copy.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/create_dir_unchecked.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/dir_entry_inner.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/dir_options_ext.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/dir_utils.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/errors.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/file_type_ext.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/get_path.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/hard_link_unchecked.rs +0 -0
- 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
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/is_same_file.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/metadata_ext.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/mod.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/oflags.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/open_impl.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/open_options_ext.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/open_unchecked.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/read_dir_inner.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/read_link_impl.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/read_link_unchecked.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/remove_dir_all_impl.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/remove_dir_unchecked.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/remove_file_unchecked.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/remove_open_dir_impl.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/rename_unchecked.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/reopen_impl.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/set_permissions_unchecked.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/set_times_impl.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/stat_unchecked.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/symlink_unchecked.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/mod.rs +0 -0
- data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/.cargo-checksum.json +1 -1
- data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/COPYRIGHT +0 -0
- data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/Cargo.toml +2 -2
- data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/LICENSE-APACHE +0 -0
- data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/LICENSE-Apache-2.0_WITH_LLVM-exception +0 -0
- data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/LICENSE-MIT +0 -0
- data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/README.md +0 -0
- data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/build.rs +0 -0
- data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/fs/dir.rs +20 -1
- data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/fs/dir_entry.rs +0 -0
- data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/fs/file.rs +20 -1
- data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/fs/mod.rs +0 -0
- data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/fs/read_dir.rs +0 -0
- data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/fs_utf8/dir.rs +20 -1
- data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/fs_utf8/dir_entry.rs +0 -0
- data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/fs_utf8/file.rs +20 -1
- data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/fs_utf8/mod.rs +0 -0
- data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/fs_utf8/read_dir.rs +0 -0
- data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/lib.rs +0 -0
- data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/net/incoming.rs +0 -0
- data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/net/mod.rs +0 -0
- data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/net/pool.rs +0 -0
- data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/net/tcp_listener.rs +20 -1
- data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/net/tcp_stream.rs +20 -1
- data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/net/udp_socket.rs +20 -1
- data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/os/mod.rs +0 -0
- data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/os/unix/mod.rs +0 -0
- data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/os/unix/net/incoming.rs +0 -0
- data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/os/unix/net/mod.rs +0 -0
- data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/os/unix/net/unix_datagram.rs +0 -0
- data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/os/unix/net/unix_listener.rs +0 -0
- data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/os/unix/net/unix_stream.rs +0 -0
- data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/time/mod.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/.cargo-checksum.json +1 -1
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/CHANGELOG.md +10 -1
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/Cargo.lock +3 -3
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/Cargo.toml +2 -2
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/Gemfile +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/LICENSE +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/README.md +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/build.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/examples/custom_exception_ruby/Rakefile +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/examples/custom_exception_ruby/lib/ahriman/error.rb +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/examples/custom_exception_ruby/lib/ahriman.rb +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/examples/custom_exception_ruby/test/error_test.rb +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/examples/custom_exception_rust/Rakefile +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/examples/custom_exception_rust/lib/ahriman.rb +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/examples/custom_exception_rust/test/error_test.rb +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/examples/fibonacci.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/examples/hello_world.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/examples/mut_point.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/examples/point.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/examples/rust_blank/Rakefile +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/examples/rust_blank/lib/rust_blank.rb +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/examples/rust_blank/test/bench.rb +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/examples/rust_blank/test/blank_test.rb +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/binding.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/block.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/class.rs +24 -1
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/embed.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/encoding.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/enumerator.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/error.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/exception.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/float.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/gc.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/integer.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/lib.rs +1 -1
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/method.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/module.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/object.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/r_array.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/r_bignum.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/r_complex.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/r_file.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/r_float.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/r_hash.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/r_match.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/r_object.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/r_rational.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/r_regexp.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/r_string.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/r_struct.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/r_typed_data.rs +6 -2
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/range.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/rb_sys.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/scan_args.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/symbol.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/try_convert.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/value/flonum.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/value.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/test +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/allocate_before_init.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/array_slice.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/block_call.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/call_proc.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/classname.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/codepoints.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/debug_exception.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/encoding_capable.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/enumerator.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/enumeratorize.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/float_convert_from_value.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/float_convert_to_value.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/fmt.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/freeze.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/hash.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/integer_convert_to_value.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/ivar.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/make_proc.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/proc_new.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/range.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/return_iter.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/scan_args.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/str.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/string.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/struct.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/symbol.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/tuple_to_array.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/typed_data.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/yield.rs +0 -0
- data/ext/cargo-vendor/magnus-macros-0.3.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/{magnus-macros-0.2.0 → magnus-macros-0.3.0}/Cargo.toml +1 -1
- data/ext/cargo-vendor/magnus-macros-0.3.0/LICENSE +21 -0
- data/ext/cargo-vendor/{magnus-macros-0.2.0 → magnus-macros-0.3.0}/src/init.rs +0 -0
- data/ext/cargo-vendor/{magnus-macros-0.2.0 → magnus-macros-0.3.0}/src/lib.rs +0 -0
- data/ext/cargo-vendor/{magnus-macros-0.2.0 → magnus-macros-0.3.0}/src/typed_data.rs +6 -2
- data/ext/cargo-vendor/{magnus-macros-0.2.0 → magnus-macros-0.3.0}/src/util.rs +0 -0
- data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/.cargo-checksum.json +1 -1
- data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/Cargo.toml +2 -2
- data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/LICENSE-APACHE +0 -0
- data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/LICENSE-MIT +0 -0
- data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/bin/release.sh +0 -0
- data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/build/features.rs +0 -0
- data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/build/main.rs +0 -0
- data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/build/ruby_macros.rs +0 -0
- data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/build/version.rs +0 -0
- data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/readme.md +0 -0
- data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/src/allocator.rs +0 -0
- data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/src/bindings.rs +0 -0
- data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/src/lib.rs +0 -0
- data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/src/macros/mod.rs +0 -0
- data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/src/macros/ruby_macros.c +0 -0
- data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/src/ruby_abi_version.rs +0 -0
- data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/src/special_consts.rs +0 -0
- data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/src/value_type.rs +0 -0
- data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/wrapper.h +0 -0
- data/ext/cargo-vendor/{rb-sys-build-0.9.52 → rb-sys-build-0.9.53}/.cargo-checksum.json +1 -1
- data/ext/cargo-vendor/{rb-sys-build-0.9.52 → rb-sys-build-0.9.53}/Cargo.toml +1 -1
- data/ext/cargo-vendor/{rb-sys-build-0.9.52 → rb-sys-build-0.9.53}/LICENSE-APACHE +0 -0
- data/ext/cargo-vendor/{rb-sys-build-0.9.52 → rb-sys-build-0.9.53}/LICENSE-MIT +0 -0
- data/ext/cargo-vendor/{rb-sys-build-0.9.52 → rb-sys-build-0.9.53}/src/bindings.rs +0 -0
- data/ext/cargo-vendor/{rb-sys-build-0.9.52 → rb-sys-build-0.9.53}/src/lib.rs +0 -0
- data/ext/cargo-vendor/{rb-sys-build-0.9.52 → rb-sys-build-0.9.53}/src/rb_config/flags.rs +0 -0
- data/ext/cargo-vendor/{rb-sys-build-0.9.52 → rb-sys-build-0.9.53}/src/rb_config/library.rs +0 -0
- data/ext/cargo-vendor/{rb-sys-build-0.9.52 → rb-sys-build-0.9.53}/src/rb_config/search_path.rs +0 -0
- data/ext/cargo-vendor/{rb-sys-build-0.9.52 → rb-sys-build-0.9.53}/src/rb_config.rs +4 -1
- data/ext/cargo-vendor/{rb-sys-build-0.9.52 → rb-sys-build-0.9.53}/src/utils.rs +0 -0
- data/ext/src/helpers/macros.rs +15 -0
- data/ext/src/ruby_api/caller.rs +2 -2
- data/ext/src/ruby_api/externals.rs +2 -2
- data/ext/src/ruby_api/func.rs +2 -2
- data/ext/src/ruby_api/global.rs +2 -2
- data/ext/src/ruby_api/memory.rs +2 -2
- data/ext/src/ruby_api/table.rs +2 -2
- data/lib/wasmtime/version.rb +1 -1
- metadata +307 -306
- data/ext/cargo-vendor/magnus-macros-0.2.0/.cargo-checksum.json +0 -1
@@ -1 +1 @@
|
|
1
|
-
{"files":{"COPYRIGHT":"6b1691fdee3b03c3946696a7be125fcf50eff310b9486fac850c1b8aea91478b","Cargo.toml":"
|
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"}
|
File without changes
|
@@ -12,7 +12,7 @@
|
|
12
12
|
[package]
|
13
13
|
edition = "2018"
|
14
14
|
name = "cap-std"
|
15
|
-
version = "1.0.
|
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.
|
48
|
+
version = "^1.0.3"
|
49
49
|
|
50
50
|
[dependencies.io-extras]
|
51
51
|
version = "0.17.0"
|
File without changes
|
data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/LICENSE-Apache-2.0_WITH_LLVM-exception
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -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::{
|
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
|
///
|
File without changes
|
@@ -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::{
|
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> {
|
File without changes
|
File without changes
|
@@ -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::{
|
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)
|
File without changes
|
@@ -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::{
|
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> {
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -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::{
|
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::{
|
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::{
|
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)
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -1 +1 @@
|
|
1
|
-
{"files":{"CHANGELOG.md":"
|
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.
|
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.
|
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.
|
110
|
+
version = "0.3.0"
|
111
111
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
112
|
-
checksum = "
|
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.
|
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.
|
42
|
+
version = "0.3.0"
|
43
43
|
|
44
44
|
[dependencies.rb-sys]
|
45
45
|
version = "0.9.44"
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/examples/custom_exception_ruby/lib/ahriman.rb
RENAMED
File without changes
|
File without changes
|
File without changes
|
data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/examples/custom_exception_rust/lib/ahriman.rb
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -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 {
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -1606,7 +1606,7 @@
|
|
1606
1606
|
// * `rb_ulong2num_inline`:
|
1607
1607
|
// * `rb_undef`:
|
1608
1608
|
// * `rb_undefine_finalizer`:
|
1609
|
-
|
1609
|
+
//! * `rb_undef_alloc_func`: [`Class::undef_alloc_func`]
|
1610
1610
|
// * `rb_undef_method`:
|
1611
1611
|
// * `rb_unexpected_type`:
|
1612
1612
|
// * `RB_UNLIKELY`:
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|