code_ownership 2.1.4 → 2.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.cargo/config +2 -2
- data/Cargo.lock +36 -86
- data/bin/codeownership +1 -0
- data/ext/cargo-vendor/bindgen-0.72.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/bindgen-0.72.1/.cargo_vcs_info.json +6 -0
- data/ext/cargo-vendor/bindgen-0.72.1/Cargo.lock +485 -0
- data/ext/cargo-vendor/bindgen-0.72.1/Cargo.toml +189 -0
- data/ext/cargo-vendor/bindgen-0.72.1/Cargo.toml.orig +72 -0
- data/ext/cargo-vendor/bindgen-0.72.1/README.md +89 -0
- data/ext/cargo-vendor/bindgen-0.72.1/build.rs +29 -0
- data/ext/cargo-vendor/bindgen-0.72.1/callbacks.rs +317 -0
- data/ext/cargo-vendor/bindgen-0.72.1/clang.rs +2448 -0
- data/ext/cargo-vendor/bindgen-0.72.1/codegen/bitfield_unit.rs +112 -0
- data/ext/cargo-vendor/bindgen-0.72.1/codegen/bitfield_unit_raw_ref_macros.rs +191 -0
- data/ext/cargo-vendor/bindgen-0.72.1/codegen/bitfield_unit_tests.rs +260 -0
- data/ext/cargo-vendor/bindgen-0.72.1/codegen/dyngen.rs +258 -0
- data/ext/cargo-vendor/bindgen-0.72.1/codegen/error.rs +52 -0
- data/ext/cargo-vendor/bindgen-0.72.1/codegen/helpers.rs +395 -0
- data/ext/cargo-vendor/bindgen-0.72.1/codegen/impl_debug.rs +243 -0
- data/ext/cargo-vendor/bindgen-0.72.1/codegen/impl_partialeq.rs +142 -0
- data/ext/cargo-vendor/bindgen-0.72.1/codegen/mod.rs +5991 -0
- data/ext/cargo-vendor/bindgen-0.72.1/codegen/postprocessing/merge_extern_blocks.rs +72 -0
- data/ext/cargo-vendor/bindgen-0.72.1/codegen/postprocessing/sort_semantically.rs +46 -0
- data/ext/cargo-vendor/bindgen-0.72.1/codegen/serialize.rs +443 -0
- data/ext/cargo-vendor/bindgen-0.72.1/codegen/struct_layout.rs +458 -0
- data/ext/cargo-vendor/bindgen-0.72.1/deps.rs +61 -0
- data/ext/cargo-vendor/bindgen-0.72.1/diagnostics.rs +146 -0
- data/ext/cargo-vendor/bindgen-0.72.1/extra_assertions.rs +17 -0
- data/ext/cargo-vendor/bindgen-0.72.1/features.rs +570 -0
- data/ext/cargo-vendor/bindgen-0.72.1/ir/analysis/derive.rs +726 -0
- data/ext/cargo-vendor/bindgen-0.72.1/ir/analysis/has_destructor.rs +175 -0
- data/ext/cargo-vendor/bindgen-0.72.1/ir/analysis/has_float.rs +248 -0
- data/ext/cargo-vendor/bindgen-0.72.1/ir/analysis/has_type_param_in_array.rs +242 -0
- data/ext/cargo-vendor/bindgen-0.72.1/ir/analysis/has_vtable.rs +235 -0
- data/ext/cargo-vendor/bindgen-0.72.1/ir/analysis/mod.rs +395 -0
- data/ext/cargo-vendor/bindgen-0.72.1/ir/analysis/sizedness.rs +353 -0
- data/ext/cargo-vendor/bindgen-0.72.1/ir/analysis/template_params.rs +601 -0
- data/ext/cargo-vendor/bindgen-0.72.1/ir/annotations.rs +259 -0
- data/ext/cargo-vendor/bindgen-0.72.1/ir/comment.rs +100 -0
- data/ext/cargo-vendor/bindgen-0.72.1/ir/comp.rs +1921 -0
- data/ext/cargo-vendor/bindgen-0.72.1/ir/context.rs +3107 -0
- data/ext/cargo-vendor/bindgen-0.72.1/ir/derive.rs +130 -0
- data/ext/cargo-vendor/bindgen-0.72.1/ir/dot.rs +85 -0
- data/ext/cargo-vendor/bindgen-0.72.1/ir/enum_ty.rs +321 -0
- data/ext/cargo-vendor/bindgen-0.72.1/ir/function.rs +838 -0
- data/ext/cargo-vendor/bindgen-0.72.1/ir/int.rs +128 -0
- data/ext/cargo-vendor/bindgen-0.72.1/ir/item.rs +1994 -0
- data/ext/cargo-vendor/bindgen-0.72.1/ir/item_kind.rs +135 -0
- data/ext/cargo-vendor/bindgen-0.72.1/ir/layout.rs +126 -0
- data/ext/cargo-vendor/bindgen-0.72.1/ir/module.rs +96 -0
- data/ext/cargo-vendor/bindgen-0.72.1/ir/objc.rs +343 -0
- data/ext/cargo-vendor/bindgen-0.72.1/ir/template.rs +335 -0
- data/ext/cargo-vendor/bindgen-0.72.1/ir/traversal.rs +478 -0
- data/ext/cargo-vendor/bindgen-0.72.1/ir/ty.rs +1256 -0
- data/ext/cargo-vendor/bindgen-0.72.1/ir/var.rs +523 -0
- data/ext/cargo-vendor/bindgen-0.72.1/lib.rs +1422 -0
- data/ext/cargo-vendor/bindgen-0.72.1/log_stubs.rs +38 -0
- data/ext/cargo-vendor/bindgen-0.72.1/options/as_args.rs +52 -0
- data/ext/cargo-vendor/bindgen-0.72.1/options/cli.rs +1151 -0
- data/ext/cargo-vendor/bindgen-0.72.1/options/mod.rs +2286 -0
- data/ext/cargo-vendor/bindgen-0.72.1/regex_set.rs +199 -0
- data/ext/cargo-vendor/bindgen-0.72.1/time.rs +52 -0
- data/ext/cargo-vendor/codeowners-0.5.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/codeowners-0.5.0/.github/workflows/audit.yml +31 -0
- data/ext/cargo-vendor/codeowners-0.5.0/.github/workflows/ci.yml +180 -0
- data/ext/cargo-vendor/codeowners-0.5.0/.github/workflows/codeql.yml +21 -0
- data/ext/cargo-vendor/codeowners-0.5.0/Cargo.lock +1176 -0
- data/ext/cargo-vendor/codeowners-0.5.0/Cargo.toml +173 -0
- data/ext/cargo-vendor/codeowners-0.5.0/perf/README.md +204 -0
- data/ext/cargo-vendor/codeowners-0.5.0/perf/compare.sh +23 -0
- data/ext/cargo-vendor/codeowners-0.5.0/perf/run.sh +28 -0
- data/ext/cargo-vendor/codeowners-0.5.0/rust-toolchain.toml +4 -0
- data/ext/cargo-vendor/codeowners-0.5.0/src/bin/codeowners-perf.rs +719 -0
- data/ext/cargo-vendor/codeowners-0.5.0/src/cache/file.rs +179 -0
- data/ext/cargo-vendor/codeowners-0.5.0/src/cache/mod.rs +29 -0
- data/ext/cargo-vendor/codeowners-0.5.0/src/cache/noop.rs +26 -0
- data/ext/cargo-vendor/codeowners-0.5.0/src/cli.rs +138 -0
- data/ext/cargo-vendor/codeowners-0.5.0/src/main.rs +43 -0
- data/ext/cargo-vendor/codeowners-0.5.0/src/ownership/file_owner_resolver.rs +829 -0
- data/ext/cargo-vendor/codeowners-0.5.0/src/ownership/validator.rs +378 -0
- data/ext/cargo-vendor/codeowners-0.5.0/src/ownership.rs +243 -0
- data/ext/cargo-vendor/codeowners-0.5.0/src/project.rs +232 -0
- data/ext/cargo-vendor/codeowners-0.5.0/src/project_builder.rs +430 -0
- data/ext/cargo-vendor/codeowners-0.5.0/src/project_file_builder.rs +113 -0
- data/ext/cargo-vendor/codeowners-0.5.0/src/runner/api.rs +145 -0
- data/ext/cargo-vendor/codeowners-0.5.0/src/runner/types.rs +37 -0
- data/ext/cargo-vendor/codeowners-0.5.0/src/runner.rs +493 -0
- data/ext/cargo-vendor/codeowners-0.5.0/tests/annotation_in_unowned_team_glob_test.rs +64 -0
- data/ext/cargo-vendor/codeowners-0.5.0/tests/common/mod.rs +180 -0
- data/ext/cargo-vendor/codeowners-0.5.0/tests/directory_codeowner_github_team_test.rs +22 -0
- data/ext/cargo-vendor/codeowners-0.5.0/tests/empty_directory_codeowner_test.rs +26 -0
- data/ext/cargo-vendor/codeowners-0.5.0/tests/executable_name_config_test.rs +88 -0
- data/ext/cargo-vendor/codeowners-0.5.0/tests/fixtures/annotation_in_unowned_team_glob/.github/CODEOWNERS +18 -0
- data/ext/cargo-vendor/codeowners-0.5.0/tests/fixtures/annotation_in_unowned_team_glob/config/code_ownership.yml +4 -0
- data/ext/cargo-vendor/codeowners-0.5.0/tests/fixtures/annotation_in_unowned_team_glob/config/teams/alpha.yml +7 -0
- data/ext/cargo-vendor/codeowners-0.5.0/tests/fixtures/annotation_in_unowned_team_glob/config/teams/beta.yml +3 -0
- data/ext/cargo-vendor/codeowners-0.5.0/tests/fixtures/annotation_in_unowned_team_glob/ruby/app/services/alpha_owned.rb +2 -0
- data/ext/cargo-vendor/codeowners-0.5.0/tests/fixtures/annotation_in_unowned_team_glob/ruby/app/services/beta_owned.rb +4 -0
- data/ext/cargo-vendor/codeowners-0.5.0/tests/fixtures/custom_codeowners_path/docs/CODEOWNERS +14 -0
- data/ext/cargo-vendor/codeowners-0.5.0/tests/fixtures/custom_codeowners_path/expected/CODEOWNERS +14 -0
- data/ext/cargo-vendor/codeowners-0.5.0/tests/fixtures/directory-codeowner-github-team/.github/CODEOWNERS +15 -0
- data/ext/cargo-vendor/codeowners-0.5.0/tests/fixtures/directory-codeowner-github-team/app/by_handle/.codeowner +1 -0
- data/ext/cargo-vendor/codeowners-0.5.0/tests/fixtures/directory-codeowner-github-team/app/by_handle/handled.rb +2 -0
- data/ext/cargo-vendor/codeowners-0.5.0/tests/fixtures/directory-codeowner-github-team/app/by_name/named.rb +2 -0
- data/ext/cargo-vendor/codeowners-0.5.0/tests/fixtures/empty-directory-codeowner/.github/CODEOWNERS +14 -0
- data/ext/cargo-vendor/codeowners-0.5.0/tests/fixtures/empty-directory-codeowner/app/services/.codeowner +1 -0
- data/ext/cargo-vendor/codeowners-0.5.0/tests/fixtures/empty-directory-codeowner/app/services/nested/.codeowner +1 -0
- data/ext/cargo-vendor/codeowners-0.5.0/tests/fixtures/empty-directory-codeowner/app/services/nested/nested_file.rb +2 -0
- data/ext/cargo-vendor/codeowners-0.5.0/tests/fixtures/empty-directory-codeowner/config/code_ownership.yml +10 -0
- data/ext/cargo-vendor/codeowners-0.5.0/tests/fixtures/empty-directory-codeowner/config/teams/foo.yml +5 -0
- data/ext/cargo-vendor/codeowners-0.5.0/tests/fixtures/invalid-directory-codeowner/.github/CODEOWNERS +14 -0
- data/ext/cargo-vendor/codeowners-0.5.0/tests/fixtures/invalid-directory-codeowner/app/services/.codeowner +1 -0
- data/ext/cargo-vendor/codeowners-0.5.0/tests/fixtures/invalid-directory-codeowner/app/services/nested/.codeowner +1 -0
- data/ext/cargo-vendor/codeowners-0.5.0/tests/fixtures/invalid-directory-codeowner/app/services/nested/nested_file.rb +2 -0
- data/ext/cargo-vendor/codeowners-0.5.0/tests/fixtures/invalid-directory-codeowner/config/code_ownership.yml +10 -0
- data/ext/cargo-vendor/codeowners-0.5.0/tests/fixtures/invalid-directory-codeowner/config/teams/foo.yml +5 -0
- data/ext/cargo-vendor/codeowners-0.5.0/tests/fixtures/multiple-directory-owners/app/services/.codeowner +1 -0
- data/ext/cargo-vendor/codeowners-0.5.0/tests/fixtures/multiple-directory-owners/config/code_ownership.yml +10 -0
- data/ext/cargo-vendor/codeowners-0.5.0/tests/fixtures/multiple-directory-owners/config/teams/foo.yml +5 -0
- data/ext/cargo-vendor/codeowners-0.5.0/tests/fixtures/valid_project/.github/CODEOWNERS +41 -0
- data/ext/cargo-vendor/codeowners-0.5.0/tests/fixtures/valid_project_with_overrides/.github/CODEOWNERS +53 -0
- data/ext/cargo-vendor/codeowners-0.5.0/tests/global_gitignore_test.rs +50 -0
- data/ext/cargo-vendor/codeowners-0.5.0/tests/invalid_directory_codeowner_test.rs +26 -0
- data/ext/cargo-vendor/codeowners-0.5.0/tests/invalid_project_test.rs +174 -0
- data/ext/cargo-vendor/codeowners-0.5.0/tests/perf_harness_test.rs +245 -0
- data/ext/cargo-vendor/codeowners-0.5.0/tests/untracked_new_file_test.rs +63 -0
- data/ext/cargo-vendor/codeowners-0.5.0/tests/untracked_source_file_test.rs +40 -0
- data/ext/cargo-vendor/codeowners-0.5.0/tests/valid_project_test.rs +348 -0
- data/ext/cargo-vendor/error-stack-0.8.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/error-stack-0.8.0/.cargo_vcs_info.json +6 -0
- data/ext/cargo-vendor/error-stack-0.8.0/.justfile +16 -0
- data/ext/cargo-vendor/error-stack-0.8.0/CHANGELOG.md +158 -0
- data/ext/cargo-vendor/error-stack-0.8.0/Cargo.lock +733 -0
- data/ext/cargo-vendor/error-stack-0.8.0/Cargo.toml +389 -0
- data/ext/cargo-vendor/error-stack-0.8.0/Cargo.toml.orig +109 -0
- data/ext/cargo-vendor/error-stack-0.8.0/README.md +149 -0
- data/ext/cargo-vendor/error-stack-0.8.0/build.rs +28 -0
- data/ext/cargo-vendor/error-stack-0.8.0/examples/demo.rs +117 -0
- data/ext/cargo-vendor/error-stack-0.8.0/examples/detect.rs +68 -0
- data/ext/cargo-vendor/error-stack-0.8.0/examples/exit_code.rs +25 -0
- data/ext/cargo-vendor/error-stack-0.8.0/examples/parse_config.rs +51 -0
- data/ext/cargo-vendor/error-stack-0.8.0/src/compat/anyhow.rs +34 -0
- data/ext/cargo-vendor/error-stack-0.8.0/src/compat/eyre.rs +32 -0
- data/ext/cargo-vendor/error-stack-0.8.0/src/compat/mod.rs +34 -0
- data/ext/cargo-vendor/error-stack-0.8.0/src/context.rs +52 -0
- data/ext/cargo-vendor/error-stack-0.8.0/src/error.rs +40 -0
- data/ext/cargo-vendor/error-stack-0.8.0/src/ext/iter.rs +286 -0
- data/ext/cargo-vendor/error-stack-0.8.0/src/ext/mod.rs +19 -0
- data/ext/cargo-vendor/error-stack-0.8.0/src/ext/stream.rs +212 -0
- data/ext/cargo-vendor/error-stack-0.8.0/src/ext/tuple.rs +218 -0
- data/ext/cargo-vendor/error-stack-0.8.0/src/fmt/charset.rs +114 -0
- data/ext/cargo-vendor/error-stack-0.8.0/src/fmt/color.rs +330 -0
- data/ext/cargo-vendor/error-stack-0.8.0/src/fmt/config.rs +67 -0
- data/ext/cargo-vendor/error-stack-0.8.0/src/fmt/hook.rs +544 -0
- data/ext/cargo-vendor/error-stack-0.8.0/src/fmt/location.rs +33 -0
- data/ext/cargo-vendor/error-stack-0.8.0/src/fmt/mod.rs +1187 -0
- data/ext/cargo-vendor/error-stack-0.8.0/src/frame/frame_impl.rs +259 -0
- data/ext/cargo-vendor/error-stack-0.8.0/src/frame/kind.rs +38 -0
- data/ext/cargo-vendor/error-stack-0.8.0/src/frame/mod.rs +120 -0
- data/ext/cargo-vendor/error-stack-0.8.0/src/future.rs +301 -0
- data/ext/cargo-vendor/error-stack-0.8.0/src/hook/context.rs +363 -0
- data/ext/cargo-vendor/error-stack-0.8.0/src/hook/mod.rs +240 -0
- data/ext/cargo-vendor/error-stack-0.8.0/src/iter.rs +224 -0
- data/ext/cargo-vendor/error-stack-0.8.0/src/lib.rs +557 -0
- data/ext/cargo-vendor/error-stack-0.8.0/src/macros.rs +212 -0
- data/ext/cargo-vendor/error-stack-0.8.0/src/report.rs +1058 -0
- data/ext/cargo-vendor/error-stack-0.8.0/src/result.rs +137 -0
- data/ext/cargo-vendor/error-stack-0.8.0/src/serde.rs +169 -0
- data/ext/cargo-vendor/error-stack-0.8.0/src/sink.rs +672 -0
- data/ext/cargo-vendor/error-stack-0.8.0/tests/common.rs +354 -0
- data/ext/cargo-vendor/error-stack-0.8.0/tests/compiletest.rs +22 -0
- data/ext/cargo-vendor/error-stack-0.8.0/tests/snapshots/doc/fmt__charset_ascii.snap +9 -0
- data/ext/cargo-vendor/error-stack-0.8.0/tests/snapshots/doc/fmt__charset_utf8.snap +9 -0
- data/ext/cargo-vendor/error-stack-0.8.0/tests/snapshots/doc/fmt__diagnostics_add.snap +10 -0
- data/ext/cargo-vendor/error-stack-0.8.0/tests/snapshots/doc/fmt__doc.snap +12 -0
- data/ext/cargo-vendor/error-stack-0.8.0/tests/snapshots/doc/fmt__emit.snap +16 -0
- data/ext/cargo-vendor/error-stack-0.8.0/tests/snapshots/doc/fmt__emit_alt.snap +28 -0
- data/ext/cargo-vendor/error-stack-0.8.0/tests/snapshots/doc/fmt__hookcontext_cast.snap +11 -0
- data/ext/cargo-vendor/error-stack-0.8.0/tests/snapshots/doc/fmt__hookcontext_decrement.snap +10 -0
- data/ext/cargo-vendor/error-stack-0.8.0/tests/snapshots/doc/fmt__hookcontext_emit.snap +16 -0
- data/ext/cargo-vendor/error-stack-0.8.0/tests/snapshots/doc/fmt__hookcontext_increment.snap +10 -0
- data/ext/cargo-vendor/error-stack-0.8.0/tests/snapshots/doc/fmt__hookcontext_storage.snap +10 -0
- data/ext/cargo-vendor/error-stack-0.8.0/tests/snapshots/doc/fmt__preference_color.snap +9 -0
- data/ext/cargo-vendor/error-stack-0.8.0/tests/snapshots/doc/fmt__preference_emphasis.snap +9 -0
- data/ext/cargo-vendor/error-stack-0.8.0/tests/snapshots/doc/fmt__preference_none.snap +9 -0
- data/ext/cargo-vendor/error-stack-0.8.0/tests/snapshots/doc/fmt_doc_alt.snap +15 -0
- data/ext/cargo-vendor/error-stack-0.8.0/tests/snapshots/doc/hook__debug_hook.snap +9 -0
- data/ext/cargo-vendor/error-stack-0.8.0/tests/snapshots/doc/hook__debug_hook_provide.snap +10 -0
- data/ext/cargo-vendor/error-stack-0.8.0/tests/snapshots/doc/lib__suggestion.snap +13 -0
- data/ext/cargo-vendor/error-stack-0.8.0/tests/snapshots/doc/report_debug__doc.snap +14 -0
- data/ext/cargo-vendor/error-stack-0.8.0/tests/snapshots/test_debug__full__complex.snap +49 -0
- data/ext/cargo-vendor/error-stack-0.8.0/tests/snapshots/test_debug__full__hook_location.snap +15 -0
- data/ext/cargo-vendor/error-stack-0.8.0/tests/snapshots/test_debug__full__linear.snap +27 -0
- data/ext/cargo-vendor/error-stack-0.8.0/tests/snapshots/test_debug__full__linear_ext.snap +27 -0
- data/ext/cargo-vendor/error-stack-0.8.0/tests/snapshots/test_debug__full__multiline_context.snap +25 -0
- data/ext/cargo-vendor/error-stack-0.8.0/tests/snapshots/test_debug__full__sources.snap +48 -0
- data/ext/cargo-vendor/error-stack-0.8.0/tests/snapshots/test_debug__full__sources_transparent.snap +50 -0
- data/ext/cargo-vendor/error-stack-0.8.0/tests/snapshots/test_debug__sources_nested.snap +78 -0
- data/ext/cargo-vendor/error-stack-0.8.0/tests/snapshots/test_debug__sources_nested@spantrace-backtrace.snap +128 -0
- data/ext/cargo-vendor/error-stack-0.8.0/tests/snapshots/test_debug__sources_nested_alternate.snap +78 -0
- data/ext/cargo-vendor/error-stack-0.8.0/tests/snapshots/test_debug__sources_nested_alternate@spantrace-backtrace.snap +128 -0
- data/ext/cargo-vendor/error-stack-0.8.0/tests/snapshots/test_serialize__attachment.snap +13 -0
- data/ext/cargo-vendor/error-stack-0.8.0/tests/snapshots/test_serialize__context.snap +19 -0
- data/ext/cargo-vendor/error-stack-0.8.0/tests/snapshots/test_serialize__multiple_sources.snap +30 -0
- data/ext/cargo-vendor/error-stack-0.8.0/tests/snapshots/test_serialize__multiple_sources_at_root.snap +20 -0
- data/ext/cargo-vendor/error-stack-0.8.0/tests/test_attach.rs +94 -0
- data/ext/cargo-vendor/error-stack-0.8.0/tests/test_attach_printable.rs +73 -0
- data/ext/cargo-vendor/error-stack-0.8.0/tests/test_backtrace.rs +61 -0
- data/ext/cargo-vendor/error-stack-0.8.0/tests/test_change_context.rs +90 -0
- data/ext/cargo-vendor/error-stack-0.8.0/tests/test_compatibility.rs +224 -0
- data/ext/cargo-vendor/error-stack-0.8.0/tests/test_conversion.rs +134 -0
- data/ext/cargo-vendor/error-stack-0.8.0/tests/test_debug.rs +628 -0
- data/ext/cargo-vendor/error-stack-0.8.0/tests/test_display.rs +31 -0
- data/ext/cargo-vendor/error-stack-0.8.0/tests/test_downcast.rs +101 -0
- data/ext/cargo-vendor/error-stack-0.8.0/tests/test_extend.rs +99 -0
- data/ext/cargo-vendor/error-stack-0.8.0/tests/test_frame.rs +136 -0
- data/ext/cargo-vendor/error-stack-0.8.0/tests/test_iter.rs +132 -0
- data/ext/cargo-vendor/error-stack-0.8.0/tests/test_macros.rs +68 -0
- data/ext/cargo-vendor/error-stack-0.8.0/tests/test_provision.rs +52 -0
- data/ext/cargo-vendor/error-stack-0.8.0/tests/test_serialize.rs +70 -0
- data/ext/cargo-vendor/error-stack-0.8.0/tests/test_span_trace.rs +91 -0
- data/ext/cargo-vendor/error-stack-0.8.0/tests/ui/attach_diagnostics.rs +21 -0
- data/ext/cargo-vendor/error-stack-0.8.0/tests/ui/attach_diagnostics.stderr +23 -0
- data/ext/cargo-vendor/error-stack-0.8.0/tests/ui/frames_mut_escape.rs +28 -0
- data/ext/cargo-vendor/error-stack-0.8.0/tests/ui/frames_mut_escape.stderr +13 -0
- data/ext/cargo-vendor/error-stack-0.8.0/tests/ui/macro_invalid_args.rs +32 -0
- data/ext/cargo-vendor/error-stack-0.8.0/tests/ui/macro_invalid_args.stderr +132 -0
- data/ext/cargo-vendor/error-stack-0.8.0/tests/ui/missing_args.rs +32 -0
- data/ext/cargo-vendor/error-stack-0.8.0/tests/ui/missing_args.stderr +35 -0
- data/ext/cargo-vendor/error-stack-0.8.0/tests/ui/must_use.rs +20 -0
- data/ext/cargo-vendor/error-stack-0.8.0/tests/ui/must_use.stderr +15 -0
- data/ext/cargo-vendor/rb-sys-0.9.130/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/rb-sys-0.9.130/.cargo_vcs_info.json +6 -0
- data/ext/cargo-vendor/rb-sys-0.9.130/Cargo.lock +385 -0
- data/ext/cargo-vendor/rb-sys-0.9.130/Cargo.toml +71 -0
- data/ext/cargo-vendor/rb-sys-0.9.130/Cargo.toml.orig +58 -0
- data/ext/cargo-vendor/rb-sys-0.9.130/build/main.rs +292 -0
- data/ext/cargo-vendor/rb-sys-0.9.130/build/stable_api_config.rs +179 -0
- data/ext/cargo-vendor/rb-sys-0.9.130/build/version.rs +58 -0
- data/ext/cargo-vendor/rb-sys-0.9.130/src/bindings.rs +22 -0
- data/ext/cargo-vendor/rb-sys-0.9.130/src/macros.rs +701 -0
- data/ext/cargo-vendor/rb-sys-0.9.130/src/memory.rs +64 -0
- data/ext/cargo-vendor/rb-sys-0.9.130/src/stable_api/compiled.c +338 -0
- data/ext/cargo-vendor/rb-sys-0.9.130/src/stable_api/compiled.rs +452 -0
- data/ext/cargo-vendor/rb-sys-0.9.130/src/stable_api/ruby_2_7.rs +770 -0
- data/ext/cargo-vendor/rb-sys-0.9.130/src/stable_api/ruby_3_0.rs +773 -0
- data/ext/cargo-vendor/rb-sys-0.9.130/src/stable_api/ruby_3_1.rs +766 -0
- data/ext/cargo-vendor/rb-sys-0.9.130/src/stable_api/ruby_3_2.rs +764 -0
- data/ext/cargo-vendor/rb-sys-0.9.130/src/stable_api/ruby_3_3.rs +777 -0
- data/ext/cargo-vendor/rb-sys-0.9.130/src/stable_api/ruby_3_4.rs +788 -0
- data/ext/cargo-vendor/rb-sys-0.9.130/src/stable_api/ruby_4_0.rs +784 -0
- data/ext/cargo-vendor/rb-sys-0.9.130/src/stable_api.rs +465 -0
- data/ext/cargo-vendor/rb-sys-0.9.130/src/utils.rs +94 -0
- data/ext/cargo-vendor/rb-sys-build-0.9.130/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/rb-sys-build-0.9.130/.cargo_vcs_info.json +6 -0
- data/ext/cargo-vendor/rb-sys-build-0.9.130/Cargo.lock +286 -0
- data/ext/cargo-vendor/rb-sys-build-0.9.130/Cargo.toml +76 -0
- data/ext/cargo-vendor/rb-sys-build-0.9.130/Cargo.toml.orig +33 -0
- data/ext/cargo-vendor/rb-sys-build-0.9.130/src/bindings/gc_stress.rs +303 -0
- data/ext/cargo-vendor/rb-sys-build-0.9.130/src/bindings/stable_api.rs +297 -0
- data/ext/cargo-vendor/rb-sys-build-0.9.130/src/bindings.rs +292 -0
- data/ext/cargo-vendor/rb-sys-build-0.9.130/src/cc.rs +421 -0
- data/ext/cargo-vendor/rb-sys-build-0.9.130/src/rb_config.rs +1060 -0
- data/ext/cargo-vendor/rb-sys-build-0.9.130/tests/fixtures/rubyopt_stdout.rb +1 -0
- data/ext/cargo-vendor/rb-sys-build-0.9.130/tests/rubyopt.rs +17 -0
- data/ext/cargo-vendor/rb-sys-env-0.2.3/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/rb-sys-env-0.2.3/.cargo_vcs_info.json +6 -0
- data/ext/cargo-vendor/rb-sys-env-0.2.3/Cargo.lock +7 -0
- data/ext/cargo-vendor/rb-sys-env-0.2.3/Cargo.toml +33 -0
- data/ext/cargo-vendor/rb-sys-env-0.2.3/Cargo.toml.orig +14 -0
- data/ext/cargo-vendor/rb-sys-env-0.2.3/readme.md +117 -0
- data/ext/cargo-vendor/rb-sys-env-0.2.3/src/ruby_version.rs +165 -0
- data/ext/cargo-vendor/rustc-hash-2.1.3/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/rustc-hash-2.1.3/.cargo_vcs_info.json +6 -0
- data/ext/cargo-vendor/rustc-hash-2.1.3/.github/workflows/rust.yml +73 -0
- data/ext/cargo-vendor/rustc-hash-2.1.3/CHANGELOG.md +41 -0
- data/ext/cargo-vendor/rustc-hash-2.1.3/CODE_OF_CONDUCT.md +3 -0
- data/ext/cargo-vendor/rustc-hash-2.1.3/Cargo.lock +90 -0
- data/ext/cargo-vendor/rustc-hash-2.1.3/Cargo.toml +50 -0
- data/ext/cargo-vendor/rustc-hash-2.1.3/Cargo.toml.orig +20 -0
- data/ext/cargo-vendor/rustc-hash-2.1.3/LICENSE-APACHE +176 -0
- data/ext/cargo-vendor/rustc-hash-2.1.3/LICENSE-MIT +23 -0
- data/ext/cargo-vendor/rustc-hash-2.1.3/README.md +42 -0
- data/ext/cargo-vendor/rustc-hash-2.1.3/src/lib.rs +472 -0
- data/ext/cargo-vendor/rustc-hash-2.1.3/src/random_state.rs +101 -0
- data/ext/cargo-vendor/rustc-hash-2.1.3/src/seeded_state.rs +76 -0
- data/ext/cargo-vendor/serde-1.0.229/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/serde-1.0.229/.cargo_vcs_info.json +6 -0
- data/ext/cargo-vendor/serde-1.0.229/Cargo.lock +66 -0
- data/ext/cargo-vendor/serde-1.0.229/Cargo.toml +84 -0
- data/ext/cargo-vendor/serde-1.0.229/Cargo.toml.orig +62 -0
- data/ext/cargo-vendor/serde-1.0.229/README.md +114 -0
- data/ext/cargo-vendor/serde-1.0.229/build.rs +69 -0
- data/ext/cargo-vendor/serde-1.0.229/src/core/de/impls.rs +3173 -0
- data/ext/cargo-vendor/serde-1.0.229/src/core/lib.rs +121 -0
- data/ext/cargo-vendor/serde-1.0.229/src/lib.rs +285 -0
- data/ext/cargo-vendor/serde_core-1.0.229/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/serde_core-1.0.229/.cargo_vcs_info.json +6 -0
- data/ext/cargo-vendor/serde_core-1.0.229/Cargo.lock +63 -0
- data/ext/cargo-vendor/serde_core-1.0.229/Cargo.toml +87 -0
- data/ext/cargo-vendor/serde_core-1.0.229/Cargo.toml.orig +70 -0
- data/ext/cargo-vendor/serde_core-1.0.229/build.rs +113 -0
- data/ext/cargo-vendor/serde_core-1.0.229/src/de/impls.rs +3173 -0
- data/ext/cargo-vendor/serde_core-1.0.229/src/lib.rs +121 -0
- data/ext/cargo-vendor/serde_derive-1.0.229/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/serde_derive-1.0.229/.cargo_vcs_info.json +6 -0
- data/ext/cargo-vendor/serde_derive-1.0.229/Cargo.lock +88 -0
- data/ext/cargo-vendor/serde_derive-1.0.229/Cargo.toml +87 -0
- data/ext/cargo-vendor/serde_derive-1.0.229/Cargo.toml.orig +42 -0
- data/ext/cargo-vendor/serde_derive-1.0.229/README.md +114 -0
- data/ext/cargo-vendor/serde_derive-1.0.229/src/bound.rs +431 -0
- data/ext/cargo-vendor/serde_derive-1.0.229/src/de/enum_adjacently.rs +324 -0
- data/ext/cargo-vendor/serde_derive-1.0.229/src/de/enum_externally.rs +213 -0
- data/ext/cargo-vendor/serde_derive-1.0.229/src/de.rs +976 -0
- data/ext/cargo-vendor/serde_derive-1.0.229/src/internals/ast.rs +225 -0
- data/ext/cargo-vendor/serde_derive-1.0.229/src/internals/attr.rs +1818 -0
- data/ext/cargo-vendor/serde_derive-1.0.229/src/internals/ctxt.rs +67 -0
- data/ext/cargo-vendor/serde_derive-1.0.229/src/internals/receiver.rs +293 -0
- data/ext/cargo-vendor/serde_derive-1.0.229/src/lib.rs +127 -0
- data/ext/cargo-vendor/serde_derive-1.0.229/src/pretend.rs +188 -0
- data/ext/cargo-vendor/serde_derive-1.0.229/src/ser.rs +1369 -0
- data/ext/cargo-vendor/serde_magnus-0.11.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/serde_magnus-0.11.0/.cargo_vcs_info.json +6 -0
- data/ext/cargo-vendor/serde_magnus-0.11.0/Cargo.lock +385 -0
- data/ext/cargo-vendor/serde_magnus-0.11.0/Cargo.toml +162 -0
- data/ext/cargo-vendor/serde_magnus-0.11.0/Cargo.toml.orig +28 -0
- data/ext/cargo-vendor/serde_magnus-0.11.0/README.md +121 -0
- data/ext/cargo-vendor/serde_magnus-0.11.0/src/de/deserializer.rs +185 -0
- data/ext/cargo-vendor/syn-3.0.9/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/syn-3.0.9/.cargo_vcs_info.json +6 -0
- data/ext/cargo-vendor/syn-3.0.9/Cargo.lock +1948 -0
- data/ext/cargo-vendor/syn-3.0.9/Cargo.toml +268 -0
- data/ext/cargo-vendor/syn-3.0.9/Cargo.toml.orig +95 -0
- data/ext/cargo-vendor/syn-3.0.9/LICENSE-APACHE +176 -0
- data/ext/cargo-vendor/syn-3.0.9/README.md +297 -0
- data/ext/cargo-vendor/syn-3.0.9/benches/file.rs +59 -0
- data/ext/cargo-vendor/syn-3.0.9/benches/rust.rs +189 -0
- data/ext/cargo-vendor/syn-3.0.9/src/attr.rs +841 -0
- data/ext/cargo-vendor/syn-3.0.9/src/bigint.rs +68 -0
- data/ext/cargo-vendor/syn-3.0.9/src/buffer.rs +462 -0
- data/ext/cargo-vendor/syn-3.0.9/src/classify.rs +311 -0
- data/ext/cargo-vendor/syn-3.0.9/src/custom_keyword.rs +260 -0
- data/ext/cargo-vendor/syn-3.0.9/src/custom_punctuation.rs +305 -0
- data/ext/cargo-vendor/syn-3.0.9/src/data.rs +489 -0
- data/ext/cargo-vendor/syn-3.0.9/src/derive.rs +260 -0
- data/ext/cargo-vendor/syn-3.0.9/src/discouraged.rs +233 -0
- data/ext/cargo-vendor/syn-3.0.9/src/drops.rs +58 -0
- data/ext/cargo-vendor/syn-3.0.9/src/error.rs +552 -0
- data/ext/cargo-vendor/syn-3.0.9/src/export.rs +73 -0
- data/ext/cargo-vendor/syn-3.0.9/src/expr.rs +4249 -0
- data/ext/cargo-vendor/syn-3.0.9/src/ext.rs +180 -0
- data/ext/cargo-vendor/syn-3.0.9/src/file.rs +136 -0
- data/ext/cargo-vendor/syn-3.0.9/src/fixup.rs +773 -0
- data/ext/cargo-vendor/syn-3.0.9/src/gen/clone.rs +2394 -0
- data/ext/cargo-vendor/syn-3.0.9/src/gen/debug.rs +3399 -0
- data/ext/cargo-vendor/syn-3.0.9/src/gen/eq.rs +2459 -0
- data/ext/cargo-vendor/syn-3.0.9/src/gen/fold.rs +3934 -0
- data/ext/cargo-vendor/syn-3.0.9/src/gen/hash.rs +3040 -0
- data/ext/cargo-vendor/syn-3.0.9/src/gen/token.css +744 -0
- data/ext/cargo-vendor/syn-3.0.9/src/gen/visit.rs +4037 -0
- data/ext/cargo-vendor/syn-3.0.9/src/gen/visit_mut.rs +3824 -0
- data/ext/cargo-vendor/syn-3.0.9/src/generics.rs +1490 -0
- data/ext/cargo-vendor/syn-3.0.9/src/group.rs +294 -0
- data/ext/cargo-vendor/syn-3.0.9/src/ident.rs +109 -0
- data/ext/cargo-vendor/syn-3.0.9/src/item.rs +3923 -0
- data/ext/cargo-vendor/syn-3.0.9/src/lib.rs +1132 -0
- data/ext/cargo-vendor/syn-3.0.9/src/lifetime.rs +193 -0
- data/ext/cargo-vendor/syn-3.0.9/src/lit.rs +1881 -0
- data/ext/cargo-vendor/syn-3.0.9/src/lookahead.rs +350 -0
- data/ext/cargo-vendor/syn-3.0.9/src/mac.rs +225 -0
- data/ext/cargo-vendor/syn-3.0.9/src/macros.rs +151 -0
- data/ext/cargo-vendor/syn-3.0.9/src/meta.rs +427 -0
- data/ext/cargo-vendor/syn-3.0.9/src/op.rs +219 -0
- data/ext/cargo-vendor/syn-3.0.9/src/parse.rs +1420 -0
- data/ext/cargo-vendor/syn-3.0.9/src/parse_macro_input.rs +128 -0
- data/ext/cargo-vendor/syn-3.0.9/src/parse_quote.rs +261 -0
- data/ext/cargo-vendor/syn-3.0.9/src/pat.rs +994 -0
- data/ext/cargo-vendor/syn-3.0.9/src/path.rs +972 -0
- data/ext/cargo-vendor/syn-3.0.9/src/precedence.rs +210 -0
- data/ext/cargo-vendor/syn-3.0.9/src/print.rs +16 -0
- data/ext/cargo-vendor/syn-3.0.9/src/punctuated.rs +1200 -0
- data/ext/cargo-vendor/syn-3.0.9/src/restriction.rs +160 -0
- data/ext/cargo-vendor/syn-3.0.9/src/scan_expr.rs +270 -0
- data/ext/cargo-vendor/syn-3.0.9/src/sealed.rs +4 -0
- data/ext/cargo-vendor/syn-3.0.9/src/span.rs +63 -0
- data/ext/cargo-vendor/syn-3.0.9/src/spanned.rs +118 -0
- data/ext/cargo-vendor/syn-3.0.9/src/stmt.rs +536 -0
- data/ext/cargo-vendor/syn-3.0.9/src/thread.rs +60 -0
- data/ext/cargo-vendor/syn-3.0.9/src/token.rs +1103 -0
- data/ext/cargo-vendor/syn-3.0.9/src/tt.rs +97 -0
- data/ext/cargo-vendor/syn-3.0.9/src/ty.rs +1347 -0
- data/ext/cargo-vendor/syn-3.0.9/src/verbatim.rs +32 -0
- data/ext/cargo-vendor/syn-3.0.9/src/whitespace.rs +65 -0
- data/ext/cargo-vendor/syn-3.0.9/tests/common/eq.rs +939 -0
- data/ext/cargo-vendor/syn-3.0.9/tests/common/mod.rs +6 -0
- data/ext/cargo-vendor/syn-3.0.9/tests/common/parse.rs +51 -0
- data/ext/cargo-vendor/syn-3.0.9/tests/common/visit.rs +119 -0
- data/ext/cargo-vendor/syn-3.0.9/tests/debug/gen.rs +5394 -0
- data/ext/cargo-vendor/syn-3.0.9/tests/debug/mod.rs +147 -0
- data/ext/cargo-vendor/syn-3.0.9/tests/macros/mod.rs +7 -0
- data/ext/cargo-vendor/syn-3.0.9/tests/regression/issue1108.rs +5 -0
- data/ext/cargo-vendor/syn-3.0.9/tests/regression/issue1235.rs +32 -0
- data/ext/cargo-vendor/syn-3.0.9/tests/regression.rs +5 -0
- data/ext/cargo-vendor/syn-3.0.9/tests/repo/mod.rs +789 -0
- data/ext/cargo-vendor/syn-3.0.9/tests/repo/progress.rs +37 -0
- data/ext/cargo-vendor/syn-3.0.9/tests/snapshot/mod.rs +68 -0
- data/ext/cargo-vendor/syn-3.0.9/tests/test_attribute.rs +231 -0
- data/ext/cargo-vendor/syn-3.0.9/tests/test_derive_input.rs +801 -0
- data/ext/cargo-vendor/syn-3.0.9/tests/test_expr.rs +1721 -0
- data/ext/cargo-vendor/syn-3.0.9/tests/test_generics.rs +363 -0
- data/ext/cargo-vendor/syn-3.0.9/tests/test_grouping.rs +59 -0
- data/ext/cargo-vendor/syn-3.0.9/tests/test_ident.rs +87 -0
- data/ext/cargo-vendor/syn-3.0.9/tests/test_item.rs +374 -0
- data/ext/cargo-vendor/syn-3.0.9/tests/test_lit.rs +335 -0
- data/ext/cargo-vendor/syn-3.0.9/tests/test_meta.rs +180 -0
- data/ext/cargo-vendor/syn-3.0.9/tests/test_parse_buffer.rs +104 -0
- data/ext/cargo-vendor/syn-3.0.9/tests/test_parse_quote.rs +175 -0
- data/ext/cargo-vendor/syn-3.0.9/tests/test_parse_stream.rs +187 -0
- data/ext/cargo-vendor/syn-3.0.9/tests/test_pat.rs +158 -0
- data/ext/cargo-vendor/syn-3.0.9/tests/test_path.rs +117 -0
- data/ext/cargo-vendor/syn-3.0.9/tests/test_precedence.rs +560 -0
- data/ext/cargo-vendor/syn-3.0.9/tests/test_punctuated.rs +92 -0
- data/ext/cargo-vendor/syn-3.0.9/tests/test_receiver.rs +275 -0
- data/ext/cargo-vendor/syn-3.0.9/tests/test_round_trip.rs +226 -0
- data/ext/cargo-vendor/syn-3.0.9/tests/test_shebang.rs +77 -0
- data/ext/cargo-vendor/syn-3.0.9/tests/test_size.rs +54 -0
- data/ext/cargo-vendor/syn-3.0.9/tests/test_stmt.rs +378 -0
- data/ext/cargo-vendor/syn-3.0.9/tests/test_token_trees.rs +38 -0
- data/ext/cargo-vendor/syn-3.0.9/tests/test_ty.rs +479 -0
- data/ext/cargo-vendor/syn-3.0.9/tests/test_unparenthesize.rs +71 -0
- data/ext/cargo-vendor/syn-3.0.9/tests/test_visibility.rs +193 -0
- data/ext/cargo-vendor/syn-3.0.9/tests/zzz_stable.rs +33 -0
- data/ext/code_ownership/Cargo.toml +2 -2
- data/ext/code_ownership/src/lib.rs +15 -3
- data/lib/code_ownership/version.rb +1 -1
- data/lib/code_ownership.rb +4 -1
- metadata +739 -723
- data/ext/cargo-vendor/ahash-0.7.8/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/ahash-0.7.8/.cargo_vcs_info.json +0 -6
- data/ext/cargo-vendor/ahash-0.7.8/.github/workflows/rust.yml +0 -151
- data/ext/cargo-vendor/ahash-0.7.8/Cargo.toml +0 -149
- data/ext/cargo-vendor/ahash-0.7.8/Cargo.toml.orig +0 -96
- data/ext/cargo-vendor/ahash-0.7.8/FAQ.md +0 -118
- data/ext/cargo-vendor/ahash-0.7.8/LICENSE-APACHE +0 -201
- data/ext/cargo-vendor/ahash-0.7.8/LICENSE-MIT +0 -25
- data/ext/cargo-vendor/ahash-0.7.8/README.md +0 -110
- data/ext/cargo-vendor/ahash-0.7.8/build.rs +0 -47
- data/ext/cargo-vendor/ahash-0.7.8/rustfmt.toml +0 -1
- data/ext/cargo-vendor/ahash-0.7.8/src/aes_hash.rs +0 -440
- data/ext/cargo-vendor/ahash-0.7.8/src/convert.rs +0 -167
- data/ext/cargo-vendor/ahash-0.7.8/src/fallback_hash.rs +0 -392
- data/ext/cargo-vendor/ahash-0.7.8/src/hash_map.rs +0 -371
- data/ext/cargo-vendor/ahash-0.7.8/src/hash_quality_test.rs +0 -517
- data/ext/cargo-vendor/ahash-0.7.8/src/hash_set.rs +0 -313
- data/ext/cargo-vendor/ahash-0.7.8/src/lib.rs +0 -263
- data/ext/cargo-vendor/ahash-0.7.8/src/operations.rs +0 -330
- data/ext/cargo-vendor/ahash-0.7.8/src/random_state.rs +0 -363
- data/ext/cargo-vendor/ahash-0.7.8/src/specialize.rs +0 -239
- data/ext/cargo-vendor/ahash-0.7.8/tests/bench.rs +0 -154
- data/ext/cargo-vendor/ahash-0.7.8/tests/map_tests.rs +0 -203
- data/ext/cargo-vendor/ahash-0.7.8/tests/nopanic.rs +0 -72
- data/ext/cargo-vendor/bindgen-0.69.5/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/bindgen-0.69.5/.cargo_vcs_info.json +0 -6
- data/ext/cargo-vendor/bindgen-0.69.5/Cargo.toml +0 -155
- data/ext/cargo-vendor/bindgen-0.69.5/Cargo.toml.orig +0 -74
- data/ext/cargo-vendor/bindgen-0.69.5/README.md +0 -89
- data/ext/cargo-vendor/bindgen-0.69.5/build.rs +0 -29
- data/ext/cargo-vendor/bindgen-0.69.5/callbacks.rs +0 -213
- data/ext/cargo-vendor/bindgen-0.69.5/clang.rs +0 -2347
- data/ext/cargo-vendor/bindgen-0.69.5/codegen/bitfield_unit.rs +0 -102
- data/ext/cargo-vendor/bindgen-0.69.5/codegen/bitfield_unit_tests.rs +0 -260
- data/ext/cargo-vendor/bindgen-0.69.5/codegen/dyngen.rs +0 -201
- data/ext/cargo-vendor/bindgen-0.69.5/codegen/error.rs +0 -53
- data/ext/cargo-vendor/bindgen-0.69.5/codegen/helpers.rs +0 -355
- data/ext/cargo-vendor/bindgen-0.69.5/codegen/impl_debug.rs +0 -245
- data/ext/cargo-vendor/bindgen-0.69.5/codegen/impl_partialeq.rs +0 -142
- data/ext/cargo-vendor/bindgen-0.69.5/codegen/mod.rs +0 -5473
- data/ext/cargo-vendor/bindgen-0.69.5/codegen/postprocessing/merge_extern_blocks.rs +0 -72
- data/ext/cargo-vendor/bindgen-0.69.5/codegen/postprocessing/sort_semantically.rs +0 -46
- data/ext/cargo-vendor/bindgen-0.69.5/codegen/serialize.rs +0 -444
- data/ext/cargo-vendor/bindgen-0.69.5/codegen/struct_layout.rs +0 -451
- data/ext/cargo-vendor/bindgen-0.69.5/deps.rs +0 -61
- data/ext/cargo-vendor/bindgen-0.69.5/diagnostics.rs +0 -189
- data/ext/cargo-vendor/bindgen-0.69.5/extra_assertions.rs +0 -17
- data/ext/cargo-vendor/bindgen-0.69.5/features.rs +0 -296
- data/ext/cargo-vendor/bindgen-0.69.5/ir/analysis/derive.rs +0 -732
- data/ext/cargo-vendor/bindgen-0.69.5/ir/analysis/has_destructor.rs +0 -176
- data/ext/cargo-vendor/bindgen-0.69.5/ir/analysis/has_float.rs +0 -252
- data/ext/cargo-vendor/bindgen-0.69.5/ir/analysis/has_type_param_in_array.rs +0 -252
- data/ext/cargo-vendor/bindgen-0.69.5/ir/analysis/has_vtable.rs +0 -240
- data/ext/cargo-vendor/bindgen-0.69.5/ir/analysis/mod.rs +0 -400
- data/ext/cargo-vendor/bindgen-0.69.5/ir/analysis/sizedness.rs +0 -361
- data/ext/cargo-vendor/bindgen-0.69.5/ir/analysis/template_params.rs +0 -607
- data/ext/cargo-vendor/bindgen-0.69.5/ir/annotations.rs +0 -256
- data/ext/cargo-vendor/bindgen-0.69.5/ir/comment.rs +0 -100
- data/ext/cargo-vendor/bindgen-0.69.5/ir/comp.rs +0 -1896
- data/ext/cargo-vendor/bindgen-0.69.5/ir/context.rs +0 -3038
- data/ext/cargo-vendor/bindgen-0.69.5/ir/derive.rs +0 -135
- data/ext/cargo-vendor/bindgen-0.69.5/ir/dot.rs +0 -86
- data/ext/cargo-vendor/bindgen-0.69.5/ir/enum_ty.rs +0 -323
- data/ext/cargo-vendor/bindgen-0.69.5/ir/function.rs +0 -839
- data/ext/cargo-vendor/bindgen-0.69.5/ir/int.rs +0 -127
- data/ext/cargo-vendor/bindgen-0.69.5/ir/item.rs +0 -2034
- data/ext/cargo-vendor/bindgen-0.69.5/ir/item_kind.rs +0 -135
- data/ext/cargo-vendor/bindgen-0.69.5/ir/layout.rs +0 -138
- data/ext/cargo-vendor/bindgen-0.69.5/ir/module.rs +0 -96
- data/ext/cargo-vendor/bindgen-0.69.5/ir/objc.rs +0 -354
- data/ext/cargo-vendor/bindgen-0.69.5/ir/template.rs +0 -342
- data/ext/cargo-vendor/bindgen-0.69.5/ir/traversal.rs +0 -479
- data/ext/cargo-vendor/bindgen-0.69.5/ir/ty.rs +0 -1281
- data/ext/cargo-vendor/bindgen-0.69.5/ir/var.rs +0 -488
- data/ext/cargo-vendor/bindgen-0.69.5/lib.rs +0 -1380
- data/ext/cargo-vendor/bindgen-0.69.5/log_stubs.rs +0 -32
- data/ext/cargo-vendor/bindgen-0.69.5/options/as_args.rs +0 -52
- data/ext/cargo-vendor/bindgen-0.69.5/options/mod.rs +0 -2079
- data/ext/cargo-vendor/bindgen-0.69.5/regex_set.rs +0 -204
- data/ext/cargo-vendor/bindgen-0.69.5/time.rs +0 -52
- data/ext/cargo-vendor/codeowners-0.3.3/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/codeowners-0.3.3/.github/workflows/audit.yml +0 -19
- data/ext/cargo-vendor/codeowners-0.3.3/.github/workflows/ci.yml +0 -169
- data/ext/cargo-vendor/codeowners-0.3.3/Cargo.lock +0 -1264
- data/ext/cargo-vendor/codeowners-0.3.3/Cargo.toml +0 -132
- data/ext/cargo-vendor/codeowners-0.3.3/rust-toolchain.toml +0 -4
- data/ext/cargo-vendor/codeowners-0.3.3/src/cache/file.rs +0 -179
- data/ext/cargo-vendor/codeowners-0.3.3/src/cache/mod.rs +0 -29
- data/ext/cargo-vendor/codeowners-0.3.3/src/cache/noop.rs +0 -26
- data/ext/cargo-vendor/codeowners-0.3.3/src/cli.rs +0 -138
- data/ext/cargo-vendor/codeowners-0.3.3/src/main.rs +0 -43
- data/ext/cargo-vendor/codeowners-0.3.3/src/ownership/file_owner_resolver.rs +0 -416
- data/ext/cargo-vendor/codeowners-0.3.3/src/ownership/validator.rs +0 -285
- data/ext/cargo-vendor/codeowners-0.3.3/src/ownership.rs +0 -224
- data/ext/cargo-vendor/codeowners-0.3.3/src/project.rs +0 -232
- data/ext/cargo-vendor/codeowners-0.3.3/src/project_builder.rs +0 -404
- data/ext/cargo-vendor/codeowners-0.3.3/src/project_file_builder.rs +0 -113
- data/ext/cargo-vendor/codeowners-0.3.3/src/runner/api.rs +0 -142
- data/ext/cargo-vendor/codeowners-0.3.3/src/runner/types.rs +0 -38
- data/ext/cargo-vendor/codeowners-0.3.3/src/runner.rs +0 -483
- data/ext/cargo-vendor/codeowners-0.3.3/tests/common/mod.rs +0 -180
- data/ext/cargo-vendor/codeowners-0.3.3/tests/executable_name_config_test.rs +0 -88
- data/ext/cargo-vendor/codeowners-0.3.3/tests/fixtures/custom_codeowners_path/docs/CODEOWNERS +0 -14
- data/ext/cargo-vendor/codeowners-0.3.3/tests/fixtures/custom_codeowners_path/expected/CODEOWNERS +0 -14
- data/ext/cargo-vendor/codeowners-0.3.3/tests/fixtures/valid_project/.github/CODEOWNERS +0 -41
- data/ext/cargo-vendor/codeowners-0.3.3/tests/fixtures/valid_project_with_overrides/.github/CODEOWNERS +0 -53
- data/ext/cargo-vendor/codeowners-0.3.3/tests/invalid_project_test.rs +0 -174
- data/ext/cargo-vendor/codeowners-0.3.3/tests/valid_project_test.rs +0 -348
- data/ext/cargo-vendor/error-stack-0.5.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/error-stack-0.5.0/.cargo_vcs_info.json +0 -6
- data/ext/cargo-vendor/error-stack-0.5.0/.justfile +0 -58
- data/ext/cargo-vendor/error-stack-0.5.0/CHANGELOG.md +0 -109
- data/ext/cargo-vendor/error-stack-0.5.0/Cargo.lock +0 -790
- data/ext/cargo-vendor/error-stack-0.5.0/Cargo.toml +0 -334
- data/ext/cargo-vendor/error-stack-0.5.0/Cargo.toml.orig +0 -87
- data/ext/cargo-vendor/error-stack-0.5.0/README.md +0 -151
- data/ext/cargo-vendor/error-stack-0.5.0/build.rs +0 -29
- data/ext/cargo-vendor/error-stack-0.5.0/examples/demo.rs +0 -115
- data/ext/cargo-vendor/error-stack-0.5.0/examples/detect.rs +0 -68
- data/ext/cargo-vendor/error-stack-0.5.0/examples/exit_code.rs +0 -24
- data/ext/cargo-vendor/error-stack-0.5.0/examples/parse_config.rs +0 -51
- data/ext/cargo-vendor/error-stack-0.5.0/rust-toolchain.toml +0 -4
- data/ext/cargo-vendor/error-stack-0.5.0/src/compat/anyhow.rs +0 -34
- data/ext/cargo-vendor/error-stack-0.5.0/src/compat/eyre.rs +0 -31
- data/ext/cargo-vendor/error-stack-0.5.0/src/compat/mod.rs +0 -36
- data/ext/cargo-vendor/error-stack-0.5.0/src/context.rs +0 -132
- data/ext/cargo-vendor/error-stack-0.5.0/src/error.rs +0 -47
- data/ext/cargo-vendor/error-stack-0.5.0/src/fmt/charset.rs +0 -114
- data/ext/cargo-vendor/error-stack-0.5.0/src/fmt/color.rs +0 -330
- data/ext/cargo-vendor/error-stack-0.5.0/src/fmt/config.rs +0 -67
- data/ext/cargo-vendor/error-stack-0.5.0/src/fmt/hook.rs +0 -545
- data/ext/cargo-vendor/error-stack-0.5.0/src/fmt/location.rs +0 -33
- data/ext/cargo-vendor/error-stack-0.5.0/src/fmt/mod.rs +0 -1177
- data/ext/cargo-vendor/error-stack-0.5.0/src/frame/frame_impl.rs +0 -262
- data/ext/cargo-vendor/error-stack-0.5.0/src/frame/kind.rs +0 -37
- data/ext/cargo-vendor/error-stack-0.5.0/src/frame/mod.rs +0 -122
- data/ext/cargo-vendor/error-stack-0.5.0/src/future.rs +0 -307
- data/ext/cargo-vendor/error-stack-0.5.0/src/hook/context.rs +0 -365
- data/ext/cargo-vendor/error-stack-0.5.0/src/hook/mod.rs +0 -239
- data/ext/cargo-vendor/error-stack-0.5.0/src/iter.rs +0 -269
- data/ext/cargo-vendor/error-stack-0.5.0/src/lib.rs +0 -545
- data/ext/cargo-vendor/error-stack-0.5.0/src/macros.rs +0 -253
- data/ext/cargo-vendor/error-stack-0.5.0/src/report.rs +0 -740
- data/ext/cargo-vendor/error-stack-0.5.0/src/result.rs +0 -267
- data/ext/cargo-vendor/error-stack-0.5.0/src/serde.rs +0 -154
- data/ext/cargo-vendor/error-stack-0.5.0/tests/common.rs +0 -342
- data/ext/cargo-vendor/error-stack-0.5.0/tests/compiletest.rs +0 -7
- data/ext/cargo-vendor/error-stack-0.5.0/tests/snapshots/doc/fmt__charset_ascii.snap +0 -9
- data/ext/cargo-vendor/error-stack-0.5.0/tests/snapshots/doc/fmt__charset_utf8.snap +0 -9
- data/ext/cargo-vendor/error-stack-0.5.0/tests/snapshots/doc/fmt__diagnostics_add.snap +0 -10
- data/ext/cargo-vendor/error-stack-0.5.0/tests/snapshots/doc/fmt__doc.snap +0 -12
- data/ext/cargo-vendor/error-stack-0.5.0/tests/snapshots/doc/fmt__emit.snap +0 -16
- data/ext/cargo-vendor/error-stack-0.5.0/tests/snapshots/doc/fmt__emit_alt.snap +0 -28
- data/ext/cargo-vendor/error-stack-0.5.0/tests/snapshots/doc/fmt__hookcontext_cast.snap +0 -11
- data/ext/cargo-vendor/error-stack-0.5.0/tests/snapshots/doc/fmt__hookcontext_decrement.snap +0 -10
- data/ext/cargo-vendor/error-stack-0.5.0/tests/snapshots/doc/fmt__hookcontext_emit.snap +0 -16
- data/ext/cargo-vendor/error-stack-0.5.0/tests/snapshots/doc/fmt__hookcontext_increment.snap +0 -10
- data/ext/cargo-vendor/error-stack-0.5.0/tests/snapshots/doc/fmt__hookcontext_storage.snap +0 -10
- data/ext/cargo-vendor/error-stack-0.5.0/tests/snapshots/doc/fmt__preference_color.snap +0 -9
- data/ext/cargo-vendor/error-stack-0.5.0/tests/snapshots/doc/fmt__preference_emphasis.snap +0 -9
- data/ext/cargo-vendor/error-stack-0.5.0/tests/snapshots/doc/fmt__preference_none.snap +0 -9
- data/ext/cargo-vendor/error-stack-0.5.0/tests/snapshots/doc/fmt_doc_alt.snap +0 -15
- data/ext/cargo-vendor/error-stack-0.5.0/tests/snapshots/doc/hook__debug_hook.snap +0 -9
- data/ext/cargo-vendor/error-stack-0.5.0/tests/snapshots/doc/hook__debug_hook_provide.snap +0 -10
- data/ext/cargo-vendor/error-stack-0.5.0/tests/snapshots/doc/lib__suggestion.snap +0 -13
- data/ext/cargo-vendor/error-stack-0.5.0/tests/snapshots/doc/report_debug__doc.snap +0 -14
- data/ext/cargo-vendor/error-stack-0.5.0/tests/snapshots/test_debug__full__complex.snap +0 -49
- data/ext/cargo-vendor/error-stack-0.5.0/tests/snapshots/test_debug__full__hook_location.snap +0 -15
- data/ext/cargo-vendor/error-stack-0.5.0/tests/snapshots/test_debug__full__linear.snap +0 -27
- data/ext/cargo-vendor/error-stack-0.5.0/tests/snapshots/test_debug__full__linear_ext.snap +0 -27
- data/ext/cargo-vendor/error-stack-0.5.0/tests/snapshots/test_debug__full__multiline_context.snap +0 -25
- data/ext/cargo-vendor/error-stack-0.5.0/tests/snapshots/test_debug__full__sources.snap +0 -48
- data/ext/cargo-vendor/error-stack-0.5.0/tests/snapshots/test_debug__full__sources_transparent.snap +0 -50
- data/ext/cargo-vendor/error-stack-0.5.0/tests/snapshots/test_debug__sources_nested.snap +0 -78
- data/ext/cargo-vendor/error-stack-0.5.0/tests/snapshots/test_debug__sources_nested@backtrace.snap +0 -104
- data/ext/cargo-vendor/error-stack-0.5.0/tests/snapshots/test_debug__sources_nested@spantrace-backtrace.snap +0 -128
- data/ext/cargo-vendor/error-stack-0.5.0/tests/snapshots/test_debug__sources_nested@spantrace.snap +0 -104
- data/ext/cargo-vendor/error-stack-0.5.0/tests/snapshots/test_debug__sources_nested_alternate.snap +0 -78
- data/ext/cargo-vendor/error-stack-0.5.0/tests/snapshots/test_debug__sources_nested_alternate@backtrace.snap +0 -104
- data/ext/cargo-vendor/error-stack-0.5.0/tests/snapshots/test_debug__sources_nested_alternate@spantrace-backtrace.snap +0 -128
- data/ext/cargo-vendor/error-stack-0.5.0/tests/snapshots/test_debug__sources_nested_alternate@spantrace.snap +0 -104
- data/ext/cargo-vendor/error-stack-0.5.0/tests/snapshots/test_serialize__attachment.snap +0 -13
- data/ext/cargo-vendor/error-stack-0.5.0/tests/snapshots/test_serialize__context.snap +0 -19
- data/ext/cargo-vendor/error-stack-0.5.0/tests/snapshots/test_serialize__multiple_sources.snap +0 -30
- data/ext/cargo-vendor/error-stack-0.5.0/tests/snapshots/test_serialize__multiple_sources_at_root.snap +0 -20
- data/ext/cargo-vendor/error-stack-0.5.0/tests/test_attach.rs +0 -68
- data/ext/cargo-vendor/error-stack-0.5.0/tests/test_attach_printable.rs +0 -74
- data/ext/cargo-vendor/error-stack-0.5.0/tests/test_backtrace.rs +0 -62
- data/ext/cargo-vendor/error-stack-0.5.0/tests/test_change_context.rs +0 -68
- data/ext/cargo-vendor/error-stack-0.5.0/tests/test_compatibility.rs +0 -233
- data/ext/cargo-vendor/error-stack-0.5.0/tests/test_conversion.rs +0 -112
- data/ext/cargo-vendor/error-stack-0.5.0/tests/test_debug.rs +0 -628
- data/ext/cargo-vendor/error-stack-0.5.0/tests/test_display.rs +0 -32
- data/ext/cargo-vendor/error-stack-0.5.0/tests/test_downcast.rs +0 -41
- data/ext/cargo-vendor/error-stack-0.5.0/tests/test_extend.rs +0 -78
- data/ext/cargo-vendor/error-stack-0.5.0/tests/test_frame.rs +0 -126
- data/ext/cargo-vendor/error-stack-0.5.0/tests/test_iter.rs +0 -99
- data/ext/cargo-vendor/error-stack-0.5.0/tests/test_macros.rs +0 -94
- data/ext/cargo-vendor/error-stack-0.5.0/tests/test_provision.rs +0 -51
- data/ext/cargo-vendor/error-stack-0.5.0/tests/test_serialize.rs +0 -70
- data/ext/cargo-vendor/error-stack-0.5.0/tests/test_span_trace.rs +0 -92
- data/ext/cargo-vendor/error-stack-0.5.0/tests/ui/macro_invalid_args.rs +0 -60
- data/ext/cargo-vendor/error-stack-0.5.0/tests/ui/macro_invalid_args.stderr +0 -101
- data/ext/cargo-vendor/error-stack-0.5.0/tests/ui/must_use.rs +0 -20
- data/ext/cargo-vendor/error-stack-0.5.0/tests/ui/must_use.stderr +0 -15
- data/ext/cargo-vendor/getrandom-0.2.16/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/getrandom-0.2.16/.cargo_vcs_info.json +0 -6
- data/ext/cargo-vendor/getrandom-0.2.16/CHANGELOG.md +0 -498
- data/ext/cargo-vendor/getrandom-0.2.16/Cargo.lock +0 -354
- data/ext/cargo-vendor/getrandom-0.2.16/Cargo.toml +0 -121
- data/ext/cargo-vendor/getrandom-0.2.16/Cargo.toml.orig +0 -67
- data/ext/cargo-vendor/getrandom-0.2.16/LICENSE-APACHE +0 -201
- data/ext/cargo-vendor/getrandom-0.2.16/LICENSE-MIT +0 -26
- data/ext/cargo-vendor/getrandom-0.2.16/README.md +0 -81
- data/ext/cargo-vendor/getrandom-0.2.16/SECURITY.md +0 -13
- data/ext/cargo-vendor/getrandom-0.2.16/benches/buffer.rs +0 -71
- data/ext/cargo-vendor/getrandom-0.2.16/src/apple-other.rs +0 -24
- data/ext/cargo-vendor/getrandom-0.2.16/src/custom.rs +0 -105
- data/ext/cargo-vendor/getrandom-0.2.16/src/error.rs +0 -189
- data/ext/cargo-vendor/getrandom-0.2.16/src/error_impls.rs +0 -15
- data/ext/cargo-vendor/getrandom-0.2.16/src/espidf.rs +0 -18
- data/ext/cargo-vendor/getrandom-0.2.16/src/fuchsia.rs +0 -13
- data/ext/cargo-vendor/getrandom-0.2.16/src/getentropy.rs +0 -21
- data/ext/cargo-vendor/getrandom-0.2.16/src/getrandom.rs +0 -25
- data/ext/cargo-vendor/getrandom-0.2.16/src/hermit.rs +0 -29
- data/ext/cargo-vendor/getrandom-0.2.16/src/js.rs +0 -155
- data/ext/cargo-vendor/getrandom-0.2.16/src/lazy.rs +0 -56
- data/ext/cargo-vendor/getrandom-0.2.16/src/lib.rs +0 -407
- data/ext/cargo-vendor/getrandom-0.2.16/src/linux_android.rs +0 -7
- data/ext/cargo-vendor/getrandom-0.2.16/src/linux_android_with_fallback.rs +0 -33
- data/ext/cargo-vendor/getrandom-0.2.16/src/netbsd.rs +0 -46
- data/ext/cargo-vendor/getrandom-0.2.16/src/rdrand.rs +0 -121
- data/ext/cargo-vendor/getrandom-0.2.16/src/solaris.rs +0 -34
- data/ext/cargo-vendor/getrandom-0.2.16/src/solid.rs +0 -18
- data/ext/cargo-vendor/getrandom-0.2.16/src/use_file.rs +0 -120
- data/ext/cargo-vendor/getrandom-0.2.16/src/util.rs +0 -35
- data/ext/cargo-vendor/getrandom-0.2.16/src/util_libc.rs +0 -162
- data/ext/cargo-vendor/getrandom-0.2.16/src/vxworks.rs +0 -29
- data/ext/cargo-vendor/getrandom-0.2.16/src/wasi.rs +0 -17
- data/ext/cargo-vendor/getrandom-0.2.16/src/windows.rs +0 -59
- data/ext/cargo-vendor/getrandom-0.2.16/tests/common/mod.rs +0 -100
- data/ext/cargo-vendor/getrandom-0.2.16/tests/custom.rs +0 -54
- data/ext/cargo-vendor/getrandom-0.2.16/tests/normal.rs +0 -11
- data/ext/cargo-vendor/getrandom-0.2.16/tests/rdrand.rs +0 -22
- data/ext/cargo-vendor/hashbrown-0.12.3/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/hashbrown-0.12.3/.cargo_vcs_info.json +0 -6
- data/ext/cargo-vendor/hashbrown-0.12.3/CHANGELOG.md +0 -402
- data/ext/cargo-vendor/hashbrown-0.12.3/Cargo.toml +0 -113
- data/ext/cargo-vendor/hashbrown-0.12.3/Cargo.toml.orig +0 -60
- data/ext/cargo-vendor/hashbrown-0.12.3/LICENSE-APACHE +0 -201
- data/ext/cargo-vendor/hashbrown-0.12.3/LICENSE-MIT +0 -25
- data/ext/cargo-vendor/hashbrown-0.12.3/README.md +0 -126
- data/ext/cargo-vendor/hashbrown-0.12.3/benches/bench.rs +0 -331
- data/ext/cargo-vendor/hashbrown-0.12.3/benches/insert_unique_unchecked.rs +0 -32
- data/ext/cargo-vendor/hashbrown-0.12.3/clippy.toml +0 -1
- data/ext/cargo-vendor/hashbrown-0.12.3/src/external_trait_impls/mod.rs +0 -4
- data/ext/cargo-vendor/hashbrown-0.12.3/src/external_trait_impls/rayon/helpers.rs +0 -27
- data/ext/cargo-vendor/hashbrown-0.12.3/src/external_trait_impls/rayon/map.rs +0 -734
- data/ext/cargo-vendor/hashbrown-0.12.3/src/external_trait_impls/rayon/mod.rs +0 -4
- data/ext/cargo-vendor/hashbrown-0.12.3/src/external_trait_impls/rayon/raw.rs +0 -231
- data/ext/cargo-vendor/hashbrown-0.12.3/src/external_trait_impls/rayon/set.rs +0 -659
- data/ext/cargo-vendor/hashbrown-0.12.3/src/external_trait_impls/serde.rs +0 -201
- data/ext/cargo-vendor/hashbrown-0.12.3/src/lib.rs +0 -150
- data/ext/cargo-vendor/hashbrown-0.12.3/src/macros.rs +0 -70
- data/ext/cargo-vendor/hashbrown-0.12.3/src/map.rs +0 -8408
- data/ext/cargo-vendor/hashbrown-0.12.3/src/raw/alloc.rs +0 -73
- data/ext/cargo-vendor/hashbrown-0.12.3/src/raw/bitmask.rs +0 -122
- data/ext/cargo-vendor/hashbrown-0.12.3/src/raw/generic.rs +0 -154
- data/ext/cargo-vendor/hashbrown-0.12.3/src/raw/mod.rs +0 -2460
- data/ext/cargo-vendor/hashbrown-0.12.3/src/raw/sse2.rs +0 -146
- data/ext/cargo-vendor/hashbrown-0.12.3/src/rustc_entry.rs +0 -630
- data/ext/cargo-vendor/hashbrown-0.12.3/src/scopeguard.rs +0 -74
- data/ext/cargo-vendor/hashbrown-0.12.3/src/set.rs +0 -2790
- data/ext/cargo-vendor/hashbrown-0.12.3/tests/hasher.rs +0 -65
- data/ext/cargo-vendor/hashbrown-0.12.3/tests/rayon.rs +0 -533
- data/ext/cargo-vendor/hashbrown-0.12.3/tests/serde.rs +0 -65
- data/ext/cargo-vendor/hashbrown-0.12.3/tests/set.rs +0 -34
- data/ext/cargo-vendor/lazycell-1.3.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/lazycell-1.3.0/.cargo_vcs_info.json +0 -5
- data/ext/cargo-vendor/lazycell-1.3.0/CHANGELOG.md +0 -197
- data/ext/cargo-vendor/lazycell-1.3.0/Cargo.toml +0 -34
- data/ext/cargo-vendor/lazycell-1.3.0/Cargo.toml.orig +0 -27
- data/ext/cargo-vendor/lazycell-1.3.0/LICENSE-APACHE +0 -201
- data/ext/cargo-vendor/lazycell-1.3.0/LICENSE-MIT +0 -26
- data/ext/cargo-vendor/lazycell-1.3.0/README.md +0 -73
- data/ext/cargo-vendor/lazycell-1.3.0/src/lib.rs +0 -680
- data/ext/cargo-vendor/lazycell-1.3.0/src/serde_impl.rs +0 -86
- data/ext/cargo-vendor/lru-0.7.8/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/lru-0.7.8/.cargo_vcs_info.json +0 -6
- data/ext/cargo-vendor/lru-0.7.8/.github/workflows/main.yml +0 -54
- data/ext/cargo-vendor/lru-0.7.8/CHANGELOG.md +0 -194
- data/ext/cargo-vendor/lru-0.7.8/Cargo.toml +0 -42
- data/ext/cargo-vendor/lru-0.7.8/Cargo.toml.orig +0 -22
- data/ext/cargo-vendor/lru-0.7.8/LICENSE +0 -21
- data/ext/cargo-vendor/lru-0.7.8/README.md +0 -62
- data/ext/cargo-vendor/lru-0.7.8/src/lib.rs +0 -1872
- data/ext/cargo-vendor/rb-sys-0.9.117/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/rb-sys-0.9.117/.cargo_vcs_info.json +0 -6
- data/ext/cargo-vendor/rb-sys-0.9.117/Cargo.lock +0 -393
- data/ext/cargo-vendor/rb-sys-0.9.117/Cargo.toml +0 -70
- data/ext/cargo-vendor/rb-sys-0.9.117/Cargo.toml.orig +0 -57
- data/ext/cargo-vendor/rb-sys-0.9.117/build/main.rs +0 -286
- data/ext/cargo-vendor/rb-sys-0.9.117/build/stable_api_config.rs +0 -155
- data/ext/cargo-vendor/rb-sys-0.9.117/build/version.rs +0 -50
- data/ext/cargo-vendor/rb-sys-0.9.117/src/bindings.rs +0 -21
- data/ext/cargo-vendor/rb-sys-0.9.117/src/macros.rs +0 -371
- data/ext/cargo-vendor/rb-sys-0.9.117/src/memory.rs +0 -53
- data/ext/cargo-vendor/rb-sys-0.9.117/src/stable_api/compiled.c +0 -179
- data/ext/cargo-vendor/rb-sys-0.9.117/src/stable_api/compiled.rs +0 -257
- data/ext/cargo-vendor/rb-sys-0.9.117/src/stable_api/ruby_2_6.rs +0 -324
- data/ext/cargo-vendor/rb-sys-0.9.117/src/stable_api/ruby_2_7.rs +0 -324
- data/ext/cargo-vendor/rb-sys-0.9.117/src/stable_api/ruby_3_0.rs +0 -332
- data/ext/cargo-vendor/rb-sys-0.9.117/src/stable_api/ruby_3_1.rs +0 -325
- data/ext/cargo-vendor/rb-sys-0.9.117/src/stable_api/ruby_3_2.rs +0 -323
- data/ext/cargo-vendor/rb-sys-0.9.117/src/stable_api/ruby_3_3.rs +0 -339
- data/ext/cargo-vendor/rb-sys-0.9.117/src/stable_api/ruby_3_4.rs +0 -339
- data/ext/cargo-vendor/rb-sys-0.9.117/src/stable_api.rs +0 -261
- data/ext/cargo-vendor/rb-sys-0.9.117/src/utils.rs +0 -89
- data/ext/cargo-vendor/rb-sys-build-0.9.117/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/rb-sys-build-0.9.117/.cargo_vcs_info.json +0 -6
- data/ext/cargo-vendor/rb-sys-build-0.9.117/Cargo.lock +0 -294
- data/ext/cargo-vendor/rb-sys-build-0.9.117/Cargo.toml +0 -71
- data/ext/cargo-vendor/rb-sys-build-0.9.117/Cargo.toml.orig +0 -32
- data/ext/cargo-vendor/rb-sys-build-0.9.117/src/bindings/stable_api.rs +0 -206
- data/ext/cargo-vendor/rb-sys-build-0.9.117/src/bindings.rs +0 -286
- data/ext/cargo-vendor/rb-sys-build-0.9.117/src/cc.rs +0 -421
- data/ext/cargo-vendor/rb-sys-build-0.9.117/src/rb_config.rs +0 -863
- data/ext/cargo-vendor/rb-sys-env-0.2.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/rb-sys-env-0.2.2/.cargo_vcs_info.json +0 -6
- data/ext/cargo-vendor/rb-sys-env-0.2.2/Cargo.toml +0 -33
- data/ext/cargo-vendor/rb-sys-env-0.2.2/Cargo.toml.orig +0 -14
- data/ext/cargo-vendor/rb-sys-env-0.2.2/readme.md +0 -119
- data/ext/cargo-vendor/rb-sys-env-0.2.2/src/ruby_version.rs +0 -163
- data/ext/cargo-vendor/rustc-hash-1.1.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/rustc-hash-1.1.0/.cargo_vcs_info.json +0 -5
- data/ext/cargo-vendor/rustc-hash-1.1.0/CODE_OF_CONDUCT.md +0 -40
- data/ext/cargo-vendor/rustc-hash-1.1.0/Cargo.toml +0 -25
- data/ext/cargo-vendor/rustc-hash-1.1.0/Cargo.toml.orig +0 -13
- data/ext/cargo-vendor/rustc-hash-1.1.0/LICENSE-APACHE +0 -201
- data/ext/cargo-vendor/rustc-hash-1.1.0/README.md +0 -38
- data/ext/cargo-vendor/rustc-hash-1.1.0/src/lib.rs +0 -148
- data/ext/cargo-vendor/serde-1.0.228/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/serde-1.0.228/.cargo_vcs_info.json +0 -6
- data/ext/cargo-vendor/serde-1.0.228/Cargo.lock +0 -66
- data/ext/cargo-vendor/serde-1.0.228/Cargo.toml +0 -84
- data/ext/cargo-vendor/serde-1.0.228/Cargo.toml.orig +0 -62
- data/ext/cargo-vendor/serde-1.0.228/README.md +0 -114
- data/ext/cargo-vendor/serde-1.0.228/build.rs +0 -69
- data/ext/cargo-vendor/serde-1.0.228/src/core/de/impls.rs +0 -3173
- data/ext/cargo-vendor/serde-1.0.228/src/core/lib.rs +0 -121
- data/ext/cargo-vendor/serde-1.0.228/src/lib.rs +0 -285
- data/ext/cargo-vendor/serde_core-1.0.228/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/serde_core-1.0.228/.cargo_vcs_info.json +0 -6
- data/ext/cargo-vendor/serde_core-1.0.228/Cargo.lock +0 -63
- data/ext/cargo-vendor/serde_core-1.0.228/Cargo.toml +0 -87
- data/ext/cargo-vendor/serde_core-1.0.228/Cargo.toml.orig +0 -70
- data/ext/cargo-vendor/serde_core-1.0.228/build.rs +0 -113
- data/ext/cargo-vendor/serde_core-1.0.228/src/de/impls.rs +0 -3173
- data/ext/cargo-vendor/serde_core-1.0.228/src/lib.rs +0 -121
- data/ext/cargo-vendor/serde_derive-1.0.228/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/serde_derive-1.0.228/.cargo_vcs_info.json +0 -6
- data/ext/cargo-vendor/serde_derive-1.0.228/Cargo.lock +0 -77
- data/ext/cargo-vendor/serde_derive-1.0.228/Cargo.toml +0 -87
- data/ext/cargo-vendor/serde_derive-1.0.228/Cargo.toml.orig +0 -42
- data/ext/cargo-vendor/serde_derive-1.0.228/README.md +0 -114
- data/ext/cargo-vendor/serde_derive-1.0.228/src/bound.rs +0 -410
- data/ext/cargo-vendor/serde_derive-1.0.228/src/de/enum_adjacently.rs +0 -323
- data/ext/cargo-vendor/serde_derive-1.0.228/src/de/enum_externally.rs +0 -212
- data/ext/cargo-vendor/serde_derive-1.0.228/src/de.rs +0 -973
- data/ext/cargo-vendor/serde_derive-1.0.228/src/internals/ast.rs +0 -218
- data/ext/cargo-vendor/serde_derive-1.0.228/src/internals/attr.rs +0 -1831
- data/ext/cargo-vendor/serde_derive-1.0.228/src/internals/ctxt.rs +0 -68
- data/ext/cargo-vendor/serde_derive-1.0.228/src/internals/receiver.rs +0 -293
- data/ext/cargo-vendor/serde_derive-1.0.228/src/lib.rs +0 -127
- data/ext/cargo-vendor/serde_derive-1.0.228/src/pretend.rs +0 -188
- data/ext/cargo-vendor/serde_derive-1.0.228/src/ser.rs +0 -1369
- data/ext/cargo-vendor/serde_magnus-0.10.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/serde_magnus-0.10.0/.cargo_vcs_info.json +0 -6
- data/ext/cargo-vendor/serde_magnus-0.10.0/Cargo.lock +0 -387
- data/ext/cargo-vendor/serde_magnus-0.10.0/Cargo.toml +0 -162
- data/ext/cargo-vendor/serde_magnus-0.10.0/Cargo.toml.orig +0 -28
- data/ext/cargo-vendor/serde_magnus-0.10.0/README.md +0 -121
- data/ext/cargo-vendor/serde_magnus-0.10.0/src/de/deserializer.rs +0 -185
- data/ext/cargo-vendor/version_check-0.9.5/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/version_check-0.9.5/.cargo_vcs_info.json +0 -6
- data/ext/cargo-vendor/version_check-0.9.5/.github/workflows/ci.yml +0 -42
- data/ext/cargo-vendor/version_check-0.9.5/.travis.yml +0 -6
- data/ext/cargo-vendor/version_check-0.9.5/Cargo.toml +0 -38
- data/ext/cargo-vendor/version_check-0.9.5/Cargo.toml.orig +0 -13
- data/ext/cargo-vendor/version_check-0.9.5/LICENSE-APACHE +0 -201
- data/ext/cargo-vendor/version_check-0.9.5/LICENSE-MIT +0 -19
- data/ext/cargo-vendor/version_check-0.9.5/README.md +0 -80
- data/ext/cargo-vendor/version_check-0.9.5/src/channel.rs +0 -195
- data/ext/cargo-vendor/version_check-0.9.5/src/date.rs +0 -203
- data/ext/cargo-vendor/version_check-0.9.5/src/lib.rs +0 -528
- data/ext/cargo-vendor/version_check-0.9.5/src/version.rs +0 -316
- data/ext/cargo-vendor/wasi-0.11.1+wasi-snapshot-preview1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasi-0.11.1+wasi-snapshot-preview1/.cargo_vcs_info.json +0 -6
- data/ext/cargo-vendor/wasi-0.11.1+wasi-snapshot-preview1/.github/workflows/main.yml +0 -44
- data/ext/cargo-vendor/wasi-0.11.1+wasi-snapshot-preview1/.gitmodules +0 -3
- data/ext/cargo-vendor/wasi-0.11.1+wasi-snapshot-preview1/CODE_OF_CONDUCT.md +0 -49
- data/ext/cargo-vendor/wasi-0.11.1+wasi-snapshot-preview1/CONTRIBUTING.md +0 -8
- data/ext/cargo-vendor/wasi-0.11.1+wasi-snapshot-preview1/Cargo.lock +0 -23
- data/ext/cargo-vendor/wasi-0.11.1+wasi-snapshot-preview1/Cargo.toml +0 -59
- data/ext/cargo-vendor/wasi-0.11.1+wasi-snapshot-preview1/Cargo.toml.orig +0 -29
- data/ext/cargo-vendor/wasi-0.11.1+wasi-snapshot-preview1/LICENSE-APACHE +0 -201
- data/ext/cargo-vendor/wasi-0.11.1+wasi-snapshot-preview1/LICENSE-Apache-2.0_WITH_LLVM-exception +0 -220
- data/ext/cargo-vendor/wasi-0.11.1+wasi-snapshot-preview1/LICENSE-MIT +0 -23
- data/ext/cargo-vendor/wasi-0.11.1+wasi-snapshot-preview1/ORG_CODE_OF_CONDUCT.md +0 -143
- data/ext/cargo-vendor/wasi-0.11.1+wasi-snapshot-preview1/README.md +0 -94
- data/ext/cargo-vendor/wasi-0.11.1+wasi-snapshot-preview1/SECURITY.md +0 -29
- data/ext/cargo-vendor/wasi-0.11.1+wasi-snapshot-preview1/src/lib.rs +0 -47
- data/ext/cargo-vendor/wasi-0.11.1+wasi-snapshot-preview1/src/lib_generated.rs +0 -2366
- /data/ext/cargo-vendor/{bindgen-0.69.5 → bindgen-0.72.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{bindgen-0.69.5 → bindgen-0.72.1}/codegen/postprocessing/mod.rs +0 -0
- /data/ext/cargo-vendor/{bindgen-0.69.5 → bindgen-0.72.1}/ir/mod.rs +0 -0
- /data/ext/cargo-vendor/{bindgen-0.69.5 → bindgen-0.72.1}/options/helpers.rs +0 -0
- /data/ext/cargo-vendor/{bindgen-0.69.5 → bindgen-0.72.1}/parse.rs +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/.github/CODEOWNERS +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/.github/workflows/dotslash-config.json +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/.rustfmt.toml +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/.rusty-hook.toml +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/AGENTS.md +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/CLAUDE.md +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/README.md +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/dev/run_benchmarks_for_file.sh +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/dev/run_benchmarks_for_gv.sh +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/src/common_test.rs +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/src/config.rs +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/src/crosscheck.rs +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/src/ownership/codeowners_file_parser.rs +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/src/ownership/codeowners_query.rs +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/src/ownership/file_generator.rs +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/src/ownership/file_owner_finder.rs +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/src/ownership/mapper/annotated_file_mapper.rs +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/src/ownership/mapper/directory_mapper.rs +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/src/ownership/mapper/escaper.rs +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/src/ownership/mapper/package_mapper.rs +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/src/ownership/mapper/team_gem_mapper.rs +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/src/ownership/mapper/team_glob_mapper.rs +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/src/ownership/mapper/team_yml_mapper.rs +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/src/ownership/mapper.rs +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/src/path_utils.rs +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/src/tracked_files.rs +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/cache_test.rs +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/codeowners_path_test.rs +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/crosscheck_owners_test.rs +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/custom_codeowners_path/config/code_ownership.yml +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/custom_codeowners_path/config/teams/test_team.yml +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/custom_codeowners_path/ruby/app/models/test.rb +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/custom_executable_name/.github/CODEOWNERS +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/custom_executable_name/app/foo.rb +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/custom_executable_name/config/code_ownership.yml +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/custom_executable_name/config/teams/foo.yml +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/custom_executable_name/config/teams/payments.yml +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/custom_executable_name/ruby/app/payments/foo.rb +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/default_executable_name/.github/CODEOWNERS +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/default_executable_name/app/bar.rb +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/default_executable_name/config/code_ownership.yml +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/default_executable_name/config/teams/bar.yml +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3/tests/fixtures/multiple-directory-owners/app/services → codeowners-0.5.0/tests/fixtures/directory-codeowner-github-team/app/by_name}/.codeowner +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3/tests/fixtures/multiple-directory-owners → codeowners-0.5.0/tests/fixtures/directory-codeowner-github-team}/config/code_ownership.yml +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3/tests/fixtures/multiple-directory-owners → codeowners-0.5.0/tests/fixtures/directory-codeowner-github-team}/config/teams/foo.yml +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/invalid_project/.github/CODEOWNERS +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/invalid_project/config/code_ownership.yml +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/invalid_project/config/teams/payments.yml +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/invalid_project/config/teams/payroll.yml +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/invalid_project/gems/payroll_calculator/calculator.rb +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/invalid_project/ruby/app/models/bank_account.rb +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/invalid_project/ruby/app/models/blockchain.rb +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/invalid_project/ruby/app/models/payroll.rb +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/invalid_project/ruby/app/payments/nacha.rb +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/invalid_project/ruby/app/services/.codeowner +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/invalid_project/ruby/app/services/multi_owned.rb +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/invalid_project/ruby/app/unowned.rb +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/invalid_project/ruby/packages/payroll_flow/package.yml +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/javascript_only_project/.github/CODEOWNERS +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/javascript_only_project/.keep +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/javascript_only_project/config/code_ownership.yml +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/javascript_only_project/config/teams/design.yml +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/javascript_only_project/config/teams/frontend.yml +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/javascript_only_project/frontend/apps/public/index.tsx +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/javascript_only_project/frontend/packages/dashboard/package.json +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/javascript_only_project/frontend/packages/dashboard/src/index.tsx +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/javascript_only_project/frontend/packages/ui-kit/.codeowner +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/javascript_only_project/frontend/packages/ui-kit/src/button.tsx +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/missing_github_team/.github/CODEOWNERS +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/missing_github_team/config/code_ownership.yml +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/missing_github_team/config/teams/bad_team.yml +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/missing_github_team/config/teams/good.yml +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/missing_github_team/gems/pets/dog.rb +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/multiple-directory-owners/.github/CODEOWNERS +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/multiple-directory-owners/app/consumers/.codeowner +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/multiple-directory-owners/app/consumers/deep/nesting/nestdir/deep_file.rb +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/multiple-directory-owners/app/consumers/one_owner.rb +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/multiple-directory-owners/app/services/exciting/.codeowner +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/multiple-directory-owners/app/services/exciting/some_other_file.rb +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/multiple-directory-owners/config/teams/bar.yml +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/valid_project/.ignore +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/valid_project/config/code_ownership.yml +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/valid_project/config/teams/payments.yml +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/valid_project/config/teams/payroll.yml +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/valid_project/config/teams/ux.yml +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/valid_project/gems/payroll_calculator/calculator.rb +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/valid_project/gems/pets/dog.rb +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/valid_project/javascript/packages/PayrollFlow/index.tsx +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/valid_project/javascript/packages/PayrollFlow/package.json +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/valid_project/javascript/packages/items/(special)/.codeowner +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/valid_project/javascript/packages/items/(special)/pay.ts +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/valid_project/javascript/packages/items/.codeowner +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/valid_project/javascript/packages/items/item.ts +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/valid_project/javascript/packages/list/page-admin.tsx +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/valid_project/ruby/app/models/bank_account.rb +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/valid_project/ruby/app/models/payroll.rb +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/valid_project/ruby/app/payments/foo/.codeowner +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/valid_project/ruby/app/payments/foo/ownedby_payroll.rb +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/valid_project/ruby/app/payments/nacha.rb +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/valid_project/ruby/app/payroll/.codeowner +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/valid_project/ruby/app/payroll/payroll.rb +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/valid_project/ruby/app/views/foos/edit.erb +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/valid_project/ruby/app/views/foos/index.html.erb +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/valid_project/ruby/app/views/foos/new.html.erb +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/valid_project/ruby/ignored_files/git_ignored.rb +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/valid_project/ruby/packages/payroll_flow/package.yml +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/valid_project/should_be_ignored/an_ignored_file.rb +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/valid_project_with_overrides/config/code_ownership.yml +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/valid_project_with_overrides/config/teams/brewers.yml +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/valid_project_with_overrides/config/teams/cubs.yml +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/valid_project_with_overrides/config/teams/giants.yml +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/valid_project_with_overrides/config/teams/rockies.yml +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/valid_project_with_overrides/frontend/packages/components/datepicker/package.json +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/valid_project_with_overrides/frontend/packages/components/datepicker/src/picks/dp.tsx +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/valid_project_with_overrides/frontend/packages/components/list/package.json +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/valid_project_with_overrides/frontend/packages/components/list/src/item.tsx +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/valid_project_with_overrides/frontend/packages/components/textfield/package.json +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/valid_project_with_overrides/frontend/packages/components/textfield/src/field.tsx +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/valid_project_with_overrides/frontend/packages/components/textfield/src/fields/small.tsx +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/valid_project_with_overrides/gems/apollo/lib/apollo.rb +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/valid_project_with_overrides/gems/ivy/lib/ivy.rb +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/valid_project_with_overrides/gems/lager/lib/lager.rb +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/valid_project_with_overrides/gems/summit/lib/summit.rb +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/valid_project_with_overrides/packs/games/app/services/stats.rb +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/valid_project_with_overrides/packs/games/package.yml +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/valid_project_with_overrides/packs/locations/app/services/capacity.rb +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/valid_project_with_overrides/packs/locations/package.yml +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/valid_project_with_overrides/packs/schedule/app/services/date.rb +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/valid_project_with_overrides/packs/schedule/package.yml +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/valid_project_with_overrides/ruby/app/brewers/lib/util.rb +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/valid_project_with_overrides/ruby/app/brewers/services/play.rb +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/valid_project_with_overrides/ruby/app/cubs/.codeowner +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/valid_project_with_overrides/ruby/app/cubs/services/models/.codeowner +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/valid_project_with_overrides/ruby/app/cubs/services/models/db/price.rb +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/valid_project_with_overrides/ruby/app/cubs/services/models/entertainment.rb +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/valid_project_with_overrides/ruby/app/cubs/services/play.rb +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/valid_project_with_overrides/ruby/app/giants/services/play.rb +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/fixtures/valid_project_with_overrides/ruby/app/rockies/services/play.rb +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/git_stage_test.rs +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/invalid_project_structure_test.rs +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/missing_github_team_test.rs +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/multiple_directory_owners_test.rs +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/run_config_executable_override_test.rs +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/runner_api.rs +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/untracked_files_test.rs +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/valid_project_with_overrides_test.rs +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tests/validate_files_test.rs +0 -0
- /data/ext/cargo-vendor/{codeowners-0.3.3 → codeowners-0.5.0}/tmp/.gitkeep +0 -0
- /data/ext/cargo-vendor/{error-stack-0.5.0 → error-stack-0.8.0}/LICENSE-APACHE.md +0 -0
- /data/ext/cargo-vendor/{error-stack-0.5.0 → error-stack-0.8.0}/LICENSE-MIT.md +0 -0
- /data/ext/cargo-vendor/{error-stack-0.5.0 → error-stack-0.8.0}/LICENSE.md +0 -0
- /data/ext/cargo-vendor/{error-stack-0.5.0 → error-stack-0.8.0}/src/fmt/override.rs +0 -0
- /data/ext/cargo-vendor/{error-stack-0.5.0 → error-stack-0.8.0}/tests/snapshots/doc/hook__location_hook.snap +0 -0
- /data/ext/cargo-vendor/{error-stack-0.5.0 → error-stack-0.8.0}/tests/snapshots/doc/report_display__doc.snap +0 -0
- /data/ext/cargo-vendor/{error-stack-0.5.0 → error-stack-0.8.0}/tests/snapshots/doc/report_display_alt__doc.snap +0 -0
- /data/ext/cargo-vendor/{error-stack-0.5.0 → error-stack-0.8.0}/tests/snapshots/test_debug__full__alt.snap +0 -0
- /data/ext/cargo-vendor/{error-stack-0.5.0 → error-stack-0.8.0}/tests/snapshots/test_debug__full__charset_ascii.snap +0 -0
- /data/ext/cargo-vendor/{error-stack-0.5.0 → error-stack-0.8.0}/tests/snapshots/test_debug__full__color_mode_color.snap +0 -0
- /data/ext/cargo-vendor/{error-stack-0.5.0 → error-stack-0.8.0}/tests/snapshots/test_debug__full__color_mode_emphasis.snap +0 -0
- /data/ext/cargo-vendor/{error-stack-0.5.0 → error-stack-0.8.0}/tests/snapshots/test_debug__full__hook.snap +0 -0
- /data/ext/cargo-vendor/{error-stack-0.5.0 → error-stack-0.8.0}/tests/snapshots/test_debug__full__hook_context.snap +0 -0
- /data/ext/cargo-vendor/{error-stack-0.5.0 → error-stack-0.8.0}/tests/snapshots/test_debug__full__hook_decr.snap +0 -0
- /data/ext/cargo-vendor/{error-stack-0.5.0 → error-stack-0.8.0}/tests/snapshots/test_debug__full__hook_for_context.snap +0 -0
- /data/ext/cargo-vendor/{error-stack-0.5.0 → error-stack-0.8.0}/tests/snapshots/test_debug__full__hook_incr.snap +0 -0
- /data/ext/cargo-vendor/{error-stack-0.5.0 → error-stack-0.8.0}/tests/snapshots/test_debug__full__hook_multiple.snap +0 -0
- /data/ext/cargo-vendor/{error-stack-0.5.0 → error-stack-0.8.0}/tests/snapshots/test_debug__full__hook_provider.snap +0 -0
- /data/ext/cargo-vendor/{error-stack-0.5.0 → error-stack-0.8.0}/tests/snapshots/test_debug__full__multiline.snap +0 -0
- /data/ext/cargo-vendor/{error-stack-0.5.0 → error-stack-0.8.0}/tests/snapshots/test_debug__full__norm.snap +0 -0
- /data/ext/cargo-vendor/{rb-sys-0.9.117 → rb-sys-0.9.130}/LICENSE-APACHE +0 -0
- /data/ext/cargo-vendor/{rb-sys-0.9.117 → rb-sys-0.9.130}/LICENSE-MIT +0 -0
- /data/ext/cargo-vendor/{rb-sys-0.9.117 → rb-sys-0.9.130}/bin/release.sh +0 -0
- /data/ext/cargo-vendor/{rb-sys-0.9.117 → rb-sys-0.9.130}/build/features.rs +0 -0
- /data/ext/cargo-vendor/{rb-sys-0.9.117 → rb-sys-0.9.130}/readme.md +0 -0
- /data/ext/cargo-vendor/{rb-sys-0.9.117 → rb-sys-0.9.130}/src/hidden.rs +0 -0
- /data/ext/cargo-vendor/{rb-sys-0.9.117 → rb-sys-0.9.130}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{rb-sys-0.9.117 → rb-sys-0.9.130}/src/ruby_abi_version.rs +0 -0
- /data/ext/cargo-vendor/{rb-sys-0.9.117 → rb-sys-0.9.130}/src/special_consts.rs +0 -0
- /data/ext/cargo-vendor/{rb-sys-0.9.117 → rb-sys-0.9.130}/src/symbol.rs +0 -0
- /data/ext/cargo-vendor/{rb-sys-0.9.117 → rb-sys-0.9.130}/src/tracking_allocator.rs +0 -0
- /data/ext/cargo-vendor/{rb-sys-0.9.117 → rb-sys-0.9.130}/src/value_type.rs +0 -0
- /data/ext/cargo-vendor/{rb-sys-build-0.9.117 → rb-sys-build-0.9.130}/LICENSE-APACHE +0 -0
- /data/ext/cargo-vendor/{rb-sys-build-0.9.117 → rb-sys-build-0.9.130}/LICENSE-MIT +0 -0
- /data/ext/cargo-vendor/{rb-sys-build-0.9.117 → rb-sys-build-0.9.130}/src/bindings/sanitizer.rs +0 -0
- /data/ext/cargo-vendor/{rb-sys-build-0.9.117 → rb-sys-build-0.9.130}/src/bindings/wrapper.h +0 -0
- /data/ext/cargo-vendor/{rb-sys-build-0.9.117 → rb-sys-build-0.9.130}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{rb-sys-build-0.9.117 → rb-sys-build-0.9.130}/src/rb_config/flags.rs +0 -0
- /data/ext/cargo-vendor/{rb-sys-build-0.9.117 → rb-sys-build-0.9.130}/src/rb_config/library.rs +0 -0
- /data/ext/cargo-vendor/{rb-sys-build-0.9.117 → rb-sys-build-0.9.130}/src/rb_config/search_path.rs +0 -0
- /data/ext/cargo-vendor/{rb-sys-build-0.9.117 → rb-sys-build-0.9.130}/src/utils.rs +0 -0
- /data/ext/cargo-vendor/{rb-sys-env-0.2.2 → rb-sys-env-0.2.3}/LICENSE-APACHE +0 -0
- /data/ext/cargo-vendor/{rb-sys-env-0.2.2 → rb-sys-env-0.2.3}/LICENSE-MIT +0 -0
- /data/ext/cargo-vendor/{rb-sys-env-0.2.2 → rb-sys-env-0.2.3}/build.rs +0 -0
- /data/ext/cargo-vendor/{rb-sys-env-0.2.2 → rb-sys-env-0.2.3}/src/defines.rs +0 -0
- /data/ext/cargo-vendor/{rb-sys-env-0.2.2 → rb-sys-env-0.2.3}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{rb-sys-env-0.2.2 → rb-sys-env-0.2.3}/src/rb_env.rs +0 -0
- /data/ext/cargo-vendor/{rb-sys-env-0.2.2 → rb-sys-env-0.2.3}/src/utils.rs +0 -0
- /data/ext/cargo-vendor/{serde-1.0.228 → serde-1.0.229}/LICENSE-APACHE +0 -0
- /data/ext/cargo-vendor/{rustc-hash-1.1.0 → serde-1.0.229}/LICENSE-MIT +0 -0
- /data/ext/cargo-vendor/{serde-1.0.228 → serde-1.0.229}/crates-io.md +0 -0
- /data/ext/cargo-vendor/{serde-1.0.228 → serde-1.0.229}/src/core/crate_root.rs +0 -0
- /data/ext/cargo-vendor/{serde-1.0.228 → serde-1.0.229}/src/core/de/ignored_any.rs +0 -0
- /data/ext/cargo-vendor/{serde-1.0.228 → serde-1.0.229}/src/core/de/mod.rs +0 -0
- /data/ext/cargo-vendor/{serde-1.0.228 → serde-1.0.229}/src/core/de/value.rs +0 -0
- /data/ext/cargo-vendor/{serde-1.0.228 → serde-1.0.229}/src/core/format.rs +0 -0
- /data/ext/cargo-vendor/{serde-1.0.228 → serde-1.0.229}/src/core/macros.rs +0 -0
- /data/ext/cargo-vendor/{serde-1.0.228 → serde-1.0.229}/src/core/private/content.rs +0 -0
- /data/ext/cargo-vendor/{serde-1.0.228 → serde-1.0.229}/src/core/private/doc.rs +0 -0
- /data/ext/cargo-vendor/{serde-1.0.228 → serde-1.0.229}/src/core/private/mod.rs +0 -0
- /data/ext/cargo-vendor/{serde-1.0.228 → serde-1.0.229}/src/core/private/seed.rs +0 -0
- /data/ext/cargo-vendor/{serde-1.0.228 → serde-1.0.229}/src/core/private/size_hint.rs +0 -0
- /data/ext/cargo-vendor/{serde-1.0.228 → serde-1.0.229}/src/core/private/string.rs +0 -0
- /data/ext/cargo-vendor/{serde-1.0.228 → serde-1.0.229}/src/core/ser/fmt.rs +0 -0
- /data/ext/cargo-vendor/{serde-1.0.228 → serde-1.0.229}/src/core/ser/impls.rs +0 -0
- /data/ext/cargo-vendor/{serde-1.0.228 → serde-1.0.229}/src/core/ser/impossible.rs +0 -0
- /data/ext/cargo-vendor/{serde-1.0.228 → serde-1.0.229}/src/core/ser/mod.rs +0 -0
- /data/ext/cargo-vendor/{serde-1.0.228 → serde-1.0.229}/src/core/std_error.rs +0 -0
- /data/ext/cargo-vendor/{serde-1.0.228 → serde-1.0.229}/src/integer128.rs +0 -0
- /data/ext/cargo-vendor/{serde-1.0.228 → serde-1.0.229}/src/private/de.rs +0 -0
- /data/ext/cargo-vendor/{serde-1.0.228 → serde-1.0.229}/src/private/mod.rs +0 -0
- /data/ext/cargo-vendor/{serde-1.0.228 → serde-1.0.229}/src/private/ser.rs +0 -0
- /data/ext/cargo-vendor/{serde_core-1.0.228 → serde_core-1.0.229}/LICENSE-APACHE +0 -0
- /data/ext/cargo-vendor/{serde-1.0.228 → serde_core-1.0.229}/LICENSE-MIT +0 -0
- /data/ext/cargo-vendor/{serde_core-1.0.228 → serde_core-1.0.229}/README.md +0 -0
- /data/ext/cargo-vendor/{serde_core-1.0.228 → serde_core-1.0.229}/src/crate_root.rs +0 -0
- /data/ext/cargo-vendor/{serde_core-1.0.228 → serde_core-1.0.229}/src/de/ignored_any.rs +0 -0
- /data/ext/cargo-vendor/{serde_core-1.0.228 → serde_core-1.0.229}/src/de/mod.rs +0 -0
- /data/ext/cargo-vendor/{serde_core-1.0.228 → serde_core-1.0.229}/src/de/value.rs +0 -0
- /data/ext/cargo-vendor/{serde_core-1.0.228 → serde_core-1.0.229}/src/format.rs +0 -0
- /data/ext/cargo-vendor/{serde_core-1.0.228 → serde_core-1.0.229}/src/macros.rs +0 -0
- /data/ext/cargo-vendor/{serde_core-1.0.228 → serde_core-1.0.229}/src/private/content.rs +0 -0
- /data/ext/cargo-vendor/{serde_core-1.0.228 → serde_core-1.0.229}/src/private/doc.rs +0 -0
- /data/ext/cargo-vendor/{serde_core-1.0.228 → serde_core-1.0.229}/src/private/mod.rs +0 -0
- /data/ext/cargo-vendor/{serde_core-1.0.228 → serde_core-1.0.229}/src/private/seed.rs +0 -0
- /data/ext/cargo-vendor/{serde_core-1.0.228 → serde_core-1.0.229}/src/private/size_hint.rs +0 -0
- /data/ext/cargo-vendor/{serde_core-1.0.228 → serde_core-1.0.229}/src/private/string.rs +0 -0
- /data/ext/cargo-vendor/{serde_core-1.0.228 → serde_core-1.0.229}/src/ser/fmt.rs +0 -0
- /data/ext/cargo-vendor/{serde_core-1.0.228 → serde_core-1.0.229}/src/ser/impls.rs +0 -0
- /data/ext/cargo-vendor/{serde_core-1.0.228 → serde_core-1.0.229}/src/ser/impossible.rs +0 -0
- /data/ext/cargo-vendor/{serde_core-1.0.228 → serde_core-1.0.229}/src/ser/mod.rs +0 -0
- /data/ext/cargo-vendor/{serde_core-1.0.228 → serde_core-1.0.229}/src/std_error.rs +0 -0
- /data/ext/cargo-vendor/{serde_derive-1.0.228 → serde_derive-1.0.229}/LICENSE-APACHE +0 -0
- /data/ext/cargo-vendor/{serde_core-1.0.228 → serde_derive-1.0.229}/LICENSE-MIT +0 -0
- /data/ext/cargo-vendor/{serde_derive-1.0.228 → serde_derive-1.0.229}/crates-io.md +0 -0
- /data/ext/cargo-vendor/{serde_derive-1.0.228 → serde_derive-1.0.229}/src/de/enum_.rs +0 -0
- /data/ext/cargo-vendor/{serde_derive-1.0.228 → serde_derive-1.0.229}/src/de/enum_internally.rs +0 -0
- /data/ext/cargo-vendor/{serde_derive-1.0.228 → serde_derive-1.0.229}/src/de/enum_untagged.rs +0 -0
- /data/ext/cargo-vendor/{serde_derive-1.0.228 → serde_derive-1.0.229}/src/de/identifier.rs +0 -0
- /data/ext/cargo-vendor/{serde_derive-1.0.228 → serde_derive-1.0.229}/src/de/struct_.rs +0 -0
- /data/ext/cargo-vendor/{serde_derive-1.0.228 → serde_derive-1.0.229}/src/de/tuple.rs +0 -0
- /data/ext/cargo-vendor/{serde_derive-1.0.228 → serde_derive-1.0.229}/src/de/unit.rs +0 -0
- /data/ext/cargo-vendor/{serde_derive-1.0.228 → serde_derive-1.0.229}/src/deprecated.rs +0 -0
- /data/ext/cargo-vendor/{serde_derive-1.0.228 → serde_derive-1.0.229}/src/dummy.rs +0 -0
- /data/ext/cargo-vendor/{serde_derive-1.0.228 → serde_derive-1.0.229}/src/fragment.rs +0 -0
- /data/ext/cargo-vendor/{serde_derive-1.0.228 → serde_derive-1.0.229}/src/internals/case.rs +0 -0
- /data/ext/cargo-vendor/{serde_derive-1.0.228 → serde_derive-1.0.229}/src/internals/check.rs +0 -0
- /data/ext/cargo-vendor/{serde_derive-1.0.228 → serde_derive-1.0.229}/src/internals/mod.rs +0 -0
- /data/ext/cargo-vendor/{serde_derive-1.0.228 → serde_derive-1.0.229}/src/internals/name.rs +0 -0
- /data/ext/cargo-vendor/{serde_derive-1.0.228 → serde_derive-1.0.229}/src/internals/respan.rs +0 -0
- /data/ext/cargo-vendor/{serde_derive-1.0.228 → serde_derive-1.0.229}/src/internals/symbol.rs +0 -0
- /data/ext/cargo-vendor/{serde_derive-1.0.228 → serde_derive-1.0.229}/src/this.rs +0 -0
- /data/ext/cargo-vendor/{serde_magnus-0.10.0 → serde_magnus-0.11.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{serde_magnus-0.10.0 → serde_magnus-0.11.0}/src/de/array_deserializer.rs +0 -0
- /data/ext/cargo-vendor/{serde_magnus-0.10.0 → serde_magnus-0.11.0}/src/de/array_enumerator.rs +0 -0
- /data/ext/cargo-vendor/{serde_magnus-0.10.0 → serde_magnus-0.11.0}/src/de/enum_deserializer.rs +0 -0
- /data/ext/cargo-vendor/{serde_magnus-0.10.0 → serde_magnus-0.11.0}/src/de/hash_deserializer.rs +0 -0
- /data/ext/cargo-vendor/{serde_magnus-0.10.0 → serde_magnus-0.11.0}/src/de/mod.rs +0 -0
- /data/ext/cargo-vendor/{serde_magnus-0.10.0 → serde_magnus-0.11.0}/src/de/variant_deserializer.rs +0 -0
- /data/ext/cargo-vendor/{serde_magnus-0.10.0 → serde_magnus-0.11.0}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{serde_magnus-0.10.0 → serde_magnus-0.11.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{serde_magnus-0.10.0 → serde_magnus-0.11.0}/src/ser/enums.rs +0 -0
- /data/ext/cargo-vendor/{serde_magnus-0.10.0 → serde_magnus-0.11.0}/src/ser/map_serializer.rs +0 -0
- /data/ext/cargo-vendor/{serde_magnus-0.10.0 → serde_magnus-0.11.0}/src/ser/mod.rs +0 -0
- /data/ext/cargo-vendor/{serde_magnus-0.10.0 → serde_magnus-0.11.0}/src/ser/seq_serializer.rs +0 -0
- /data/ext/cargo-vendor/{serde_magnus-0.10.0 → serde_magnus-0.11.0}/src/ser/serializer.rs +0 -0
- /data/ext/cargo-vendor/{serde_magnus-0.10.0 → serde_magnus-0.11.0}/src/ser/struct_serializer.rs +0 -0
- /data/ext/cargo-vendor/{serde_magnus-0.10.0 → serde_magnus-0.11.0}/src/ser/struct_variant_serializer.rs +0 -0
- /data/ext/cargo-vendor/{serde_magnus-0.10.0 → serde_magnus-0.11.0}/src/ser/tuple_variant_serializer.rs +0 -0
- /data/ext/cargo-vendor/{serde_magnus-0.10.0 → serde_magnus-0.11.0}/tests/deserializing_arrays.rs +0 -0
- /data/ext/cargo-vendor/{serde_magnus-0.10.0 → serde_magnus-0.11.0}/tests/deserializing_booleans.rs +0 -0
- /data/ext/cargo-vendor/{serde_magnus-0.10.0 → serde_magnus-0.11.0}/tests/deserializing_enums.rs +0 -0
- /data/ext/cargo-vendor/{serde_magnus-0.10.0 → serde_magnus-0.11.0}/tests/deserializing_floats.rs +0 -0
- /data/ext/cargo-vendor/{serde_magnus-0.10.0 → serde_magnus-0.11.0}/tests/deserializing_integers.rs +0 -0
- /data/ext/cargo-vendor/{serde_magnus-0.10.0 → serde_magnus-0.11.0}/tests/deserializing_maps.rs +0 -0
- /data/ext/cargo-vendor/{serde_magnus-0.10.0 → serde_magnus-0.11.0}/tests/deserializing_options.rs +0 -0
- /data/ext/cargo-vendor/{serde_magnus-0.10.0 → serde_magnus-0.11.0}/tests/deserializing_results.rs +0 -0
- /data/ext/cargo-vendor/{serde_magnus-0.10.0 → serde_magnus-0.11.0}/tests/deserializing_strings.rs +0 -0
- /data/ext/cargo-vendor/{serde_magnus-0.10.0 → serde_magnus-0.11.0}/tests/deserializing_structs.rs +0 -0
- /data/ext/cargo-vendor/{serde_magnus-0.10.0 → serde_magnus-0.11.0}/tests/deserializing_tuples.rs +0 -0
- /data/ext/cargo-vendor/{serde_magnus-0.10.0 → serde_magnus-0.11.0}/tests/deserializing_vecs.rs +0 -0
- /data/ext/cargo-vendor/{serde_magnus-0.10.0 → serde_magnus-0.11.0}/tests/serializing_arrays.rs +0 -0
- /data/ext/cargo-vendor/{serde_magnus-0.10.0 → serde_magnus-0.11.0}/tests/serializing_booleans.rs +0 -0
- /data/ext/cargo-vendor/{serde_magnus-0.10.0 → serde_magnus-0.11.0}/tests/serializing_enums.rs +0 -0
- /data/ext/cargo-vendor/{serde_magnus-0.10.0 → serde_magnus-0.11.0}/tests/serializing_floats.rs +0 -0
- /data/ext/cargo-vendor/{serde_magnus-0.10.0 → serde_magnus-0.11.0}/tests/serializing_integers.rs +0 -0
- /data/ext/cargo-vendor/{serde_magnus-0.10.0 → serde_magnus-0.11.0}/tests/serializing_maps.rs +0 -0
- /data/ext/cargo-vendor/{serde_magnus-0.10.0 → serde_magnus-0.11.0}/tests/serializing_options.rs +0 -0
- /data/ext/cargo-vendor/{serde_magnus-0.10.0 → serde_magnus-0.11.0}/tests/serializing_results.rs +0 -0
- /data/ext/cargo-vendor/{serde_magnus-0.10.0 → serde_magnus-0.11.0}/tests/serializing_strings.rs +0 -0
- /data/ext/cargo-vendor/{serde_magnus-0.10.0 → serde_magnus-0.11.0}/tests/serializing_structs.rs +0 -0
- /data/ext/cargo-vendor/{serde_magnus-0.10.0 → serde_magnus-0.11.0}/tests/serializing_tuples.rs +0 -0
- /data/ext/cargo-vendor/{serde_magnus-0.10.0 → serde_magnus-0.11.0}/tests/serializing_vecs.rs +0 -0
- /data/ext/cargo-vendor/{serde_derive-1.0.228 → syn-3.0.9}/LICENSE-MIT +0 -0
|
@@ -1,1177 +0,0 @@
|
|
|
1
|
-
//! Implementation of formatting, to enable colors and the use of box-drawing characters use the
|
|
2
|
-
//! `pretty-print` feature.
|
|
3
|
-
//!
|
|
4
|
-
//! > **Note:** `error-stack` does not provide any stability guarantees for the [`Debug`] output.
|
|
5
|
-
//!
|
|
6
|
-
//! # Hooks
|
|
7
|
-
//!
|
|
8
|
-
//! The [`Debug`] implementation can be easily extended using hooks. Hooks are functions of the
|
|
9
|
-
//! signature `Fn(&T, &mut HookContext<T>)`, they provide an ergonomic way to partially modify the
|
|
10
|
-
//! output format and enable custom output for types that are not necessarily added via
|
|
11
|
-
//! [`Report::attach_printable`] or are unable to implement [`Display`].
|
|
12
|
-
//!
|
|
13
|
-
//! Hooks can be attached through the central hooking mechanism which `error-stack`
|
|
14
|
-
//! provides via [`Report::install_debug_hook`].
|
|
15
|
-
//!
|
|
16
|
-
//! Hooks are called for contexts which provide additional values through [`Context::provide`] and
|
|
17
|
-
//! attachments which are added via [`Report::attach`] or [`Report::attach_printable`]. The order of
|
|
18
|
-
//! [`Report::install_debug_hook`] calls determines the order of the rendered output. Note, that
|
|
19
|
-
//! Hooks get called on all values provided by [`Context::provide`], but not on the [`Context`]
|
|
20
|
-
//! object itself. Therefore if you want to call a hook on a [`Context`] to print in addition to its
|
|
21
|
-
//! [`Display`] implementation, you may want to call [`request.provide_ref(self)`] inside of
|
|
22
|
-
//! [`Context::provide`].
|
|
23
|
-
//!
|
|
24
|
-
//! [`request.provide_ref(self)`]: core::error::Request::provide_ref
|
|
25
|
-
//!
|
|
26
|
-
//! Hook functions need to be [`Fn`] and **not** [`FnMut`], which means they are unable to directly
|
|
27
|
-
//! mutate state outside of the closure.
|
|
28
|
-
//! You can still achieve mutable state outside of the scope of your closure through interior
|
|
29
|
-
//! mutability, e.g. by using the [`std::sync`] module like [`Mutex`], [`RwLock`], and [`atomic`]s.
|
|
30
|
-
//!
|
|
31
|
-
//! The type, a hook will be called for, is determined by the type of the first argument to the
|
|
32
|
-
//! closure. This type can either be specified at the closure level or when calling
|
|
33
|
-
//! [`Report::install_debug_hook`].
|
|
34
|
-
//! This type needs to be `'static`, [`Send`], and [`Sync`].
|
|
35
|
-
//!
|
|
36
|
-
//! You can then add additional entries to the body with [`HookContext::push_body`], and entries to
|
|
37
|
-
//! the appendix with [`HookContext::push_appendix`], refer to the documentation of [`HookContext`]
|
|
38
|
-
//! for further information.
|
|
39
|
-
//!
|
|
40
|
-
//! ## Example
|
|
41
|
-
//!
|
|
42
|
-
//! ```rust
|
|
43
|
-
//! # // we only test with nightly, which means that `render()` is unused on earlier version
|
|
44
|
-
//! # #![cfg_attr(not(nightly), allow(dead_code, unused_variables, unused_imports))]
|
|
45
|
-
//! use core::fmt::{Display, Formatter};
|
|
46
|
-
//! use std::io::{Error, ErrorKind};
|
|
47
|
-
//! use error_stack::Report;
|
|
48
|
-
//!
|
|
49
|
-
//! #[derive(Debug)]
|
|
50
|
-
//! struct ErrorCode(u64);
|
|
51
|
-
//!
|
|
52
|
-
//! impl Display for ErrorCode {
|
|
53
|
-
//! fn fmt(&self, fmt: &mut Formatter<'_>) -> std::fmt::Result {
|
|
54
|
-
//! write!(fmt, "error: {}", self.0)
|
|
55
|
-
//! }
|
|
56
|
-
//! }
|
|
57
|
-
//!
|
|
58
|
-
//! struct Suggestion(&'static str);
|
|
59
|
-
//! struct Warning(&'static str);
|
|
60
|
-
//!
|
|
61
|
-
//! // This hook will never be called, because a later invocation of `install_debug_hook` overwrites
|
|
62
|
-
//! // the hook for the type `ErrorCode`.
|
|
63
|
-
//! Report::install_debug_hook::<ErrorCode>(|_, _| {
|
|
64
|
-
//! unreachable!("will never be called");
|
|
65
|
-
//! });
|
|
66
|
-
//!
|
|
67
|
-
//! // `HookContext` always has a type parameter, which needs to be the same as the type of the
|
|
68
|
-
//! // value, we use `HookContext` here as storage, to store values specific to this hook.
|
|
69
|
-
//! // Here we make use of the auto-incrementing feature.
|
|
70
|
-
//! // The incrementation is type specific, meaning that `context.increment()` for the `Suggestion` hook
|
|
71
|
-
//! // will not influence the counter of the `ErrorCode` or `Warning` hook.
|
|
72
|
-
//! Report::install_debug_hook::<Suggestion>(|Suggestion(value), context| {
|
|
73
|
-
//! let idx = context.increment_counter() + 1;
|
|
74
|
-
//! context.push_body(format!("suggestion {idx}: {value}"));
|
|
75
|
-
//! });
|
|
76
|
-
//!
|
|
77
|
-
//! // Even though we used `attach_printable`, we can still use hooks, `Display` of a type attached
|
|
78
|
-
//! // via `attach_printable` is only ever used when no hook was found.
|
|
79
|
-
//! Report::install_debug_hook::<ErrorCode>(|ErrorCode(value), context| {
|
|
80
|
-
//! context.push_body(format!("error ({value})"));
|
|
81
|
-
//! });
|
|
82
|
-
//!
|
|
83
|
-
//! Report::install_debug_hook::<Warning>(|Warning(value), context| {
|
|
84
|
-
//! let idx = context.increment_counter() + 1;
|
|
85
|
-
//!
|
|
86
|
-
//! // we set a value, which will be removed on non-alternate views
|
|
87
|
-
//! // and is going to be appended to the actual return value.
|
|
88
|
-
//! if context.alternate() {
|
|
89
|
-
//! context.push_appendix(format!("warning {idx}:\n {value}"));
|
|
90
|
-
//! }
|
|
91
|
-
//!
|
|
92
|
-
//! context.push_body(format!("warning ({idx}) occurred"));
|
|
93
|
-
//! });
|
|
94
|
-
//!
|
|
95
|
-
//!
|
|
96
|
-
//! let report = Report::new(Error::from(ErrorKind::InvalidInput))
|
|
97
|
-
//! .attach_printable(ErrorCode(404))
|
|
98
|
-
//! .attach(Suggestion("try to be connected to the internet."))
|
|
99
|
-
//! .attach(Suggestion("try better next time!"))
|
|
100
|
-
//! .attach(Warning("unable to fetch resource"));
|
|
101
|
-
//!
|
|
102
|
-
//! # Report::set_color_mode(error_stack::fmt::ColorMode::Emphasis);
|
|
103
|
-
//! # fn render(value: String) -> String {
|
|
104
|
-
//! # let backtrace = regex::Regex::new(r"backtrace no\. (\d+)\n(?: .*\n)* .*").unwrap();
|
|
105
|
-
//! # let backtrace_info = regex::Regex::new(r"backtrace( with (\d+) frames)? \((\d+)\)").unwrap();
|
|
106
|
-
//! #
|
|
107
|
-
//! # let value = backtrace.replace_all(&value, "backtrace no. $1\n [redacted]");
|
|
108
|
-
//! # let value = backtrace_info.replace_all(value.as_ref(), "backtrace ($3)");
|
|
109
|
-
//! #
|
|
110
|
-
//! # ansi_to_html::convert(value.as_ref()).unwrap()
|
|
111
|
-
//! # }
|
|
112
|
-
//! #
|
|
113
|
-
//! # #[cfg(nightly)]
|
|
114
|
-
//! # expect_test::expect_file![concat!(env!("CARGO_MANIFEST_DIR"), "/tests/snapshots/doc/fmt__doc.snap")].assert_eq(&render(format!("{report:?}")));
|
|
115
|
-
//! #
|
|
116
|
-
//! println!("{report:?}");
|
|
117
|
-
//!
|
|
118
|
-
//! # #[cfg(nightly)]
|
|
119
|
-
//! # expect_test::expect_file![concat!(env!("CARGO_MANIFEST_DIR"), "/tests/snapshots/doc/fmt_doc_alt.snap")].assert_eq(&render(format!("{report:#?}")));
|
|
120
|
-
//! #
|
|
121
|
-
//! println!("{report:#?}");
|
|
122
|
-
//! ```
|
|
123
|
-
//!
|
|
124
|
-
//! The output of `println!("{report:?}")`:
|
|
125
|
-
//!
|
|
126
|
-
//! <pre>
|
|
127
|
-
#![doc = include_str!(concat!(env!("CARGO_MANIFEST_DIR"), "/tests/snapshots/doc/fmt__doc.snap"))]
|
|
128
|
-
//! </pre>
|
|
129
|
-
//!
|
|
130
|
-
//! The output of `println!("{report:#?}")`:
|
|
131
|
-
//!
|
|
132
|
-
//! <pre>
|
|
133
|
-
#![doc = include_str!(concat!(env!("CARGO_MANIFEST_DIR"), "/tests/snapshots/doc/fmt_doc_alt.snap"))]
|
|
134
|
-
//! </pre>
|
|
135
|
-
//!
|
|
136
|
-
//! ## Implementation Details
|
|
137
|
-
//!
|
|
138
|
-
//! Nothing explained here is under any semver guarantee. This section explains the algorithm used
|
|
139
|
-
//! to produce the [`Debug`] output of a [`Report`].
|
|
140
|
-
//!
|
|
141
|
-
//! During the explanation we will make use of two different [`Report`]s, the overview tree (shown
|
|
142
|
-
//! first) only visualizes contexts, while the second, more detailed tree shows attachments and
|
|
143
|
-
//! contexts.
|
|
144
|
-
//!
|
|
145
|
-
//! In the detailed tree the type of [`Frame`] is distinguished using a superscript letter, `ᵃ` is
|
|
146
|
-
//! used to indicate attachments and `ᶜ` is used to indicate contexts. For clarity the overview tree
|
|
147
|
-
//! uses digits, while the detailed tree uses letters for different [`Frame`]s.
|
|
148
|
-
//!
|
|
149
|
-
//! Overview (Context only) Tree:
|
|
150
|
-
//!
|
|
151
|
-
//! ```text
|
|
152
|
-
//! 0
|
|
153
|
-
//! |
|
|
154
|
-
//! 1
|
|
155
|
-
//! / \
|
|
156
|
-
//! 2 6
|
|
157
|
-
//! / \ |
|
|
158
|
-
//! 3 4 7
|
|
159
|
-
//! | |
|
|
160
|
-
//! 5 8
|
|
161
|
-
//! ```
|
|
162
|
-
//!
|
|
163
|
-
//!
|
|
164
|
-
//! Detailed (Context + Attachment) Tree:
|
|
165
|
-
//!
|
|
166
|
-
//! ```text
|
|
167
|
-
//! Aᶜ
|
|
168
|
-
//! |
|
|
169
|
-
//! Bᵃ
|
|
170
|
-
//! / \
|
|
171
|
-
//! Cᵃ Eᵃ
|
|
172
|
-
//! | |
|
|
173
|
-
//! Dᶜ Fᵃ
|
|
174
|
-
//! / \
|
|
175
|
-
//! Gᵃ Iᶜ
|
|
176
|
-
//! |
|
|
177
|
-
//! Hᶜ
|
|
178
|
-
//! ```
|
|
179
|
-
//!
|
|
180
|
-
//! During formatting we distinguish between two cases (for contexts):
|
|
181
|
-
//!
|
|
182
|
-
//! * Lists
|
|
183
|
-
//! * Groups
|
|
184
|
-
//!
|
|
185
|
-
//! in this explanation lists are delimited by `[` and `]`, while groups are delimited by `(` and
|
|
186
|
-
//! `)`.
|
|
187
|
-
//!
|
|
188
|
-
//! While formatting we view the [`Report`]s as a tree of [`Frame`]s, therefore the following
|
|
189
|
-
//! explanation will use terminology associated with trees, every [`Frame`] is a node and can have
|
|
190
|
-
//! `0..n` children, a node that has no children (a leaf) is guaranteed to be a [`Context`].
|
|
191
|
-
//!
|
|
192
|
-
//! A list is a list of nodes where each node in the list is the parent of the next node in the list
|
|
193
|
-
//! and only has a single child. The last node in the list is exempt of that rule of that rule and
|
|
194
|
-
//! can have `0..n` children. In the examples above, `[6, 7, 8]` is considered a list, while `[1,
|
|
195
|
-
//! 6]` is not, because while `1` is a parent of `6`, `1` has more than 1 child.
|
|
196
|
-
//!
|
|
197
|
-
//! A group is a list of nodes where each node shares a common immediate context parent that has
|
|
198
|
-
//! more than `1` child, this means that `(2, 6)` is a group (they share `1` as an immediate context
|
|
199
|
-
//! parent), while `(3, 4, 6)` is not. `(3, 4, 6)` share the same parent with more than 1 child
|
|
200
|
-
//! (`1`), but `1` is not the immediate context parent of `3` and `4` (`2`) is. In the more detailed
|
|
201
|
-
//! example `(Dᶜ, Hᶜ, Iᶜ)` is considered a group because they share the same *immediate* context
|
|
202
|
-
//! parent `Aᶜ`, important to note is that we only refer to immediate context parents, `Fᵃ` is the
|
|
203
|
-
//! immediate parent of `Iᶜ`, but is not a [`Context`], therefore to find the immediate context
|
|
204
|
-
//! parent, we travel up the tree until we encounter our first [`Context`] node. Groups always
|
|
205
|
-
//! contain lists, for the sake of clarity this explanation only shows the first element.
|
|
206
|
-
//!
|
|
207
|
-
//! The rules stated above also implies some additional rules:
|
|
208
|
-
//! * lists are never empty
|
|
209
|
-
//! * lists are nested in groups
|
|
210
|
-
//! * groups are always preceded by a single list
|
|
211
|
-
//! * groups are ordered left to right
|
|
212
|
-
//!
|
|
213
|
-
//! Using the aforementioned delimiters for lists and groups the end result would be:
|
|
214
|
-
//!
|
|
215
|
-
//! Overview Tree: `[0, 1] ([2] ([3], [4, 5]), [6, 7, 8])`
|
|
216
|
-
//! Detailed Tree: `[Aᶜ] ([Dᶜ], [Hᶜ], [Iᶜ])`
|
|
217
|
-
//!
|
|
218
|
-
//! Attachments are not ordered by insertion order but by depth in the tree. The depth in the tree
|
|
219
|
-
//! is the inverse of the insertion order, this means that the [`Debug`] output of all
|
|
220
|
-
//! attachments is reversed from the calling order of [`Report::attach`]. Each context uses the
|
|
221
|
-
//! attachments that are it's parents until the next context node. If attachments are shared between
|
|
222
|
-
//! multiple contexts, they are duplicated and output twice.
|
|
223
|
-
//!
|
|
224
|
-
//! Groups are always preceded by a single list, the only case where this is not true is at the top
|
|
225
|
-
//! level, in that case we opt to output separate trees for each member in the group.
|
|
226
|
-
//!
|
|
227
|
-
//! ### Output Formatting
|
|
228
|
-
//!
|
|
229
|
-
//! Lists are guaranteed to be non-empty and have at least a single context. The context is the
|
|
230
|
-
//! heading of the whole list, while all other contexts are intended. The last entry in that
|
|
231
|
-
//! indentation is (if present) the group that follows, taking the detailed example this means that
|
|
232
|
-
//! the following output would be rendered:
|
|
233
|
-
//!
|
|
234
|
-
//! ```text
|
|
235
|
-
//! Aᶜ
|
|
236
|
-
//! │
|
|
237
|
-
//! ╰┬▶ Dᶜ
|
|
238
|
-
//! │ ├╴Bᵃ
|
|
239
|
-
//! │ ╰╴Cᵃ
|
|
240
|
-
//! │
|
|
241
|
-
//! ├▶ Hᶜ
|
|
242
|
-
//! │ ├╴Bᵃ
|
|
243
|
-
//! │ ├╴Eᵃ
|
|
244
|
-
//! │ ├╴Fᵃ
|
|
245
|
-
//! │ ╰╴Gᵃ
|
|
246
|
-
//! │
|
|
247
|
-
//! ╰▶ Iᶜ
|
|
248
|
-
//! ├╴Bᵃ
|
|
249
|
-
//! ├╴Eᵃ
|
|
250
|
-
//! ╰╴Fᵃ
|
|
251
|
-
//! ```
|
|
252
|
-
//!
|
|
253
|
-
//! Groups are visually represented as an additional distinct indentation for other contexts in the
|
|
254
|
-
//! preceding list, taking the overview tree this means:
|
|
255
|
-
//!
|
|
256
|
-
//! ```text
|
|
257
|
-
//! 0
|
|
258
|
-
//! ├╴Attachment
|
|
259
|
-
//! │
|
|
260
|
-
//! ├─▶ 1
|
|
261
|
-
//! │ ╰╴Attachment
|
|
262
|
-
//! │
|
|
263
|
-
//! ╰┬▶ 2
|
|
264
|
-
//! │ │
|
|
265
|
-
//! │ ╰┬▶ 3
|
|
266
|
-
//! │ │
|
|
267
|
-
//! │ ╰▶ 4
|
|
268
|
-
//! │ │
|
|
269
|
-
//! │ ╰─▶ 5
|
|
270
|
-
//! ╰▶ 6
|
|
271
|
-
//! │
|
|
272
|
-
//! ├─▶ 7
|
|
273
|
-
//! │
|
|
274
|
-
//! ╰─▶ 8
|
|
275
|
-
//! ```
|
|
276
|
-
//!
|
|
277
|
-
//! Attachments have been added to various places to simulate a real use-case with attachments and
|
|
278
|
-
//! to visualise their placement.
|
|
279
|
-
//!
|
|
280
|
-
//! The spacing and characters used are chosen carefully, to reduce indentation and increase visual
|
|
281
|
-
//! legibility in large trees. The indentation of the group following the last entry in the
|
|
282
|
-
//! preceding list is the same. To indicate that the last entry in the preceding list is the parent
|
|
283
|
-
//! a new indentation of the connecting line is used.
|
|
284
|
-
//!
|
|
285
|
-
//! [`Display`]: core::fmt::Display
|
|
286
|
-
//! [`Debug`]: core::fmt::Debug
|
|
287
|
-
//! [`Mutex`]: std::sync::Mutex
|
|
288
|
-
//! [`RwLock`]: std::sync::RwLock
|
|
289
|
-
//! [`Backtrace`]: std::backtrace::Backtrace
|
|
290
|
-
//! [`SpanTrace`]: tracing_error::SpanTrace
|
|
291
|
-
//! [`atomic`]: std::sync::atomic
|
|
292
|
-
//! [`Error::provide`]: core::error::Error::provide
|
|
293
|
-
|
|
294
|
-
mod charset;
|
|
295
|
-
mod color;
|
|
296
|
-
mod config;
|
|
297
|
-
#[cfg(any(feature = "std", feature = "hooks"))]
|
|
298
|
-
mod hook;
|
|
299
|
-
mod location;
|
|
300
|
-
mod r#override;
|
|
301
|
-
|
|
302
|
-
use alloc::collections::VecDeque;
|
|
303
|
-
#[cfg_attr(feature = "std", allow(unused_imports))]
|
|
304
|
-
use alloc::{
|
|
305
|
-
borrow::ToOwned,
|
|
306
|
-
format,
|
|
307
|
-
string::{String, ToString},
|
|
308
|
-
vec,
|
|
309
|
-
vec::Vec,
|
|
310
|
-
};
|
|
311
|
-
use core::{
|
|
312
|
-
fmt::{self, Debug, Display, Formatter},
|
|
313
|
-
iter::once,
|
|
314
|
-
mem,
|
|
315
|
-
};
|
|
316
|
-
|
|
317
|
-
pub use charset::Charset;
|
|
318
|
-
pub use color::ColorMode;
|
|
319
|
-
#[cfg(any(feature = "std", feature = "hooks"))]
|
|
320
|
-
pub use hook::HookContext;
|
|
321
|
-
#[cfg(any(feature = "std", feature = "hooks"))]
|
|
322
|
-
pub(crate) use hook::{install_builtin_hooks, Format, Hooks};
|
|
323
|
-
#[cfg(not(any(feature = "std", feature = "hooks")))]
|
|
324
|
-
use location::LocationAttachment;
|
|
325
|
-
|
|
326
|
-
use crate::{
|
|
327
|
-
fmt::{
|
|
328
|
-
color::{Color, DisplayStyle, Style},
|
|
329
|
-
config::Config,
|
|
330
|
-
},
|
|
331
|
-
AttachmentKind, Context, Frame, FrameKind, Report,
|
|
332
|
-
};
|
|
333
|
-
|
|
334
|
-
#[derive(Debug, Copy, Clone, Eq, PartialEq)]
|
|
335
|
-
enum Symbol {
|
|
336
|
-
Vertical,
|
|
337
|
-
VerticalRight,
|
|
338
|
-
Horizontal,
|
|
339
|
-
HorizontalLeft,
|
|
340
|
-
HorizontalDown,
|
|
341
|
-
ArrowRight,
|
|
342
|
-
CurveRight,
|
|
343
|
-
|
|
344
|
-
Space,
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
/// We use symbols during resolution, which is efficient and versatile, but makes the conversion
|
|
348
|
-
/// between [`Instruction`] to [`Symbol`] harder to comprehend for a user.
|
|
349
|
-
///
|
|
350
|
-
/// This macro fixes this by creating a compile-time lookup table to easily map every character in
|
|
351
|
-
/// the [`Display`] of [`Symbol`] to it's corresponding symbol.
|
|
352
|
-
///
|
|
353
|
-
/// # Example
|
|
354
|
-
///
|
|
355
|
-
/// ```ignore
|
|
356
|
-
/// assert_eq!(sym!('├', '┬'), &[
|
|
357
|
-
/// Symbol::VerticalRight,
|
|
358
|
-
/// Symbol::HorizontalDown
|
|
359
|
-
/// ])
|
|
360
|
-
/// ```
|
|
361
|
-
macro_rules! sym {
|
|
362
|
-
(#char '│') => {
|
|
363
|
-
Symbol::Vertical
|
|
364
|
-
};
|
|
365
|
-
|
|
366
|
-
(#char '├') => {
|
|
367
|
-
Symbol::VerticalRight
|
|
368
|
-
};
|
|
369
|
-
|
|
370
|
-
(#char '─') => {
|
|
371
|
-
Symbol::Horizontal
|
|
372
|
-
};
|
|
373
|
-
|
|
374
|
-
(#char '╴') => {
|
|
375
|
-
Symbol::HorizontalLeft
|
|
376
|
-
};
|
|
377
|
-
|
|
378
|
-
(#char '┬') => {
|
|
379
|
-
Symbol::HorizontalDown
|
|
380
|
-
};
|
|
381
|
-
|
|
382
|
-
(#char '▶') => {
|
|
383
|
-
Symbol::ArrowRight
|
|
384
|
-
};
|
|
385
|
-
|
|
386
|
-
(#char '╰') => {
|
|
387
|
-
Symbol::CurveRight
|
|
388
|
-
};
|
|
389
|
-
|
|
390
|
-
(#char ' ') => {
|
|
391
|
-
Symbol::Space
|
|
392
|
-
};
|
|
393
|
-
|
|
394
|
-
($($char:tt),+) => {
|
|
395
|
-
&[$(sym!(#char $char)),*]
|
|
396
|
-
};
|
|
397
|
-
}
|
|
398
|
-
|
|
399
|
-
impl Symbol {
|
|
400
|
-
const fn to_str_utf8(self) -> &'static str {
|
|
401
|
-
match self {
|
|
402
|
-
Self::Vertical => "\u{2502}", // │
|
|
403
|
-
Self::VerticalRight => "\u{251c}", // ├
|
|
404
|
-
Self::Horizontal => "\u{2500}", // ─
|
|
405
|
-
Self::HorizontalLeft => "\u{2574}", // ╴
|
|
406
|
-
Self::HorizontalDown => "\u{252c}", // ┬
|
|
407
|
-
Self::ArrowRight => "\u{25b6}", // ▶
|
|
408
|
-
Self::CurveRight => "\u{2570}", // ╰
|
|
409
|
-
Self::Space => " ",
|
|
410
|
-
}
|
|
411
|
-
}
|
|
412
|
-
|
|
413
|
-
const fn to_str_ascii(self) -> &'static str {
|
|
414
|
-
match self {
|
|
415
|
-
Self::Vertical | Self::VerticalRight | Self::CurveRight => "|",
|
|
416
|
-
Self::Horizontal | Self::HorizontalDown | Self::HorizontalLeft => "-",
|
|
417
|
-
Self::ArrowRight => ">",
|
|
418
|
-
Self::Space => " ",
|
|
419
|
-
}
|
|
420
|
-
}
|
|
421
|
-
|
|
422
|
-
const fn to_str(self, charset: Charset) -> &'static str {
|
|
423
|
-
match charset {
|
|
424
|
-
Charset::Utf8 => self.to_str_utf8(),
|
|
425
|
-
Charset::Ascii => self.to_str_ascii(),
|
|
426
|
-
}
|
|
427
|
-
}
|
|
428
|
-
}
|
|
429
|
-
|
|
430
|
-
struct SymbolDisplay<'a> {
|
|
431
|
-
inner: &'a [Symbol],
|
|
432
|
-
charset: Charset,
|
|
433
|
-
}
|
|
434
|
-
|
|
435
|
-
impl Display for SymbolDisplay<'_> {
|
|
436
|
-
fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result {
|
|
437
|
-
for symbol in self.inner {
|
|
438
|
-
f.write_str(symbol.to_str(self.charset))?;
|
|
439
|
-
}
|
|
440
|
-
|
|
441
|
-
Ok(())
|
|
442
|
-
}
|
|
443
|
-
}
|
|
444
|
-
|
|
445
|
-
#[derive(Debug, Copy, Clone)]
|
|
446
|
-
enum Position {
|
|
447
|
-
First,
|
|
448
|
-
Inner,
|
|
449
|
-
Final,
|
|
450
|
-
}
|
|
451
|
-
|
|
452
|
-
#[derive(Debug, Copy, Clone)]
|
|
453
|
-
enum Spacing {
|
|
454
|
-
// Standard to create a width of 4 characters
|
|
455
|
-
Full,
|
|
456
|
-
// Minimal width to create a width of 2/3 characters
|
|
457
|
-
Minimal,
|
|
458
|
-
}
|
|
459
|
-
|
|
460
|
-
#[derive(Debug, Copy, Clone)]
|
|
461
|
-
struct Indent {
|
|
462
|
-
/// Is this used in a group context, if that is the case, then add a single leading space
|
|
463
|
-
group: bool,
|
|
464
|
-
/// Should the indent be visible, if that isn't the case it will render a space instead of
|
|
465
|
-
/// `|`
|
|
466
|
-
visible: bool,
|
|
467
|
-
/// Should spacing included, this is the difference between `| ` and `|`
|
|
468
|
-
spacing: Option<Spacing>,
|
|
469
|
-
}
|
|
470
|
-
|
|
471
|
-
impl Indent {
|
|
472
|
-
const fn new(group: bool) -> Self {
|
|
473
|
-
Self {
|
|
474
|
-
group,
|
|
475
|
-
visible: true,
|
|
476
|
-
spacing: Some(Spacing::Full),
|
|
477
|
-
}
|
|
478
|
-
}
|
|
479
|
-
|
|
480
|
-
fn spacing(mut self, spacing: impl Into<Option<Spacing>>) -> Self {
|
|
481
|
-
self.spacing = spacing.into();
|
|
482
|
-
self
|
|
483
|
-
}
|
|
484
|
-
|
|
485
|
-
const fn visible(mut self, visible: bool) -> Self {
|
|
486
|
-
self.visible = visible;
|
|
487
|
-
self
|
|
488
|
-
}
|
|
489
|
-
|
|
490
|
-
const fn group() -> Self {
|
|
491
|
-
Self::new(true)
|
|
492
|
-
}
|
|
493
|
-
|
|
494
|
-
const fn no_group() -> Self {
|
|
495
|
-
Self::new(false)
|
|
496
|
-
}
|
|
497
|
-
|
|
498
|
-
const fn prepare(self) -> &'static [Symbol] {
|
|
499
|
-
match self {
|
|
500
|
-
Self {
|
|
501
|
-
group: true,
|
|
502
|
-
visible: true,
|
|
503
|
-
spacing: Some(_),
|
|
504
|
-
} => sym!(' ', '│', ' ', ' '),
|
|
505
|
-
Self {
|
|
506
|
-
group: true,
|
|
507
|
-
visible: true,
|
|
508
|
-
spacing: None,
|
|
509
|
-
} => sym!(' ', '│'),
|
|
510
|
-
Self {
|
|
511
|
-
group: false,
|
|
512
|
-
visible: true,
|
|
513
|
-
spacing: Some(Spacing::Full),
|
|
514
|
-
} => sym!('│', ' ', ' ', ' '),
|
|
515
|
-
Self {
|
|
516
|
-
group: false,
|
|
517
|
-
visible: true,
|
|
518
|
-
spacing: Some(Spacing::Minimal),
|
|
519
|
-
} => sym!('│', ' '),
|
|
520
|
-
Self {
|
|
521
|
-
group: false,
|
|
522
|
-
visible: true,
|
|
523
|
-
spacing: None,
|
|
524
|
-
} => sym!('│'),
|
|
525
|
-
Self {
|
|
526
|
-
visible: false,
|
|
527
|
-
spacing: Some(Spacing::Full),
|
|
528
|
-
..
|
|
529
|
-
} => sym!(' ', ' ', ' ', ' '),
|
|
530
|
-
Self {
|
|
531
|
-
visible: false,
|
|
532
|
-
spacing: Some(Spacing::Minimal),
|
|
533
|
-
..
|
|
534
|
-
} => sym!(' ', ' '),
|
|
535
|
-
Self {
|
|
536
|
-
visible: false,
|
|
537
|
-
spacing: None,
|
|
538
|
-
..
|
|
539
|
-
} => &[],
|
|
540
|
-
}
|
|
541
|
-
}
|
|
542
|
-
}
|
|
543
|
-
|
|
544
|
-
impl From<Indent> for Instruction {
|
|
545
|
-
fn from(indent: Indent) -> Self {
|
|
546
|
-
Self::Indent(indent)
|
|
547
|
-
}
|
|
548
|
-
}
|
|
549
|
-
|
|
550
|
-
/// The display of content is using an instruction style architecture,
|
|
551
|
-
/// where we first render every indentation and action as an [`Instruction`], these instructions
|
|
552
|
-
/// are a lot easier to reason about and enable better manipulation of the stream of data.
|
|
553
|
-
///
|
|
554
|
-
/// Once generation of all data is done, it is interpreted as a String, with glyphs and color added
|
|
555
|
-
/// (if supported and enabled).
|
|
556
|
-
#[derive(Debug)]
|
|
557
|
-
enum Instruction {
|
|
558
|
-
Value {
|
|
559
|
-
value: String,
|
|
560
|
-
style: Style,
|
|
561
|
-
},
|
|
562
|
-
|
|
563
|
-
Group {
|
|
564
|
-
position: Position,
|
|
565
|
-
},
|
|
566
|
-
/// This does not distinguish between first and middle, the true first is handled a bit
|
|
567
|
-
/// differently.
|
|
568
|
-
Context {
|
|
569
|
-
position: Position,
|
|
570
|
-
},
|
|
571
|
-
/// `Position::Final` means *that nothing follows*
|
|
572
|
-
Attachment {
|
|
573
|
-
position: Position,
|
|
574
|
-
},
|
|
575
|
-
|
|
576
|
-
Indent(Indent),
|
|
577
|
-
}
|
|
578
|
-
|
|
579
|
-
/// Minimized instruction, which looses information about what it represents and converts it to
|
|
580
|
-
/// only symbols, this then is output instead.
|
|
581
|
-
enum PreparedInstruction<'a> {
|
|
582
|
-
Symbols(&'a [Symbol]),
|
|
583
|
-
Content(&'a str, &'a Style),
|
|
584
|
-
}
|
|
585
|
-
|
|
586
|
-
impl Instruction {
|
|
587
|
-
// Reason: the match arms are the same intentionally, this makes it more clean which variant
|
|
588
|
-
// emits which and also keeps it nicely formatted.
|
|
589
|
-
#[allow(clippy::match_same_arms)]
|
|
590
|
-
fn prepare(&self) -> PreparedInstruction {
|
|
591
|
-
match self {
|
|
592
|
-
Self::Value { value, style } => PreparedInstruction::Content(value, style),
|
|
593
|
-
|
|
594
|
-
Self::Group { position } => match position {
|
|
595
|
-
Position::First => PreparedInstruction::Symbols(sym!('╰', '┬', '▶', ' ')),
|
|
596
|
-
Position::Inner => PreparedInstruction::Symbols(sym!(' ', '├', '▶', ' ')),
|
|
597
|
-
Position::Final => PreparedInstruction::Symbols(sym!(' ', '╰', '▶', ' ')),
|
|
598
|
-
},
|
|
599
|
-
|
|
600
|
-
Self::Context { position } => match position {
|
|
601
|
-
Position::First => PreparedInstruction::Symbols(sym!('├', '─', '▶', ' ')),
|
|
602
|
-
Position::Inner => PreparedInstruction::Symbols(sym!('├', '─', '▶', ' ')),
|
|
603
|
-
Position::Final => PreparedInstruction::Symbols(sym!('╰', '─', '▶', ' ')),
|
|
604
|
-
},
|
|
605
|
-
|
|
606
|
-
Self::Attachment { position } => match position {
|
|
607
|
-
Position::First => PreparedInstruction::Symbols(sym!('├', '╴')),
|
|
608
|
-
Position::Inner => PreparedInstruction::Symbols(sym!('├', '╴')),
|
|
609
|
-
Position::Final => PreparedInstruction::Symbols(sym!('╰', '╴')),
|
|
610
|
-
},
|
|
611
|
-
|
|
612
|
-
// Indentation (like `| ` or ` | `)
|
|
613
|
-
Self::Indent(indent) => PreparedInstruction::Symbols(indent.prepare()),
|
|
614
|
-
}
|
|
615
|
-
}
|
|
616
|
-
}
|
|
617
|
-
|
|
618
|
-
struct InstructionDisplay<'a> {
|
|
619
|
-
color: ColorMode,
|
|
620
|
-
charset: Charset,
|
|
621
|
-
|
|
622
|
-
instruction: &'a Instruction,
|
|
623
|
-
}
|
|
624
|
-
|
|
625
|
-
impl Display for InstructionDisplay<'_> {
|
|
626
|
-
fn fmt(&self, fmt: &mut Formatter<'_>) -> fmt::Result {
|
|
627
|
-
match self.instruction.prepare() {
|
|
628
|
-
PreparedInstruction::Symbols(symbols) => {
|
|
629
|
-
let display = SymbolDisplay {
|
|
630
|
-
inner: symbols,
|
|
631
|
-
charset: self.charset,
|
|
632
|
-
};
|
|
633
|
-
|
|
634
|
-
let mut style = Style::new();
|
|
635
|
-
|
|
636
|
-
if self.color == ColorMode::Color {
|
|
637
|
-
style.set_foreground(Color::Red, false);
|
|
638
|
-
}
|
|
639
|
-
|
|
640
|
-
Display::fmt(&style.apply(&display), fmt)?;
|
|
641
|
-
}
|
|
642
|
-
PreparedInstruction::Content(value, &style) => Display::fmt(&style.apply(&value), fmt)?,
|
|
643
|
-
}
|
|
644
|
-
|
|
645
|
-
Ok(())
|
|
646
|
-
}
|
|
647
|
-
}
|
|
648
|
-
|
|
649
|
-
struct Line(Vec<Instruction>);
|
|
650
|
-
|
|
651
|
-
impl Line {
|
|
652
|
-
const fn new() -> Self {
|
|
653
|
-
Self(Vec::new())
|
|
654
|
-
}
|
|
655
|
-
|
|
656
|
-
fn push(mut self, instruction: Instruction) -> Self {
|
|
657
|
-
self.0.push(instruction);
|
|
658
|
-
self
|
|
659
|
-
}
|
|
660
|
-
|
|
661
|
-
fn into_lines(self) -> Lines {
|
|
662
|
-
let lines = Lines::new();
|
|
663
|
-
lines.after(self)
|
|
664
|
-
}
|
|
665
|
-
}
|
|
666
|
-
|
|
667
|
-
struct LineDisplay<'a> {
|
|
668
|
-
color: ColorMode,
|
|
669
|
-
charset: Charset,
|
|
670
|
-
|
|
671
|
-
line: &'a Line,
|
|
672
|
-
}
|
|
673
|
-
|
|
674
|
-
impl Display for LineDisplay<'_> {
|
|
675
|
-
fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result {
|
|
676
|
-
for instruction in self.line.0.iter().rev() {
|
|
677
|
-
Display::fmt(
|
|
678
|
-
&InstructionDisplay {
|
|
679
|
-
color: self.color,
|
|
680
|
-
charset: self.charset,
|
|
681
|
-
instruction,
|
|
682
|
-
},
|
|
683
|
-
f,
|
|
684
|
-
)?;
|
|
685
|
-
}
|
|
686
|
-
|
|
687
|
-
Ok(())
|
|
688
|
-
}
|
|
689
|
-
}
|
|
690
|
-
|
|
691
|
-
struct Lines(VecDeque<Line>);
|
|
692
|
-
|
|
693
|
-
impl Lines {
|
|
694
|
-
fn new() -> Self {
|
|
695
|
-
Self(VecDeque::new())
|
|
696
|
-
}
|
|
697
|
-
|
|
698
|
-
fn into_iter(self) -> alloc::collections::vec_deque::IntoIter<Line> {
|
|
699
|
-
self.0.into_iter()
|
|
700
|
-
}
|
|
701
|
-
|
|
702
|
-
fn then(mut self, other: Self) -> Self {
|
|
703
|
-
self.0.extend(other.0);
|
|
704
|
-
self
|
|
705
|
-
}
|
|
706
|
-
|
|
707
|
-
fn before(mut self, line: Line) -> Self {
|
|
708
|
-
self.0.push_front(line);
|
|
709
|
-
self
|
|
710
|
-
}
|
|
711
|
-
|
|
712
|
-
fn after(mut self, line: Line) -> Self {
|
|
713
|
-
self.0.push_back(line);
|
|
714
|
-
self
|
|
715
|
-
}
|
|
716
|
-
|
|
717
|
-
fn into_vec(self) -> Vec<Line> {
|
|
718
|
-
self.0.into_iter().collect()
|
|
719
|
-
}
|
|
720
|
-
}
|
|
721
|
-
|
|
722
|
-
impl FromIterator<Line> for Lines {
|
|
723
|
-
fn from_iter<T: IntoIterator<Item = Line>>(iter: T) -> Self {
|
|
724
|
-
Self(iter.into_iter().collect())
|
|
725
|
-
}
|
|
726
|
-
}
|
|
727
|
-
|
|
728
|
-
/// Collect the current "stack", a stack are the current frames which only have a single
|
|
729
|
-
/// source/parent.
|
|
730
|
-
/// This searches until it finds a stack "split", where a frame has more than a single source.
|
|
731
|
-
fn collect<'a>(root: &'a Frame, prefix: &'a [&Frame]) -> (Vec<&'a Frame>, &'a [Frame]) {
|
|
732
|
-
let mut stack = vec![];
|
|
733
|
-
stack.extend(prefix);
|
|
734
|
-
stack.push(root);
|
|
735
|
-
|
|
736
|
-
let mut ptr = Some(root);
|
|
737
|
-
let mut next: &'a [_] = &[];
|
|
738
|
-
|
|
739
|
-
while let Some(current) = ptr.take() {
|
|
740
|
-
let sources = current.sources();
|
|
741
|
-
|
|
742
|
-
match sources {
|
|
743
|
-
[parent] => {
|
|
744
|
-
stack.push(parent);
|
|
745
|
-
ptr = Some(parent);
|
|
746
|
-
}
|
|
747
|
-
sources => {
|
|
748
|
-
next = sources;
|
|
749
|
-
}
|
|
750
|
-
}
|
|
751
|
-
}
|
|
752
|
-
|
|
753
|
-
(stack, next)
|
|
754
|
-
}
|
|
755
|
-
|
|
756
|
-
/// Partition the tree, this looks for the first `Context`,
|
|
757
|
-
/// then moves it up the chain and adds it to our results.
|
|
758
|
-
/// Once we reach the end all remaining items on the stack are added to the prefix pile,
|
|
759
|
-
/// which will be used in next iteration.
|
|
760
|
-
fn partition<'a>(stack: &'a [&'a Frame]) -> (Vec<(&'a Frame, Vec<&'a Frame>)>, Vec<&'a Frame>) {
|
|
761
|
-
let mut result = vec![];
|
|
762
|
-
let mut queue = vec![];
|
|
763
|
-
|
|
764
|
-
for frame in stack {
|
|
765
|
-
if matches!(frame.kind(), FrameKind::Context(_)) {
|
|
766
|
-
let frames = mem::take(&mut queue);
|
|
767
|
-
|
|
768
|
-
result.push((*frame, frames));
|
|
769
|
-
} else {
|
|
770
|
-
queue.push(*frame);
|
|
771
|
-
}
|
|
772
|
-
}
|
|
773
|
-
|
|
774
|
-
(result, queue)
|
|
775
|
-
}
|
|
776
|
-
|
|
777
|
-
fn debug_context(context: &dyn Context, mode: ColorMode) -> Lines {
|
|
778
|
-
context
|
|
779
|
-
.to_string()
|
|
780
|
-
.lines()
|
|
781
|
-
.map(ToOwned::to_owned)
|
|
782
|
-
.enumerate()
|
|
783
|
-
.map(|(idx, value)| {
|
|
784
|
-
if idx == 0 {
|
|
785
|
-
let mut style = Style::new();
|
|
786
|
-
|
|
787
|
-
if mode == ColorMode::Color || mode == ColorMode::Emphasis {
|
|
788
|
-
style.set_display(DisplayStyle::new().with_bold(true));
|
|
789
|
-
}
|
|
790
|
-
|
|
791
|
-
Line::new().push(Instruction::Value { value, style })
|
|
792
|
-
} else {
|
|
793
|
-
Line::new().push(Instruction::Value {
|
|
794
|
-
value,
|
|
795
|
-
style: Style::new(),
|
|
796
|
-
})
|
|
797
|
-
}
|
|
798
|
-
})
|
|
799
|
-
.collect()
|
|
800
|
-
}
|
|
801
|
-
|
|
802
|
-
struct Opaque(usize);
|
|
803
|
-
|
|
804
|
-
impl Opaque {
|
|
805
|
-
const fn new() -> Self {
|
|
806
|
-
Self(0)
|
|
807
|
-
}
|
|
808
|
-
|
|
809
|
-
fn increase(&mut self) {
|
|
810
|
-
self.0 += 1;
|
|
811
|
-
}
|
|
812
|
-
|
|
813
|
-
fn render(self) -> Option<Line> {
|
|
814
|
-
match self.0 {
|
|
815
|
-
0 => None,
|
|
816
|
-
1 => Some(Line::new().push(Instruction::Value {
|
|
817
|
-
value: "1 additional opaque attachment".to_owned(),
|
|
818
|
-
style: Style::new(),
|
|
819
|
-
})),
|
|
820
|
-
n => Some(Line::new().push(Instruction::Value {
|
|
821
|
-
value: format!("{n} additional opaque attachments"),
|
|
822
|
-
style: Style::new(),
|
|
823
|
-
})),
|
|
824
|
-
}
|
|
825
|
-
}
|
|
826
|
-
}
|
|
827
|
-
|
|
828
|
-
#[allow(clippy::needless_pass_by_ref_mut)]
|
|
829
|
-
fn debug_attachments_invoke<'a>(
|
|
830
|
-
frames: impl IntoIterator<Item = &'a Frame>,
|
|
831
|
-
config: &mut Config,
|
|
832
|
-
) -> (Opaque, Vec<String>) {
|
|
833
|
-
let mut opaque = Opaque::new();
|
|
834
|
-
|
|
835
|
-
#[cfg(any(feature = "std", feature = "hooks"))]
|
|
836
|
-
let context = config.context();
|
|
837
|
-
|
|
838
|
-
let body = frames
|
|
839
|
-
.into_iter()
|
|
840
|
-
.map(|frame| match frame.kind() {
|
|
841
|
-
#[cfg(any(feature = "std", feature = "hooks"))]
|
|
842
|
-
FrameKind::Context(_) => Some(
|
|
843
|
-
Report::invoke_debug_format_hook(|hooks| hooks.call(frame, context))
|
|
844
|
-
.then(|| context.take_body())
|
|
845
|
-
.unwrap_or_default(),
|
|
846
|
-
),
|
|
847
|
-
#[cfg(any(feature = "std", feature = "hooks"))]
|
|
848
|
-
FrameKind::Attachment(AttachmentKind::Printable(attachment)) => Some(
|
|
849
|
-
Report::invoke_debug_format_hook(|hooks| hooks.call(frame, context))
|
|
850
|
-
.then(|| context.take_body())
|
|
851
|
-
.unwrap_or_else(|| vec![attachment.to_string()]),
|
|
852
|
-
),
|
|
853
|
-
#[cfg(any(feature = "std", feature = "hooks"))]
|
|
854
|
-
FrameKind::Attachment(AttachmentKind::Opaque(_)) => {
|
|
855
|
-
Report::invoke_debug_format_hook(|hooks| hooks.call(frame, context))
|
|
856
|
-
.then(|| context.take_body())
|
|
857
|
-
}
|
|
858
|
-
#[cfg(not(any(feature = "std", feature = "hooks")))]
|
|
859
|
-
FrameKind::Context(_) => Some(vec![]),
|
|
860
|
-
#[cfg(not(any(feature = "std", feature = "hooks")))]
|
|
861
|
-
FrameKind::Attachment(AttachmentKind::Printable(attachment)) => {
|
|
862
|
-
Some(vec![attachment.to_string()])
|
|
863
|
-
}
|
|
864
|
-
#[cfg(not(any(feature = "std", feature = "hooks")))]
|
|
865
|
-
FrameKind::Attachment(AttachmentKind::Opaque(_)) => frame
|
|
866
|
-
.downcast_ref::<core::panic::Location<'static>>()
|
|
867
|
-
.map(|location| {
|
|
868
|
-
vec![LocationAttachment::new(location, config.color_mode()).to_string()]
|
|
869
|
-
}),
|
|
870
|
-
})
|
|
871
|
-
.flat_map(|body| {
|
|
872
|
-
body.unwrap_or_else(|| {
|
|
873
|
-
// increase the opaque counter, if we're unable to determine the actual value of
|
|
874
|
-
// the frame
|
|
875
|
-
opaque.increase();
|
|
876
|
-
Vec::new()
|
|
877
|
-
})
|
|
878
|
-
})
|
|
879
|
-
.collect();
|
|
880
|
-
|
|
881
|
-
(opaque, body)
|
|
882
|
-
}
|
|
883
|
-
|
|
884
|
-
fn debug_attachments<'a>(
|
|
885
|
-
position: Position,
|
|
886
|
-
frames: impl IntoIterator<Item = &'a Frame>,
|
|
887
|
-
config: &mut Config,
|
|
888
|
-
) -> Lines {
|
|
889
|
-
let last = matches!(position, Position::Final);
|
|
890
|
-
|
|
891
|
-
let (opaque, entries) = debug_attachments_invoke(frames, config);
|
|
892
|
-
let opaque = opaque.render();
|
|
893
|
-
|
|
894
|
-
// Calculate the expected end length, by adding all values that have would contribute to the
|
|
895
|
-
// line count later.
|
|
896
|
-
let len = entries.len() + opaque.as_ref().map_or(0, |_| 1);
|
|
897
|
-
let lines = entries.into_iter().map(|value| {
|
|
898
|
-
value
|
|
899
|
-
.lines()
|
|
900
|
-
.map(ToOwned::to_owned)
|
|
901
|
-
.map(|line| {
|
|
902
|
-
Line::new().push(Instruction::Value {
|
|
903
|
-
value: line,
|
|
904
|
-
style: Style::new(),
|
|
905
|
-
})
|
|
906
|
-
})
|
|
907
|
-
.collect::<Vec<_>>()
|
|
908
|
-
});
|
|
909
|
-
|
|
910
|
-
// indentation for every first line, use `Instruction::Attachment`, otherwise use minimal
|
|
911
|
-
// indent omit that indent when we're the last value
|
|
912
|
-
lines
|
|
913
|
-
.chain(opaque.into_iter().map(|line| line.into_lines().into_vec()))
|
|
914
|
-
.enumerate()
|
|
915
|
-
.flat_map(|(idx, lines)| {
|
|
916
|
-
let position = match idx {
|
|
917
|
-
pos if pos + 1 == len && last => Position::Final,
|
|
918
|
-
0 => Position::First,
|
|
919
|
-
_ => Position::Inner,
|
|
920
|
-
};
|
|
921
|
-
|
|
922
|
-
lines.into_iter().enumerate().map(move |(idx, line)| {
|
|
923
|
-
if idx == 0 {
|
|
924
|
-
line.push(Instruction::Attachment { position })
|
|
925
|
-
} else {
|
|
926
|
-
line.push(
|
|
927
|
-
Indent::no_group()
|
|
928
|
-
.visible(!matches!(position, Position::Final))
|
|
929
|
-
.spacing(Spacing::Minimal)
|
|
930
|
-
.into(),
|
|
931
|
-
)
|
|
932
|
-
}
|
|
933
|
-
})
|
|
934
|
-
})
|
|
935
|
-
.collect()
|
|
936
|
-
}
|
|
937
|
-
|
|
938
|
-
fn debug_render(head: Lines, contexts: VecDeque<Lines>, sources: Vec<Lines>) -> Lines {
|
|
939
|
-
let len = sources.len();
|
|
940
|
-
let sources = sources
|
|
941
|
-
.into_iter()
|
|
942
|
-
.enumerate()
|
|
943
|
-
.map(|(idx, lines)| {
|
|
944
|
-
let position = match idx {
|
|
945
|
-
// this is first to make sure that 0 is caught as `Last` instead of `First`
|
|
946
|
-
pos if pos + 1 == len => Position::Final,
|
|
947
|
-
0 => Position::First,
|
|
948
|
-
_ => Position::Inner,
|
|
949
|
-
};
|
|
950
|
-
|
|
951
|
-
lines
|
|
952
|
-
.into_iter()
|
|
953
|
-
.enumerate()
|
|
954
|
-
.map(|(idx, line)| {
|
|
955
|
-
if idx == 0 {
|
|
956
|
-
line.push(Instruction::Group { position })
|
|
957
|
-
} else {
|
|
958
|
-
line.push(
|
|
959
|
-
Indent::group()
|
|
960
|
-
.visible(!matches!(position, Position::Final))
|
|
961
|
-
.into(),
|
|
962
|
-
)
|
|
963
|
-
}
|
|
964
|
-
})
|
|
965
|
-
.collect::<Lines>()
|
|
966
|
-
.before(
|
|
967
|
-
// add a buffer line for readability
|
|
968
|
-
Line::new().push(Indent::new(idx != 0).spacing(None).into()),
|
|
969
|
-
)
|
|
970
|
-
})
|
|
971
|
-
.collect::<Vec<_>>();
|
|
972
|
-
|
|
973
|
-
let tail = !sources.is_empty();
|
|
974
|
-
let len = contexts.len();
|
|
975
|
-
|
|
976
|
-
// insert the arrows and buffer indentation
|
|
977
|
-
let contexts = contexts.into_iter().enumerate().flat_map(|(idx, lines)| {
|
|
978
|
-
let position = match idx {
|
|
979
|
-
pos if pos + 1 == len && !tail => Position::Final,
|
|
980
|
-
0 => Position::First,
|
|
981
|
-
_ => Position::Inner,
|
|
982
|
-
};
|
|
983
|
-
|
|
984
|
-
let mut lines = lines
|
|
985
|
-
.into_iter()
|
|
986
|
-
.enumerate()
|
|
987
|
-
.map(|(idx, line)| {
|
|
988
|
-
if idx == 0 {
|
|
989
|
-
line.push(Instruction::Context { position })
|
|
990
|
-
} else {
|
|
991
|
-
line.push(
|
|
992
|
-
Indent::no_group()
|
|
993
|
-
.visible(!matches!(position, Position::Final))
|
|
994
|
-
.into(),
|
|
995
|
-
)
|
|
996
|
-
}
|
|
997
|
-
})
|
|
998
|
-
.collect::<Vec<_>>();
|
|
999
|
-
|
|
1000
|
-
// this is not using `.collect<>().before()`, because somehow that kills rustfmt?!
|
|
1001
|
-
lines.insert(0, Line::new().push(Indent::no_group().spacing(None).into()));
|
|
1002
|
-
|
|
1003
|
-
lines
|
|
1004
|
-
});
|
|
1005
|
-
|
|
1006
|
-
head.into_iter()
|
|
1007
|
-
.chain(contexts)
|
|
1008
|
-
.chain(sources.into_iter().flat_map(Lines::into_vec))
|
|
1009
|
-
.collect()
|
|
1010
|
-
}
|
|
1011
|
-
|
|
1012
|
-
fn debug_frame(root: &Frame, prefix: &[&Frame], config: &mut Config) -> Vec<Lines> {
|
|
1013
|
-
let (stack, sources) = collect(root, prefix);
|
|
1014
|
-
let (stack, prefix) = partition(&stack);
|
|
1015
|
-
|
|
1016
|
-
let len = stack.len();
|
|
1017
|
-
// collect all the contexts that we have partitioned previously and render them
|
|
1018
|
-
let mut contexts: VecDeque<_> = stack
|
|
1019
|
-
.into_iter()
|
|
1020
|
-
.enumerate()
|
|
1021
|
-
.map(|(idx, (head, mut body))| {
|
|
1022
|
-
// each "paket" on the stack is made up of a head (guaranteed to be a `Context`) and
|
|
1023
|
-
// `n` attachments.
|
|
1024
|
-
// The attachments are rendered as direct descendants of the parent context
|
|
1025
|
-
let head_context = debug_context(
|
|
1026
|
-
match head.kind() {
|
|
1027
|
-
FrameKind::Context(c) => c,
|
|
1028
|
-
FrameKind::Attachment(_) => unreachable!(),
|
|
1029
|
-
},
|
|
1030
|
-
config.color_mode(),
|
|
1031
|
-
);
|
|
1032
|
-
|
|
1033
|
-
// reverse all attachments, to make it more logical relative to the attachment order
|
|
1034
|
-
body.reverse();
|
|
1035
|
-
let body = debug_attachments(
|
|
1036
|
-
// This makes sure that we use `╰─` instead of `├─`,
|
|
1037
|
-
// this is true whenever we only have a single context and no sources,
|
|
1038
|
-
// **or** if our idx is larger than `0`, this might sound false,
|
|
1039
|
-
// but this is because contexts other than the first context create a new
|
|
1040
|
-
// "indentation", in this indentation we are considered last.
|
|
1041
|
-
//
|
|
1042
|
-
// Context A
|
|
1043
|
-
// ├╴Attachment B
|
|
1044
|
-
// ├╴Attachment C <- not last, because we are not the only context
|
|
1045
|
-
// |
|
|
1046
|
-
// ╰─▶ Context D <- indentation here is handled by `debug_render`!
|
|
1047
|
-
// ├╴Attachment E
|
|
1048
|
-
// ╰╴Attachment F <- last because it's the last of the parent context!
|
|
1049
|
-
if (len == 1 && sources.is_empty()) || idx > 0 {
|
|
1050
|
-
Position::Final
|
|
1051
|
-
} else {
|
|
1052
|
-
Position::Inner
|
|
1053
|
-
},
|
|
1054
|
-
once(head).chain(body),
|
|
1055
|
-
config,
|
|
1056
|
-
);
|
|
1057
|
-
head_context.then(body)
|
|
1058
|
-
})
|
|
1059
|
-
.collect();
|
|
1060
|
-
|
|
1061
|
-
let sources = sources
|
|
1062
|
-
.iter()
|
|
1063
|
-
.flat_map(
|
|
1064
|
-
// if the group is "transparent" (has no context), it will return all it's parents
|
|
1065
|
-
// rendered this is why we must first flat_map.
|
|
1066
|
-
|source| debug_frame(source, &prefix, config),
|
|
1067
|
-
)
|
|
1068
|
-
.collect::<Vec<_>>();
|
|
1069
|
-
|
|
1070
|
-
// if there is no context, this is considered a "transparent" group,
|
|
1071
|
-
// and just directly returns all sources without modifying them
|
|
1072
|
-
if contexts.is_empty() {
|
|
1073
|
-
return sources;
|
|
1074
|
-
}
|
|
1075
|
-
|
|
1076
|
-
// take the first Context, this is our "root", all others are indented
|
|
1077
|
-
// this unwrap always succeeds due to the call before <3
|
|
1078
|
-
let head = contexts
|
|
1079
|
-
.pop_front()
|
|
1080
|
-
.expect("should always have single context");
|
|
1081
|
-
|
|
1082
|
-
// combine everything into a single group
|
|
1083
|
-
vec![debug_render(head, contexts, sources)]
|
|
1084
|
-
}
|
|
1085
|
-
|
|
1086
|
-
impl<C> Debug for Report<C> {
|
|
1087
|
-
fn fmt(&self, fmt: &mut Formatter<'_>) -> fmt::Result {
|
|
1088
|
-
let mut config = Config::load(fmt.alternate());
|
|
1089
|
-
|
|
1090
|
-
let color = config.color_mode();
|
|
1091
|
-
let charset = config.charset();
|
|
1092
|
-
|
|
1093
|
-
#[cfg_attr(not(any(feature = "std", feature = "hooks")), allow(unused_mut))]
|
|
1094
|
-
let mut lines = self
|
|
1095
|
-
.current_frames()
|
|
1096
|
-
.iter()
|
|
1097
|
-
.flat_map(|frame| debug_frame(frame, &[], &mut config))
|
|
1098
|
-
.enumerate()
|
|
1099
|
-
.flat_map(|(idx, lines)| {
|
|
1100
|
-
if idx == 0 {
|
|
1101
|
-
lines.into_vec()
|
|
1102
|
-
} else {
|
|
1103
|
-
lines
|
|
1104
|
-
.before(
|
|
1105
|
-
Line::new()
|
|
1106
|
-
.push(Indent::no_group().visible(false).spacing(None).into()),
|
|
1107
|
-
)
|
|
1108
|
-
.into_vec()
|
|
1109
|
-
}
|
|
1110
|
-
})
|
|
1111
|
-
.map(|line| {
|
|
1112
|
-
LineDisplay {
|
|
1113
|
-
color,
|
|
1114
|
-
charset,
|
|
1115
|
-
line: &line,
|
|
1116
|
-
}
|
|
1117
|
-
.to_string()
|
|
1118
|
-
})
|
|
1119
|
-
.collect::<Vec<_>>()
|
|
1120
|
-
.join("\n");
|
|
1121
|
-
|
|
1122
|
-
#[cfg(any(feature = "std", feature = "hooks"))]
|
|
1123
|
-
{
|
|
1124
|
-
let appendix = config
|
|
1125
|
-
.context::<Frame>()
|
|
1126
|
-
.appendix()
|
|
1127
|
-
.iter()
|
|
1128
|
-
.map(
|
|
1129
|
-
// remove all trailing newlines for a more uniform look
|
|
1130
|
-
|snippet| snippet.trim_end_matches('\n').to_owned(),
|
|
1131
|
-
)
|
|
1132
|
-
.collect::<Vec<_>>()
|
|
1133
|
-
.join("\n\n");
|
|
1134
|
-
|
|
1135
|
-
if !appendix.is_empty() {
|
|
1136
|
-
// 44 is the size for the separation.
|
|
1137
|
-
lines.reserve(44 + appendix.len());
|
|
1138
|
-
|
|
1139
|
-
lines.push_str("\n\n");
|
|
1140
|
-
if charset == Charset::Utf8 {
|
|
1141
|
-
lines.push_str(&"\u{2501}".repeat(40)); // ━
|
|
1142
|
-
} else {
|
|
1143
|
-
lines.push_str(&"=".repeat(40));
|
|
1144
|
-
}
|
|
1145
|
-
|
|
1146
|
-
lines.push_str("\n\n");
|
|
1147
|
-
lines.push_str(&appendix);
|
|
1148
|
-
}
|
|
1149
|
-
}
|
|
1150
|
-
|
|
1151
|
-
fmt.write_str(&lines)
|
|
1152
|
-
}
|
|
1153
|
-
}
|
|
1154
|
-
|
|
1155
|
-
impl<Context> Display for Report<Context> {
|
|
1156
|
-
fn fmt(&self, fmt: &mut Formatter<'_>) -> fmt::Result {
|
|
1157
|
-
for (index, frame) in self
|
|
1158
|
-
.frames()
|
|
1159
|
-
.filter_map(|frame| match frame.kind() {
|
|
1160
|
-
FrameKind::Context(context) => Some(context.to_string()),
|
|
1161
|
-
FrameKind::Attachment(_) => None,
|
|
1162
|
-
})
|
|
1163
|
-
.enumerate()
|
|
1164
|
-
{
|
|
1165
|
-
if index == 0 {
|
|
1166
|
-
fmt::Display::fmt(&frame, fmt)?;
|
|
1167
|
-
if !fmt.alternate() {
|
|
1168
|
-
break;
|
|
1169
|
-
}
|
|
1170
|
-
} else {
|
|
1171
|
-
write!(fmt, ": {frame}")?;
|
|
1172
|
-
}
|
|
1173
|
-
}
|
|
1174
|
-
|
|
1175
|
-
Ok(())
|
|
1176
|
-
}
|
|
1177
|
-
}
|