code_ownership 2.0.0.pre.1 → 2.0.0.pre.3
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 +22 -31
- data/ext/cargo-vendor/codeowners-0.2.17/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/codeowners-0.2.17/Cargo.lock +1257 -0
- data/ext/cargo-vendor/codeowners-0.2.17/Cargo.toml +111 -0
- data/ext/cargo-vendor/codeowners-0.2.17/README.md +287 -0
- data/ext/cargo-vendor/codeowners-0.2.17/dev/run_benchmarks_for_gv.sh +12 -0
- data/ext/cargo-vendor/codeowners-0.2.17/rust-toolchain.toml +4 -0
- data/ext/cargo-vendor/codeowners-0.2.17/src/cache/file.rs +179 -0
- data/ext/cargo-vendor/codeowners-0.2.17/src/cli.rs +129 -0
- data/ext/cargo-vendor/codeowners-0.2.17/src/common_test.rs +358 -0
- data/ext/cargo-vendor/codeowners-0.2.17/src/config.rs +126 -0
- data/ext/cargo-vendor/codeowners-0.2.17/src/crosscheck.rs +90 -0
- data/ext/cargo-vendor/codeowners-0.2.17/src/lib.rs +11 -0
- data/ext/cargo-vendor/codeowners-0.2.17/src/main.rs +43 -0
- data/ext/cargo-vendor/codeowners-0.2.17/src/ownership/codeowners_file_parser.rs +504 -0
- data/ext/cargo-vendor/codeowners-0.2.17/src/ownership/codeowners_query.rs +32 -0
- data/ext/cargo-vendor/codeowners-0.2.17/src/ownership/file_generator.rs +203 -0
- data/ext/cargo-vendor/codeowners-0.2.17/src/ownership/file_owner_resolver.rs +414 -0
- data/ext/cargo-vendor/codeowners-0.2.17/src/ownership/mapper/annotated_file_mapper.rs +158 -0
- data/ext/cargo-vendor/codeowners-0.2.17/src/ownership/mapper/package_mapper.rs +220 -0
- data/ext/cargo-vendor/codeowners-0.2.17/src/ownership/mapper.rs +249 -0
- data/ext/cargo-vendor/codeowners-0.2.17/src/ownership/validator.rs +218 -0
- data/ext/cargo-vendor/codeowners-0.2.17/src/ownership.rs +223 -0
- data/ext/cargo-vendor/codeowners-0.2.17/src/path_utils.rs +49 -0
- data/ext/cargo-vendor/codeowners-0.2.17/src/project.rs +229 -0
- data/ext/cargo-vendor/codeowners-0.2.17/src/project_builder.rs +337 -0
- data/ext/cargo-vendor/codeowners-0.2.17/src/project_file_builder.rs +107 -0
- data/ext/cargo-vendor/codeowners-0.2.17/src/runner/api.rs +141 -0
- data/ext/cargo-vendor/codeowners-0.2.17/src/runner/types.rs +37 -0
- data/ext/cargo-vendor/codeowners-0.2.17/src/runner.rs +390 -0
- data/ext/cargo-vendor/codeowners-0.2.17/src/tracked_files.rs +58 -0
- data/ext/cargo-vendor/codeowners-0.2.17/tests/common/mod.rs +179 -0
- data/ext/cargo-vendor/codeowners-0.2.17/tests/crosscheck_owners_test.rs +74 -0
- data/ext/cargo-vendor/codeowners-0.2.17/tests/fixtures/javascript_only_project/.github/CODEOWNERS +9 -0
- data/ext/cargo-vendor/codeowners-0.2.17/tests/fixtures/javascript_only_project/.keep +3 -0
- data/ext/cargo-vendor/codeowners-0.2.17/tests/fixtures/javascript_only_project/config/code_ownership.yml +12 -0
- data/ext/cargo-vendor/codeowners-0.2.17/tests/fixtures/javascript_only_project/config/teams/design.yml +7 -0
- data/ext/cargo-vendor/codeowners-0.2.17/tests/fixtures/javascript_only_project/config/teams/frontend.yml +6 -0
- data/ext/cargo-vendor/codeowners-0.2.17/tests/fixtures/javascript_only_project/frontend/apps/public/index.tsx +6 -0
- data/ext/cargo-vendor/codeowners-0.2.17/tests/fixtures/javascript_only_project/frontend/packages/dashboard/package.json +9 -0
- data/ext/cargo-vendor/codeowners-0.2.17/tests/fixtures/javascript_only_project/frontend/packages/dashboard/src/index.tsx +6 -0
- data/ext/cargo-vendor/codeowners-0.2.17/tests/fixtures/javascript_only_project/frontend/packages/ui-kit/.codeowner +3 -0
- data/ext/cargo-vendor/codeowners-0.2.17/tests/fixtures/javascript_only_project/frontend/packages/ui-kit/src/button.tsx +5 -0
- data/ext/cargo-vendor/codeowners-0.2.17/tests/fixtures/multiple-directory-owners/config/code_ownership.yml +10 -0
- data/ext/cargo-vendor/codeowners-0.2.17/tests/fixtures/valid_project/.github/CODEOWNERS +41 -0
- data/ext/cargo-vendor/codeowners-0.2.17/tests/fixtures/valid_project/config/code_ownership.yml +10 -0
- data/ext/cargo-vendor/codeowners-0.2.17/tests/fixtures/valid_project/javascript/packages/list/page-admin.tsx +1 -0
- data/ext/cargo-vendor/codeowners-0.2.17/tests/fixtures/valid_project/ruby/app/models/payroll.rb +3 -0
- data/ext/cargo-vendor/codeowners-0.2.17/tests/fixtures/valid_project/ruby/app/views/foos/edit.erb +1 -0
- data/ext/cargo-vendor/codeowners-0.2.17/tests/fixtures/valid_project/ruby/app/views/foos/index.html.erb +1 -0
- data/ext/cargo-vendor/codeowners-0.2.17/tests/fixtures/valid_project/ruby/app/views/foos/new.html.erb +1 -0
- data/ext/cargo-vendor/codeowners-0.2.17/tests/fixtures/valid_project_with_overrides/.github/CODEOWNERS +53 -0
- data/ext/cargo-vendor/codeowners-0.2.17/tests/fixtures/valid_project_with_overrides/config/code_ownership.yml +10 -0
- data/ext/cargo-vendor/codeowners-0.2.17/tests/fixtures/valid_project_with_overrides/config/teams/brewers.yml +11 -0
- data/ext/cargo-vendor/codeowners-0.2.17/tests/fixtures/valid_project_with_overrides/config/teams/cubs.yml +9 -0
- data/ext/cargo-vendor/codeowners-0.2.17/tests/fixtures/valid_project_with_overrides/config/teams/giants.yml +8 -0
- data/ext/cargo-vendor/codeowners-0.2.17/tests/fixtures/valid_project_with_overrides/config/teams/rockies.yml +8 -0
- data/ext/cargo-vendor/codeowners-0.2.17/tests/fixtures/valid_project_with_overrides/frontend/packages/components/datepicker/package.json +5 -0
- data/ext/cargo-vendor/codeowners-0.2.17/tests/fixtures/valid_project_with_overrides/frontend/packages/components/datepicker/src/picks/dp.tsx +3 -0
- data/ext/cargo-vendor/codeowners-0.2.17/tests/fixtures/valid_project_with_overrides/frontend/packages/components/list/package.json +5 -0
- data/ext/cargo-vendor/codeowners-0.2.17/tests/fixtures/valid_project_with_overrides/frontend/packages/components/list/src/item.tsx +3 -0
- data/ext/cargo-vendor/codeowners-0.2.17/tests/fixtures/valid_project_with_overrides/frontend/packages/components/textfield/package.json +5 -0
- data/ext/cargo-vendor/codeowners-0.2.17/tests/fixtures/valid_project_with_overrides/frontend/packages/components/textfield/src/field.tsx +3 -0
- data/ext/cargo-vendor/codeowners-0.2.17/tests/fixtures/valid_project_with_overrides/frontend/packages/components/textfield/src/fields/small.tsx +3 -0
- data/ext/cargo-vendor/codeowners-0.2.17/tests/fixtures/valid_project_with_overrides/gems/apollo/lib/apollo.rb +6 -0
- data/ext/cargo-vendor/codeowners-0.2.17/tests/fixtures/valid_project_with_overrides/gems/ivy/lib/ivy.rb +6 -0
- data/ext/cargo-vendor/codeowners-0.2.17/tests/fixtures/valid_project_with_overrides/gems/lager/lib/lager.rb +6 -0
- data/ext/cargo-vendor/codeowners-0.2.17/tests/fixtures/valid_project_with_overrides/gems/summit/lib/summit.rb +6 -0
- data/ext/cargo-vendor/codeowners-0.2.17/tests/fixtures/valid_project_with_overrides/packs/games/package.yml +1 -0
- data/ext/cargo-vendor/codeowners-0.2.17/tests/fixtures/valid_project_with_overrides/packs/locations/app/services/capacity.rb +0 -0
- data/ext/cargo-vendor/codeowners-0.2.17/tests/fixtures/valid_project_with_overrides/packs/locations/package.yml +1 -0
- data/ext/cargo-vendor/codeowners-0.2.17/tests/fixtures/valid_project_with_overrides/packs/schedule/app/services/date.rb +0 -0
- data/ext/cargo-vendor/codeowners-0.2.17/tests/fixtures/valid_project_with_overrides/packs/schedule/package.yml +1 -0
- data/ext/cargo-vendor/codeowners-0.2.17/tests/fixtures/valid_project_with_overrides/ruby/app/brewers/lib/util.rb +3 -0
- data/ext/cargo-vendor/codeowners-0.2.17/tests/fixtures/valid_project_with_overrides/ruby/app/brewers/services/play.rb +9 -0
- data/ext/cargo-vendor/codeowners-0.2.17/tests/fixtures/valid_project_with_overrides/ruby/app/cubs/.codeowner +3 -0
- data/ext/cargo-vendor/codeowners-0.2.17/tests/fixtures/valid_project_with_overrides/ruby/app/cubs/services/models/.codeowner +1 -0
- data/ext/cargo-vendor/codeowners-0.2.17/tests/fixtures/valid_project_with_overrides/ruby/app/cubs/services/models/db/price.rb +5 -0
- data/ext/cargo-vendor/codeowners-0.2.17/tests/fixtures/valid_project_with_overrides/ruby/app/cubs/services/models/entertainment.rb +0 -0
- data/ext/cargo-vendor/codeowners-0.2.17/tests/fixtures/valid_project_with_overrides/ruby/app/cubs/services/play.rb +5 -0
- data/ext/cargo-vendor/codeowners-0.2.17/tests/fixtures/valid_project_with_overrides/ruby/app/giants/services/play.rb +0 -0
- data/ext/cargo-vendor/codeowners-0.2.17/tests/fixtures/valid_project_with_overrides/ruby/app/rockies/services/play.rb +0 -0
- data/ext/cargo-vendor/codeowners-0.2.17/tests/invalid_project_test.rs +144 -0
- data/ext/cargo-vendor/codeowners-0.2.17/tests/multiple_directory_owners_test.rs +41 -0
- data/ext/cargo-vendor/codeowners-0.2.17/tests/runner_api.rs +181 -0
- data/ext/cargo-vendor/codeowners-0.2.17/tests/untracked_files_test.rs +38 -0
- data/ext/cargo-vendor/codeowners-0.2.17/tests/valid_project_test.rs +348 -0
- data/ext/cargo-vendor/codeowners-0.2.17/tests/valid_project_with_overrides_test.rs +38 -0
- data/ext/cargo-vendor/codeowners-0.2.17/tmp/.gitkeep +0 -0
- data/ext/cargo-vendor/glob-0.3.3/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/glob-0.3.3/.cargo_vcs_info.json +6 -0
- data/ext/cargo-vendor/glob-0.3.3/.github/workflows/rust.yml +99 -0
- data/ext/cargo-vendor/glob-0.3.3/CHANGELOG.md +44 -0
- data/ext/cargo-vendor/glob-0.3.3/Cargo.lock +107 -0
- data/ext/cargo-vendor/glob-0.3.3/Cargo.toml +45 -0
- data/ext/cargo-vendor/glob-0.3.3/Cargo.toml.orig +18 -0
- data/ext/cargo-vendor/glob-0.3.3/README.md +38 -0
- data/ext/cargo-vendor/glob-0.3.3/src/lib.rs +1511 -0
- data/ext/cargo-vendor/glob-0.3.3/tests/glob-std.rs +477 -0
- data/ext/cargo-vendor/indexmap-2.11.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/indexmap-2.11.0/.cargo_vcs_info.json +6 -0
- data/ext/cargo-vendor/indexmap-2.11.0/.github/workflows/ci.yml +165 -0
- data/ext/cargo-vendor/indexmap-2.11.0/Cargo.lock +243 -0
- data/ext/cargo-vendor/indexmap-2.11.0/Cargo.toml +148 -0
- data/ext/cargo-vendor/indexmap-2.11.0/Cargo.toml.orig +62 -0
- data/ext/cargo-vendor/indexmap-2.11.0/RELEASES.md +575 -0
- data/ext/cargo-vendor/indexmap-2.11.0/src/lib.rs +290 -0
- data/ext/cargo-vendor/indexmap-2.11.0/src/map/core/entry.rs +625 -0
- data/ext/cargo-vendor/indexmap-2.11.0/src/map/core.rs +764 -0
- data/ext/cargo-vendor/indexmap-2.11.0/src/map/mutable.rs +165 -0
- data/ext/cargo-vendor/indexmap-2.11.0/src/map/slice.rs +800 -0
- data/ext/cargo-vendor/indexmap-2.11.0/src/map/tests.rs +1312 -0
- data/ext/cargo-vendor/indexmap-2.11.0/src/map.rs +1832 -0
- data/ext/cargo-vendor/indexmap-2.11.0/src/rayon/map.rs +686 -0
- data/ext/cargo-vendor/indexmap-2.11.0/src/rayon/set.rs +777 -0
- data/ext/cargo-vendor/indexmap-2.11.0/src/set/mutable.rs +86 -0
- data/ext/cargo-vendor/indexmap-2.11.0/src/set/slice.rs +427 -0
- data/ext/cargo-vendor/indexmap-2.11.0/src/set/tests.rs +1060 -0
- data/ext/cargo-vendor/indexmap-2.11.0/src/set.rs +1454 -0
- data/ext/cargo-vendor/indexmap-2.11.0/src/sval.rs +36 -0
- data/ext/cargo-vendor/indexmap-2.11.0/tests/quick.rs +894 -0
- data/ext/cargo-vendor/rayon-1.11.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/rayon-1.11.0/.cargo_vcs_info.json +6 -0
- data/ext/cargo-vendor/rayon-1.11.0/Cargo.lock +318 -0
- data/ext/cargo-vendor/rayon-1.11.0/Cargo.toml +130 -0
- data/ext/cargo-vendor/rayon-1.11.0/Cargo.toml.orig +57 -0
- data/ext/cargo-vendor/rayon-1.11.0/FAQ.md +213 -0
- data/ext/cargo-vendor/rayon-1.11.0/README.md +150 -0
- data/ext/cargo-vendor/rayon-1.11.0/RELEASES.md +922 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/array.rs +85 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/collections/binary_heap.rs +129 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/collections/btree_map.rs +66 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/collections/btree_set.rs +52 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/collections/hash_map.rs +93 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/collections/hash_set.rs +79 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/collections/linked_list.rs +66 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/collections/mod.rs +84 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/collections/vec_deque.rs +159 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/iter/blocks.rs +129 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/iter/chain.rs +258 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/iter/chunks.rs +216 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/iter/cloned.rs +219 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/iter/collect/mod.rs +114 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/iter/collect/test.rs +368 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/iter/copied.rs +219 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/iter/empty.rs +108 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/iter/enumerate.rs +128 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/iter/filter.rs +137 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/iter/filter_map.rs +141 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/iter/find_first_last/mod.rs +230 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/iter/find_first_last/test.rs +102 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/iter/flat_map.rs +153 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/iter/flat_map_iter.rs +145 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/iter/flatten.rs +134 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/iter/flatten_iter.rs +124 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/iter/fold.rs +289 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/iter/fold_chunks.rs +224 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/iter/fold_chunks_with.rs +220 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/iter/from_par_iter.rs +280 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/iter/inspect.rs +253 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/iter/interleave.rs +326 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/iter/interleave_shortest.rs +80 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/iter/intersperse.rs +401 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/iter/len.rs +262 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/iter/map.rs +255 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/iter/map_with.rs +565 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/iter/mod.rs +3627 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/iter/multizip.rs +335 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/iter/once.rs +70 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/iter/panic_fuse.rs +338 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/iter/par_bridge.rs +157 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/iter/plumbing/mod.rs +476 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/iter/positions.rs +133 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/iter/repeat.rs +295 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/iter/rev.rs +119 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/iter/skip.rs +93 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/iter/skip_any.rs +140 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/iter/skip_any_while.rs +162 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/iter/splitter.rs +172 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/iter/step_by.rs +135 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/iter/take.rs +84 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/iter/take_any.rs +140 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/iter/take_any_while.rs +162 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/iter/test.rs +2392 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/iter/try_fold.rs +282 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/iter/unzip.rs +524 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/iter/update.rs +323 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/iter/walk_tree.rs +524 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/iter/while_some.rs +150 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/iter/zip.rs +153 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/iter/zip_eq.rs +67 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/lib.rs +156 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/math.rs +25 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/option.rs +197 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/range.rs +457 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/range_inclusive.rs +381 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/result.rs +132 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/slice/chunk_by.rs +239 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/slice/chunks.rs +387 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/slice/mod.rs +1242 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/slice/rchunks.rs +385 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/slice/sort.rs +1686 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/slice/test.rs +216 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/str.rs +1005 -0
- data/ext/cargo-vendor/rayon-1.11.0/src/vec.rs +292 -0
- data/ext/cargo-vendor/rayon-1.11.0/tests/clones.rs +222 -0
- data/ext/cargo-vendor/rayon-1.11.0/tests/collect.rs +113 -0
- data/ext/cargo-vendor/rayon-1.11.0/tests/debug.rs +233 -0
- data/ext/cargo-vendor/rayon-1.11.0/tests/named-threads.rs +25 -0
- data/ext/cargo-vendor/rayon-1.11.0/tests/producer_split_at.rs +386 -0
- data/ext/cargo-vendor/rayon-1.11.0/tests/sort-panic-safe.rs +164 -0
- data/ext/cargo-vendor/rayon-1.11.0/tests/str.rs +122 -0
- data/ext/cargo-vendor/rayon-core-1.13.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/rayon-core-1.13.0/.cargo_vcs_info.json +6 -0
- data/ext/cargo-vendor/rayon-core-1.13.0/Cargo.lock +309 -0
- data/ext/cargo-vendor/rayon-core-1.13.0/Cargo.toml +93 -0
- data/ext/cargo-vendor/rayon-core-1.13.0/Cargo.toml.orig +35 -0
- data/ext/cargo-vendor/rayon-core-1.13.0/README.md +11 -0
- data/ext/cargo-vendor/rayon-core-1.13.0/src/broadcast/mod.rs +150 -0
- data/ext/cargo-vendor/rayon-core-1.13.0/src/join/mod.rs +186 -0
- data/ext/cargo-vendor/rayon-core-1.13.0/src/join/test.rs +150 -0
- data/ext/cargo-vendor/rayon-core-1.13.0/src/latch.rs +457 -0
- data/ext/cargo-vendor/rayon-core-1.13.0/src/lib.rs +864 -0
- data/ext/cargo-vendor/rayon-core-1.13.0/src/registry.rs +1002 -0
- data/ext/cargo-vendor/rayon-core-1.13.0/src/scope/mod.rs +773 -0
- data/ext/cargo-vendor/rayon-core-1.13.0/src/scope/test.rs +621 -0
- data/ext/cargo-vendor/rayon-core-1.13.0/src/sleep/README.md +219 -0
- data/ext/cargo-vendor/rayon-core-1.13.0/src/sleep/counters.rs +273 -0
- data/ext/cargo-vendor/rayon-core-1.13.0/src/sleep/mod.rs +324 -0
- data/ext/cargo-vendor/rayon-core-1.13.0/src/spawn/mod.rs +163 -0
- data/ext/cargo-vendor/rayon-core-1.13.0/src/spawn/test.rs +255 -0
- data/ext/cargo-vendor/rayon-core-1.13.0/src/test.rs +200 -0
- data/ext/cargo-vendor/rayon-core-1.13.0/src/thread_pool/mod.rs +502 -0
- data/ext/cargo-vendor/rayon-core-1.13.0/src/thread_pool/test.rs +418 -0
- data/ext/cargo-vendor/rayon-core-1.13.0/tests/use_current_thread.rs +57 -0
- data/ext/cargo-vendor/serde_json-1.0.143/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/serde_json-1.0.143/.cargo_vcs_info.json +6 -0
- data/ext/cargo-vendor/serde_json-1.0.143/.github/workflows/ci.yml +156 -0
- data/ext/cargo-vendor/serde_json-1.0.143/Cargo.lock +419 -0
- data/ext/cargo-vendor/serde_json-1.0.143/Cargo.toml +157 -0
- data/ext/cargo-vendor/serde_json-1.0.143/Cargo.toml.orig +91 -0
- data/ext/cargo-vendor/serde_json-1.0.143/src/lib.rs +438 -0
- data/ext/cargo-vendor/serde_json-1.0.143/src/map.rs +1181 -0
- data/ext/cargo-vendor/serde_json-1.0.143/src/ser.rs +2285 -0
- data/ext/cargo-vendor/serde_json-1.0.143/src/value/de.rs +1507 -0
- data/ext/cargo-vendor/tempfile-3.21.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/tempfile-3.21.0/.cargo_vcs_info.json +6 -0
- data/ext/cargo-vendor/tempfile-3.21.0/.github/workflows/ci.yml +109 -0
- data/ext/cargo-vendor/tempfile-3.21.0/CHANGELOG.md +364 -0
- data/ext/cargo-vendor/tempfile-3.21.0/Cargo.lock +196 -0
- data/ext/cargo-vendor/tempfile-3.21.0/Cargo.toml +98 -0
- data/ext/cargo-vendor/tempfile-3.21.0/Cargo.toml.orig +47 -0
- data/ext/cargo-vendor/winapi-util-0.1.10/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/winapi-util-0.1.10/.cargo_vcs_info.json +6 -0
- data/ext/cargo-vendor/winapi-util-0.1.10/.github/FUNDING.yml +1 -0
- data/ext/cargo-vendor/winapi-util-0.1.10/Cargo.lock +83 -0
- data/ext/cargo-vendor/winapi-util-0.1.10/Cargo.toml +54 -0
- data/ext/cargo-vendor/winapi-util-0.1.10/Cargo.toml.orig +25 -0
- data/ext/code_ownership/Cargo.toml +9 -9
- data/ext/code_ownership/src/lib.rs +40 -6
- data/lib/code_ownership/cli.rb +5 -18
- data/lib/code_ownership/private/for_file_output_builder.rb +83 -0
- data/lib/code_ownership/private/team_finder.rb +21 -7
- data/lib/code_ownership/version.rb +1 -1
- data/lib/code_ownership.rb +173 -6
- metadata +513 -706
- data/ext/cargo-vendor/codeowners-0.2.7/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/codeowners-0.2.7/Cargo.lock +0 -1230
- data/ext/cargo-vendor/codeowners-0.2.7/Cargo.toml +0 -95
- data/ext/cargo-vendor/codeowners-0.2.7/README.md +0 -204
- data/ext/cargo-vendor/codeowners-0.2.7/dev/run_benchmarks_for_gv.sh +0 -13
- data/ext/cargo-vendor/codeowners-0.2.7/rust-toolchain.toml +0 -4
- data/ext/cargo-vendor/codeowners-0.2.7/src/cache/file.rs +0 -181
- data/ext/cargo-vendor/codeowners-0.2.7/src/cli.rs +0 -119
- data/ext/cargo-vendor/codeowners-0.2.7/src/common_test.rs +0 -338
- data/ext/cargo-vendor/codeowners-0.2.7/src/config.rs +0 -118
- data/ext/cargo-vendor/codeowners-0.2.7/src/lib.rs +0 -8
- data/ext/cargo-vendor/codeowners-0.2.7/src/main.rs +0 -43
- data/ext/cargo-vendor/codeowners-0.2.7/src/ownership/file_generator.rs +0 -203
- data/ext/cargo-vendor/codeowners-0.2.7/src/ownership/for_file_fast.rs +0 -425
- data/ext/cargo-vendor/codeowners-0.2.7/src/ownership/mapper/package_mapper.rs +0 -220
- data/ext/cargo-vendor/codeowners-0.2.7/src/ownership/mapper/team_file_mapper.rs +0 -123
- data/ext/cargo-vendor/codeowners-0.2.7/src/ownership/mapper.rs +0 -249
- data/ext/cargo-vendor/codeowners-0.2.7/src/ownership/parser.rs +0 -486
- data/ext/cargo-vendor/codeowners-0.2.7/src/ownership/tests.rs +0 -219
- data/ext/cargo-vendor/codeowners-0.2.7/src/ownership/validator.rs +0 -218
- data/ext/cargo-vendor/codeowners-0.2.7/src/ownership.rs +0 -220
- data/ext/cargo-vendor/codeowners-0.2.7/src/project.rs +0 -229
- data/ext/cargo-vendor/codeowners-0.2.7/src/project_builder.rs +0 -319
- data/ext/cargo-vendor/codeowners-0.2.7/src/project_file_builder.rs +0 -75
- data/ext/cargo-vendor/codeowners-0.2.7/src/runner.rs +0 -312
- data/ext/cargo-vendor/codeowners-0.2.7/tests/common/mod.rs +0 -113
- data/ext/cargo-vendor/codeowners-0.2.7/tests/fixtures/multiple-directory-owners/config/code_ownership.yml +0 -10
- data/ext/cargo-vendor/codeowners-0.2.7/tests/fixtures/valid_project/.github/CODEOWNERS +0 -37
- data/ext/cargo-vendor/codeowners-0.2.7/tests/fixtures/valid_project/config/code_ownership.yml +0 -10
- data/ext/cargo-vendor/codeowners-0.2.7/tests/fixtures/valid_project/ruby/app/models/payroll.rb +0 -3
- data/ext/cargo-vendor/codeowners-0.2.7/tests/invalid_project_test.rs +0 -90
- data/ext/cargo-vendor/codeowners-0.2.7/tests/multiple_directory_owners_test.rs +0 -35
- data/ext/cargo-vendor/codeowners-0.2.7/tests/valid_project_test.rs +0 -284
- data/ext/cargo-vendor/glob-0.3.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/glob-0.3.2/.cargo_vcs_info.json +0 -6
- data/ext/cargo-vendor/glob-0.3.2/.github/workflows/rust.yml +0 -65
- data/ext/cargo-vendor/glob-0.3.2/CHANGELOG.md +0 -33
- data/ext/cargo-vendor/glob-0.3.2/Cargo.lock +0 -107
- data/ext/cargo-vendor/glob-0.3.2/Cargo.toml +0 -45
- data/ext/cargo-vendor/glob-0.3.2/Cargo.toml.orig +0 -19
- data/ext/cargo-vendor/glob-0.3.2/README.md +0 -37
- data/ext/cargo-vendor/glob-0.3.2/src/lib.rs +0 -1501
- data/ext/cargo-vendor/glob-0.3.2/tests/glob-std.rs +0 -474
- data/ext/cargo-vendor/indexmap-2.10.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/indexmap-2.10.0/.cargo_vcs_info.json +0 -6
- data/ext/cargo-vendor/indexmap-2.10.0/.github/workflows/ci.yml +0 -159
- data/ext/cargo-vendor/indexmap-2.10.0/Cargo.lock +0 -236
- data/ext/cargo-vendor/indexmap-2.10.0/Cargo.toml +0 -142
- data/ext/cargo-vendor/indexmap-2.10.0/Cargo.toml.orig +0 -61
- data/ext/cargo-vendor/indexmap-2.10.0/RELEASES.md +0 -563
- data/ext/cargo-vendor/indexmap-2.10.0/src/lib.rs +0 -288
- data/ext/cargo-vendor/indexmap-2.10.0/src/map/core/entry.rs +0 -574
- data/ext/cargo-vendor/indexmap-2.10.0/src/map/core.rs +0 -735
- data/ext/cargo-vendor/indexmap-2.10.0/src/map/mutable.rs +0 -165
- data/ext/cargo-vendor/indexmap-2.10.0/src/map/slice.rs +0 -751
- data/ext/cargo-vendor/indexmap-2.10.0/src/map/tests.rs +0 -1228
- data/ext/cargo-vendor/indexmap-2.10.0/src/map.rs +0 -1697
- data/ext/cargo-vendor/indexmap-2.10.0/src/rayon/map.rs +0 -662
- data/ext/cargo-vendor/indexmap-2.10.0/src/rayon/set.rs +0 -755
- data/ext/cargo-vendor/indexmap-2.10.0/src/set/mutable.rs +0 -86
- data/ext/cargo-vendor/indexmap-2.10.0/src/set/slice.rs +0 -380
- data/ext/cargo-vendor/indexmap-2.10.0/src/set/tests.rs +0 -999
- data/ext/cargo-vendor/indexmap-2.10.0/src/set.rs +0 -1340
- data/ext/cargo-vendor/indexmap-2.10.0/tests/quick.rs +0 -800
- data/ext/cargo-vendor/rayon-1.10.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/rayon-1.10.0/.cargo_vcs_info.json +0 -6
- data/ext/cargo-vendor/rayon-1.10.0/Cargo.toml +0 -61
- data/ext/cargo-vendor/rayon-1.10.0/Cargo.toml.orig +0 -39
- data/ext/cargo-vendor/rayon-1.10.0/FAQ.md +0 -227
- data/ext/cargo-vendor/rayon-1.10.0/README.md +0 -151
- data/ext/cargo-vendor/rayon-1.10.0/RELEASES.md +0 -909
- data/ext/cargo-vendor/rayon-1.10.0/src/array.rs +0 -85
- data/ext/cargo-vendor/rayon-1.10.0/src/collections/binary_heap.rs +0 -120
- data/ext/cargo-vendor/rayon-1.10.0/src/collections/btree_map.rs +0 -66
- data/ext/cargo-vendor/rayon-1.10.0/src/collections/btree_set.rs +0 -52
- data/ext/cargo-vendor/rayon-1.10.0/src/collections/hash_map.rs +0 -96
- data/ext/cargo-vendor/rayon-1.10.0/src/collections/hash_set.rs +0 -80
- data/ext/cargo-vendor/rayon-1.10.0/src/collections/linked_list.rs +0 -66
- data/ext/cargo-vendor/rayon-1.10.0/src/collections/mod.rs +0 -84
- data/ext/cargo-vendor/rayon-1.10.0/src/collections/vec_deque.rs +0 -159
- data/ext/cargo-vendor/rayon-1.10.0/src/iter/blocks.rs +0 -131
- data/ext/cargo-vendor/rayon-1.10.0/src/iter/chain.rs +0 -267
- data/ext/cargo-vendor/rayon-1.10.0/src/iter/chunks.rs +0 -224
- data/ext/cargo-vendor/rayon-1.10.0/src/iter/cloned.rs +0 -223
- data/ext/cargo-vendor/rayon-1.10.0/src/iter/collect/mod.rs +0 -116
- data/ext/cargo-vendor/rayon-1.10.0/src/iter/collect/test.rs +0 -373
- data/ext/cargo-vendor/rayon-1.10.0/src/iter/copied.rs +0 -223
- data/ext/cargo-vendor/rayon-1.10.0/src/iter/empty.rs +0 -104
- data/ext/cargo-vendor/rayon-1.10.0/src/iter/enumerate.rs +0 -133
- data/ext/cargo-vendor/rayon-1.10.0/src/iter/filter.rs +0 -141
- data/ext/cargo-vendor/rayon-1.10.0/src/iter/filter_map.rs +0 -142
- data/ext/cargo-vendor/rayon-1.10.0/src/iter/find_first_last/mod.rs +0 -230
- data/ext/cargo-vendor/rayon-1.10.0/src/iter/find_first_last/test.rs +0 -105
- data/ext/cargo-vendor/rayon-1.10.0/src/iter/flat_map.rs +0 -154
- data/ext/cargo-vendor/rayon-1.10.0/src/iter/flat_map_iter.rs +0 -147
- data/ext/cargo-vendor/rayon-1.10.0/src/iter/flatten.rs +0 -140
- data/ext/cargo-vendor/rayon-1.10.0/src/iter/flatten_iter.rs +0 -132
- data/ext/cargo-vendor/rayon-1.10.0/src/iter/fold.rs +0 -302
- data/ext/cargo-vendor/rayon-1.10.0/src/iter/fold_chunks.rs +0 -236
- data/ext/cargo-vendor/rayon-1.10.0/src/iter/fold_chunks_with.rs +0 -231
- data/ext/cargo-vendor/rayon-1.10.0/src/iter/from_par_iter.rs +0 -310
- data/ext/cargo-vendor/rayon-1.10.0/src/iter/inspect.rs +0 -257
- data/ext/cargo-vendor/rayon-1.10.0/src/iter/interleave.rs +0 -335
- data/ext/cargo-vendor/rayon-1.10.0/src/iter/interleave_shortest.rs +0 -85
- data/ext/cargo-vendor/rayon-1.10.0/src/iter/intersperse.rs +0 -410
- data/ext/cargo-vendor/rayon-1.10.0/src/iter/len.rs +0 -270
- data/ext/cargo-vendor/rayon-1.10.0/src/iter/map.rs +0 -259
- data/ext/cargo-vendor/rayon-1.10.0/src/iter/map_with.rs +0 -573
- data/ext/cargo-vendor/rayon-1.10.0/src/iter/mod.rs +0 -3656
- data/ext/cargo-vendor/rayon-1.10.0/src/iter/multizip.rs +0 -338
- data/ext/cargo-vendor/rayon-1.10.0/src/iter/once.rs +0 -68
- data/ext/cargo-vendor/rayon-1.10.0/src/iter/panic_fuse.rs +0 -342
- data/ext/cargo-vendor/rayon-1.10.0/src/iter/par_bridge.rs +0 -159
- data/ext/cargo-vendor/rayon-1.10.0/src/iter/plumbing/mod.rs +0 -483
- data/ext/cargo-vendor/rayon-1.10.0/src/iter/positions.rs +0 -137
- data/ext/cargo-vendor/rayon-1.10.0/src/iter/repeat.rs +0 -241
- data/ext/cargo-vendor/rayon-1.10.0/src/iter/rev.rs +0 -123
- data/ext/cargo-vendor/rayon-1.10.0/src/iter/skip.rs +0 -94
- data/ext/cargo-vendor/rayon-1.10.0/src/iter/skip_any.rs +0 -144
- data/ext/cargo-vendor/rayon-1.10.0/src/iter/skip_any_while.rs +0 -166
- data/ext/cargo-vendor/rayon-1.10.0/src/iter/splitter.rs +0 -174
- data/ext/cargo-vendor/rayon-1.10.0/src/iter/step_by.rs +0 -141
- data/ext/cargo-vendor/rayon-1.10.0/src/iter/take.rs +0 -85
- data/ext/cargo-vendor/rayon-1.10.0/src/iter/take_any.rs +0 -144
- data/ext/cargo-vendor/rayon-1.10.0/src/iter/take_any_while.rs +0 -166
- data/ext/cargo-vendor/rayon-1.10.0/src/iter/test.rs +0 -2333
- data/ext/cargo-vendor/rayon-1.10.0/src/iter/try_fold.rs +0 -298
- data/ext/cargo-vendor/rayon-1.10.0/src/iter/unzip.rs +0 -525
- data/ext/cargo-vendor/rayon-1.10.0/src/iter/update.rs +0 -327
- data/ext/cargo-vendor/rayon-1.10.0/src/iter/walk_tree.rs +0 -529
- data/ext/cargo-vendor/rayon-1.10.0/src/iter/while_some.rs +0 -154
- data/ext/cargo-vendor/rayon-1.10.0/src/iter/zip.rs +0 -158
- data/ext/cargo-vendor/rayon-1.10.0/src/iter/zip_eq.rs +0 -72
- data/ext/cargo-vendor/rayon-1.10.0/src/lib.rs +0 -160
- data/ext/cargo-vendor/rayon-1.10.0/src/math.rs +0 -54
- data/ext/cargo-vendor/rayon-1.10.0/src/option.rs +0 -203
- data/ext/cargo-vendor/rayon-1.10.0/src/range.rs +0 -454
- data/ext/cargo-vendor/rayon-1.10.0/src/range_inclusive.rs +0 -381
- data/ext/cargo-vendor/rayon-1.10.0/src/result.rs +0 -132
- data/ext/cargo-vendor/rayon-1.10.0/src/slice/chunk_by.rs +0 -244
- data/ext/cargo-vendor/rayon-1.10.0/src/slice/chunks.rs +0 -388
- data/ext/cargo-vendor/rayon-1.10.0/src/slice/mergesort.rs +0 -755
- data/ext/cargo-vendor/rayon-1.10.0/src/slice/mod.rs +0 -1226
- data/ext/cargo-vendor/rayon-1.10.0/src/slice/quicksort.rs +0 -902
- data/ext/cargo-vendor/rayon-1.10.0/src/slice/rchunks.rs +0 -386
- data/ext/cargo-vendor/rayon-1.10.0/src/slice/test.rs +0 -216
- data/ext/cargo-vendor/rayon-1.10.0/src/str.rs +0 -1010
- data/ext/cargo-vendor/rayon-1.10.0/src/vec.rs +0 -283
- data/ext/cargo-vendor/rayon-1.10.0/tests/clones.rs +0 -222
- data/ext/cargo-vendor/rayon-1.10.0/tests/collect.rs +0 -113
- data/ext/cargo-vendor/rayon-1.10.0/tests/debug.rs +0 -233
- data/ext/cargo-vendor/rayon-1.10.0/tests/named-threads.rs +0 -25
- data/ext/cargo-vendor/rayon-1.10.0/tests/producer_split_at.rs +0 -391
- data/ext/cargo-vendor/rayon-1.10.0/tests/sort-panic-safe.rs +0 -167
- data/ext/cargo-vendor/rayon-1.10.0/tests/str.rs +0 -119
- data/ext/cargo-vendor/rayon-core-1.12.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/rayon-core-1.12.1/.cargo_vcs_info.json +0 -6
- data/ext/cargo-vendor/rayon-core-1.12.1/Cargo.toml +0 -88
- data/ext/cargo-vendor/rayon-core-1.12.1/Cargo.toml.orig +0 -68
- data/ext/cargo-vendor/rayon-core-1.12.1/README.md +0 -11
- data/ext/cargo-vendor/rayon-core-1.12.1/src/broadcast/mod.rs +0 -150
- data/ext/cargo-vendor/rayon-core-1.12.1/src/join/mod.rs +0 -188
- data/ext/cargo-vendor/rayon-core-1.12.1/src/join/test.rs +0 -151
- data/ext/cargo-vendor/rayon-core-1.12.1/src/latch.rs +0 -461
- data/ext/cargo-vendor/rayon-core-1.12.1/src/lib.rs +0 -875
- data/ext/cargo-vendor/rayon-core-1.12.1/src/registry.rs +0 -996
- data/ext/cargo-vendor/rayon-core-1.12.1/src/scope/mod.rs +0 -769
- data/ext/cargo-vendor/rayon-core-1.12.1/src/scope/test.rs +0 -619
- data/ext/cargo-vendor/rayon-core-1.12.1/src/sleep/README.md +0 -219
- data/ext/cargo-vendor/rayon-core-1.12.1/src/sleep/counters.rs +0 -277
- data/ext/cargo-vendor/rayon-core-1.12.1/src/sleep/mod.rs +0 -325
- data/ext/cargo-vendor/rayon-core-1.12.1/src/spawn/mod.rs +0 -163
- data/ext/cargo-vendor/rayon-core-1.12.1/src/spawn/test.rs +0 -255
- data/ext/cargo-vendor/rayon-core-1.12.1/src/test.rs +0 -200
- data/ext/cargo-vendor/rayon-core-1.12.1/src/thread_pool/mod.rs +0 -508
- data/ext/cargo-vendor/rayon-core-1.12.1/src/thread_pool/test.rs +0 -418
- data/ext/cargo-vendor/rayon-core-1.12.1/tests/use_current_thread.rs +0 -57
- data/ext/cargo-vendor/serde_json-1.0.142/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/serde_json-1.0.142/.cargo_vcs_info.json +0 -6
- data/ext/cargo-vendor/serde_json-1.0.142/.github/workflows/ci.yml +0 -158
- data/ext/cargo-vendor/serde_json-1.0.142/Cargo.lock +0 -419
- data/ext/cargo-vendor/serde_json-1.0.142/Cargo.toml +0 -157
- data/ext/cargo-vendor/serde_json-1.0.142/Cargo.toml.orig +0 -91
- data/ext/cargo-vendor/serde_json-1.0.142/src/lib.rs +0 -438
- data/ext/cargo-vendor/serde_json-1.0.142/src/map.rs +0 -1174
- data/ext/cargo-vendor/serde_json-1.0.142/src/ser.rs +0 -2285
- data/ext/cargo-vendor/serde_json-1.0.142/src/value/de.rs +0 -1500
- data/ext/cargo-vendor/tempfile-3.20.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/tempfile-3.20.0/.cargo_vcs_info.json +0 -6
- data/ext/cargo-vendor/tempfile-3.20.0/.github/workflows/ci.yml +0 -107
- data/ext/cargo-vendor/tempfile-3.20.0/CHANGELOG.md +0 -360
- data/ext/cargo-vendor/tempfile-3.20.0/Cargo.lock +0 -183
- data/ext/cargo-vendor/tempfile-3.20.0/Cargo.toml +0 -98
- data/ext/cargo-vendor/tempfile-3.20.0/Cargo.toml.orig +0 -47
- data/ext/cargo-vendor/winapi-util-0.1.9/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/winapi-util-0.1.9/.cargo_vcs_info.json +0 -6
- data/ext/cargo-vendor/winapi-util-0.1.9/Cargo.toml +0 -53
- data/ext/cargo-vendor/winapi-util-0.1.9/Cargo.toml.orig +0 -25
- data/ext/cargo-vendor/windows-sys-0.59.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/windows-sys-0.59.0/.cargo_vcs_info.json +0 -6
- data/ext/cargo-vendor/windows-sys-0.59.0/Cargo.toml +0 -298
- data/ext/cargo-vendor/windows-sys-0.59.0/Cargo.toml.orig +0 -274
- data/ext/cargo-vendor/windows-sys-0.59.0/license-apache-2.0 +0 -201
- data/ext/cargo-vendor/windows-sys-0.59.0/license-mit +0 -21
- data/ext/cargo-vendor/windows-sys-0.59.0/readme.md +0 -87
- data/ext/cargo-vendor/windows-sys-0.59.0/rustfmt.toml +0 -2
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Wdk/Devices/Bluetooth/mod.rs +0 -32
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Wdk/Devices/HumanInterfaceDevice/mod.rs +0 -39
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Wdk/Devices/mod.rs +0 -4
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Wdk/Foundation/mod.rs +0 -1317
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Wdk/Graphics/Direct3D/mod.rs +0 -9170
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Wdk/Graphics/mod.rs +0 -2
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Wdk/NetworkManagement/Ndis/mod.rs +0 -3892
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Wdk/NetworkManagement/WindowsFilteringPlatform/mod.rs +0 -269
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Wdk/NetworkManagement/mod.rs +0 -4
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Wdk/Storage/FileSystem/Minifilters/mod.rs +0 -1392
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Wdk/Storage/FileSystem/mod.rs +0 -4503
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Wdk/Storage/mod.rs +0 -2
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Wdk/System/IO/mod.rs +0 -2
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Wdk/System/Memory/mod.rs +0 -11
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Wdk/System/OfflineRegistry/mod.rs +0 -28
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Wdk/System/Registry/mod.rs +0 -180
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Wdk/System/SystemInformation/mod.rs +0 -18
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Wdk/System/SystemServices/mod.rs +0 -13663
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Wdk/System/Threading/mod.rs +0 -155
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Wdk/System/mod.rs +0 -14
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Wdk/mod.rs +0 -12
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Data/HtmlHelp/mod.rs +0 -447
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Data/RightsManagement/mod.rs +0 -237
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Data/mod.rs +0 -4
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Devices/AllJoyn/mod.rs +0 -1273
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Devices/BiometricFramework/mod.rs +0 -1481
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Devices/Bluetooth/mod.rs +0 -1419
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Devices/Communication/mod.rs +0 -312
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Devices/DeviceAndDriverInstallation/mod.rs +0 -3969
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Devices/DeviceQuery/mod.rs +0 -141
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Devices/Display/mod.rs +0 -3141
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Devices/Enumeration/Pnp/mod.rs +0 -96
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Devices/Enumeration/mod.rs +0 -2
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Devices/Fax/mod.rs +0 -1203
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Devices/HumanInterfaceDevice/mod.rs +0 -3684
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Devices/PortableDevices/mod.rs +0 -1999
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Devices/Properties/mod.rs +0 -261
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Devices/Pwm/mod.rs +0 -73
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Devices/Sensors/mod.rs +0 -687
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Devices/SerialCommunication/mod.rs +0 -230
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Devices/Tapi/mod.rs +0 -3217
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Devices/Usb/mod.rs +0 -2694
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Devices/WebServicesOnDevices/mod.rs +0 -660
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Devices/mod.rs +0 -36
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Foundation/mod.rs +0 -10318
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Gaming/mod.rs +0 -99
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Globalization/mod.rs +0 -5135
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Graphics/Dwm/mod.rs +0 -232
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Graphics/Gdi/mod.rs +0 -3857
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Graphics/GdiPlus/mod.rs +0 -2307
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Graphics/Hlsl/mod.rs +0 -2
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Graphics/OpenGL/mod.rs +0 -1276
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Graphics/Printing/PrintTicket/mod.rs +0 -28
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Graphics/Printing/mod.rs +0 -4147
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Graphics/mod.rs +0 -12
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Management/MobileDeviceManagementRegistration/mod.rs +0 -101
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Management/mod.rs +0 -2
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Media/Audio/mod.rs +0 -2052
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Media/DxMediaObjects/mod.rs +0 -94
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Media/KernelStreaming/mod.rs +0 -5281
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Media/Multimedia/mod.rs +0 -6442
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Media/Streaming/mod.rs +0 -117
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Media/WindowsMediaFormat/mod.rs +0 -910
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Media/mod.rs +0 -187
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/NetworkManagement/Dhcp/mod.rs +0 -1926
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/NetworkManagement/Dns/mod.rs +0 -1564
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/NetworkManagement/InternetConnectionWizard/mod.rs +0 -22
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/NetworkManagement/IpHelper/mod.rs +0 -3004
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/NetworkManagement/Multicast/mod.rs +0 -59
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/NetworkManagement/Ndis/mod.rs +0 -3334
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/NetworkManagement/NetBios/mod.rs +0 -211
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/NetworkManagement/NetManagement/mod.rs +0 -4814
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/NetworkManagement/NetShell/mod.rs +0 -160
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/NetworkManagement/NetworkDiagnosticsFramework/mod.rs +0 -222
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/NetworkManagement/P2P/mod.rs +0 -1196
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/NetworkManagement/QoS/mod.rs +0 -1447
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/NetworkManagement/Rras/mod.rs +0 -3212
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/NetworkManagement/Snmp/mod.rs +0 -381
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/NetworkManagement/WNet/mod.rs +0 -363
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/NetworkManagement/WebDav/mod.rs +0 -47
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/NetworkManagement/WiFi/mod.rs +0 -4311
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/NetworkManagement/WindowsConnectionManager/mod.rs +0 -119
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/NetworkManagement/WindowsFilteringPlatform/mod.rs +0 -3818
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/NetworkManagement/WindowsFirewall/mod.rs +0 -281
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/NetworkManagement/WindowsNetworkVirtualization/mod.rs +0 -104
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/NetworkManagement/mod.rs +0 -42
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Networking/ActiveDirectory/mod.rs +0 -2383
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Networking/Clustering/mod.rs +0 -3900
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Networking/HttpServer/mod.rs +0 -1239
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Networking/Ldap/mod.rs +0 -817
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Networking/WebSocket/mod.rs +0 -88
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Networking/WinHttp/mod.rs +0 -1109
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Networking/WinInet/mod.rs +0 -2168
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Networking/WinSock/mod.rs +0 -4786
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Networking/WindowsWebServices/mod.rs +0 -3480
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Networking/mod.rs +0 -18
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Security/AppLocker/mod.rs +0 -172
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Security/Authentication/Identity/mod.rs +0 -5701
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Security/Authentication/mod.rs +0 -2
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Security/Authorization/mod.rs +0 -984
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Security/Credentials/mod.rs +0 -797
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Security/Cryptography/Catalog/mod.rs +0 -151
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Security/Cryptography/Certificates/mod.rs +0 -2315
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Security/Cryptography/Sip/mod.rs +0 -155
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Security/Cryptography/UI/mod.rs +0 -545
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Security/Cryptography/mod.rs +0 -8528
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Security/DiagnosticDataQuery/mod.rs +0 -156
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Security/DirectoryServices/mod.rs +0 -19
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Security/EnterpriseData/mod.rs +0 -36
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Security/ExtensibleAuthenticationProtocol/mod.rs +0 -998
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Security/Isolation/mod.rs +0 -20
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Security/LicenseProtection/mod.rs +0 -8
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Security/NetworkAccessProtection/mod.rs +0 -149
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Security/WinTrust/mod.rs +0 -863
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Security/WinWlx/mod.rs +0 -335
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Security/mod.rs +0 -1156
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Storage/Cabinets/mod.rs +0 -209
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Storage/CloudFilters/mod.rs +0 -666
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Storage/Compression/mod.rs +0 -36
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Storage/DistributedFileSystem/mod.rs +0 -342
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Storage/FileHistory/mod.rs +0 -97
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Storage/FileSystem/mod.rs +0 -3699
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Storage/Imapi/mod.rs +0 -697
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Storage/IndexServer/mod.rs +0 -279
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Storage/InstallableFileSystems/mod.rs +0 -331
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Storage/IscsiDisc/mod.rs +0 -1291
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Storage/Jet/mod.rs +0 -2593
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Storage/Nvme/mod.rs +0 -3428
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Storage/OfflineFiles/mod.rs +0 -276
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Storage/OperationRecorder/mod.rs +0 -20
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Storage/Packaging/Appx/mod.rs +0 -377
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Storage/Packaging/mod.rs +0 -2
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Storage/ProjectedFileSystem/mod.rs +0 -246
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Storage/StructuredStorage/mod.rs +0 -3
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Storage/Vhd/mod.rs +0 -720
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Storage/Xps/mod.rs +0 -415
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Storage/mod.rs +0 -38
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/AddressBook/mod.rs +0 -938
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/Antimalware/mod.rs +0 -112
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/ApplicationInstallationAndServicing/mod.rs +0 -2145
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/ApplicationVerifier/mod.rs +0 -58
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/ClrHosting/mod.rs +0 -322
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/Com/Marshal/mod.rs +0 -172
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/Com/StructuredStorage/mod.rs +0 -655
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/Com/Urlmon/mod.rs +0 -905
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/Com/mod.rs +0 -1227
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/ComponentServices/mod.rs +0 -574
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/Console/mod.rs +0 -373
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/CorrelationVector/mod.rs +0 -15
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/DataExchange/mod.rs +0 -428
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/DeploymentServices/mod.rs +0 -565
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/DeveloperLicensing/mod.rs +0 -3
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/Diagnostics/Ceip/mod.rs +0 -1
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/Diagnostics/Debug/Extensions/mod.rs +0 -3710
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/Diagnostics/Debug/mod.rs +0 -5557
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/Diagnostics/Etw/mod.rs +0 -2042
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/Diagnostics/ProcessSnapshotting/mod.rs +0 -293
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/Diagnostics/ToolHelp/mod.rs +0 -119
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/Diagnostics/TraceLogging/mod.rs +0 -105
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/Diagnostics/mod.rs +0 -12
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/DistributedTransactionCoordinator/mod.rs +0 -308
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/Environment/mod.rs +0 -202
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/ErrorReporting/mod.rs +0 -393
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/EventCollector/mod.rs +0 -117
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/EventLog/mod.rs +0 -379
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/EventNotificationService/mod.rs +0 -35
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/GroupPolicy/mod.rs +0 -424
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/HostCompute/mod.rs +0 -1
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/HostComputeNetwork/mod.rs +0 -86
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/HostComputeSystem/mod.rs +0 -171
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/Hypervisor/mod.rs +0 -1983
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/IO/mod.rs +0 -53
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/Iis/mod.rs +0 -1411
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/Ioctl/mod.rs +0 -6216
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/JobObjects/mod.rs +0 -434
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/Js/mod.rs +0 -154
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/Kernel/mod.rs +0 -295
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/LibraryLoader/mod.rs +0 -106
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/Mailslots/mod.rs +0 -6
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/Mapi/mod.rs +0 -150
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/Memory/NonVolatile/mod.rs +0 -20
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/Memory/mod.rs +0 -464
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/MessageQueuing/mod.rs +0 -712
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/MixedReality/mod.rs +0 -14
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/Ole/mod.rs +0 -2599
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/PasswordManagement/mod.rs +0 -22
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/Performance/HardwareCounterProfiling/mod.rs +0 -27
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/Performance/mod.rs +0 -1091
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/Pipes/mod.rs +0 -42
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/Power/mod.rs +0 -1413
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/ProcessStatus/mod.rs +0 -200
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/Recovery/mod.rs +0 -15
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/Registry/mod.rs +0 -1114
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/RemoteDesktop/mod.rs +0 -1771
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/RemoteManagement/mod.rs +0 -935
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/RestartManager/mod.rs +0 -86
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/Restore/mod.rs +0 -66
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/Rpc/mod.rs +0 -2668
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/Search/Common/mod.rs +0 -21
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/Search/mod.rs +0 -5993
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/SecurityCenter/mod.rs +0 -41
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/Services/mod.rs +0 -587
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/SetupAndMigration/mod.rs +0 -4
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/Shutdown/mod.rs +0 -111
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/StationsAndDesktops/mod.rs +0 -99
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/SubsystemForLinux/mod.rs +0 -12
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/SystemInformation/mod.rs +0 -751
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/SystemServices/mod.rs +0 -4541
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/Threading/mod.rs +0 -1148
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/Time/mod.rs +0 -50
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/TpmBaseServices/mod.rs +0 -89
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/UserAccessLogging/mod.rs +0 -17
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/Variant/mod.rs +0 -321
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/VirtualDosMachines/mod.rs +0 -297
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/WindowsProgramming/mod.rs +0 -1633
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/Wmi/mod.rs +0 -2435
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/System/mod.rs +0 -132
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/UI/Accessibility/mod.rs +0 -1788
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/UI/ColorSystem/mod.rs +0 -702
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/UI/Controls/Dialogs/mod.rs +0 -1128
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/UI/Controls/mod.rs +0 -7276
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/UI/HiDpi/mod.rs +0 -66
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/UI/Input/Ime/mod.rs +0 -1394
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/UI/Input/KeyboardAndMouse/mod.rs +0 -765
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/UI/Input/Pointer/mod.rs +0 -168
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/UI/Input/Touch/mod.rs +0 -89
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/UI/Input/XboxController/mod.rs +0 -151
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/UI/Input/mod.rs +0 -182
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/UI/InteractionContext/mod.rs +0 -230
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/UI/Magnification/mod.rs +0 -52
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/UI/Shell/Common/mod.rs +0 -104
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/UI/Shell/PropertiesSystem/mod.rs +0 -322
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/UI/Shell/mod.rs +0 -6704
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/UI/TabletPC/mod.rs +0 -1537
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/UI/TextServices/mod.rs +0 -794
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs +0 -3760
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/UI/mod.rs +0 -22
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Web/InternetExplorer/mod.rs +0 -628
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/Web/mod.rs +0 -2
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/Win32/mod.rs +0 -30
- data/ext/cargo-vendor/windows-sys-0.59.0/src/Windows/mod.rs +0 -4
- data/ext/cargo-vendor/windows-sys-0.59.0/src/core/literals.rs +0 -114
- data/ext/cargo-vendor/windows-sys-0.59.0/src/core/mod.rs +0 -33
- data/ext/cargo-vendor/windows-sys-0.59.0/src/includes/Win32/UI/WindowsAndMessaging/WindowLong.rs +0 -8
- data/ext/cargo-vendor/windows-sys-0.59.0/src/lib.rs +0 -17
- /data/ext/cargo-vendor/{codeowners-0.2.7 → codeowners-0.2.17}/.github/workflows/audit.yml +0 -0
- /data/ext/cargo-vendor/{codeowners-0.2.7 → codeowners-0.2.17}/.github/workflows/ci.yml +0 -0
- /data/ext/cargo-vendor/{codeowners-0.2.7 → codeowners-0.2.17}/.github/workflows/dotslash-config.json +0 -0
- /data/ext/cargo-vendor/{codeowners-0.2.7 → codeowners-0.2.17}/.rustfmt.toml +0 -0
- /data/ext/cargo-vendor/{codeowners-0.2.7 → codeowners-0.2.17}/.rusty-hook.toml +0 -0
- /data/ext/cargo-vendor/{codeowners-0.2.7 → codeowners-0.2.17}/dev/run_benchmarks_for_file.sh +0 -0
- /data/ext/cargo-vendor/{codeowners-0.2.7 → codeowners-0.2.17}/src/cache/mod.rs +0 -0
- /data/ext/cargo-vendor/{codeowners-0.2.7 → codeowners-0.2.17}/src/cache/noop.rs +0 -0
- /data/ext/cargo-vendor/{codeowners-0.2.7 → codeowners-0.2.17}/src/ownership/file_owner_finder.rs +0 -0
- /data/ext/cargo-vendor/{codeowners-0.2.7 → codeowners-0.2.17}/src/ownership/mapper/directory_mapper.rs +0 -0
- /data/ext/cargo-vendor/{codeowners-0.2.7 → codeowners-0.2.17}/src/ownership/mapper/escaper.rs +0 -0
- /data/ext/cargo-vendor/{codeowners-0.2.7 → codeowners-0.2.17}/src/ownership/mapper/team_gem_mapper.rs +0 -0
- /data/ext/cargo-vendor/{codeowners-0.2.7 → codeowners-0.2.17}/src/ownership/mapper/team_glob_mapper.rs +0 -0
- /data/ext/cargo-vendor/{codeowners-0.2.7 → codeowners-0.2.17}/src/ownership/mapper/team_yml_mapper.rs +0 -0
- /data/ext/cargo-vendor/{codeowners-0.2.7 → codeowners-0.2.17}/tests/cache_test.rs +0 -0
- /data/ext/cargo-vendor/{codeowners-0.2.7 → codeowners-0.2.17}/tests/fixtures/invalid_project/.github/CODEOWNERS +0 -0
- /data/ext/cargo-vendor/{codeowners-0.2.7 → codeowners-0.2.17}/tests/fixtures/invalid_project/config/code_ownership.yml +0 -0
- /data/ext/cargo-vendor/{codeowners-0.2.7 → codeowners-0.2.17}/tests/fixtures/invalid_project/config/teams/payments.yml +0 -0
- /data/ext/cargo-vendor/{codeowners-0.2.7 → codeowners-0.2.17}/tests/fixtures/invalid_project/config/teams/payroll.yml +0 -0
- /data/ext/cargo-vendor/{codeowners-0.2.7 → codeowners-0.2.17}/tests/fixtures/invalid_project/gems/payroll_calculator/calculator.rb +0 -0
- /data/ext/cargo-vendor/{codeowners-0.2.7 → codeowners-0.2.17}/tests/fixtures/invalid_project/ruby/app/models/bank_account.rb +0 -0
- /data/ext/cargo-vendor/{codeowners-0.2.7 → codeowners-0.2.17}/tests/fixtures/invalid_project/ruby/app/models/blockchain.rb +0 -0
- /data/ext/cargo-vendor/{codeowners-0.2.7 → codeowners-0.2.17}/tests/fixtures/invalid_project/ruby/app/models/payroll.rb +0 -0
- /data/ext/cargo-vendor/{codeowners-0.2.7 → codeowners-0.2.17}/tests/fixtures/invalid_project/ruby/app/payments/nacha.rb +0 -0
- /data/ext/cargo-vendor/{codeowners-0.2.7 → codeowners-0.2.17}/tests/fixtures/invalid_project/ruby/app/services/.codeowner +0 -0
- /data/ext/cargo-vendor/{codeowners-0.2.7 → codeowners-0.2.17}/tests/fixtures/invalid_project/ruby/app/services/multi_owned.rb +0 -0
- /data/ext/cargo-vendor/{codeowners-0.2.7 → codeowners-0.2.17}/tests/fixtures/invalid_project/ruby/app/unowned.rb +0 -0
- /data/ext/cargo-vendor/{codeowners-0.2.7 → codeowners-0.2.17}/tests/fixtures/invalid_project/ruby/packages/payroll_flow/package.yml +0 -0
- /data/ext/cargo-vendor/{codeowners-0.2.7 → codeowners-0.2.17}/tests/fixtures/multiple-directory-owners/.github/CODEOWNERS +0 -0
- /data/ext/cargo-vendor/{codeowners-0.2.7 → codeowners-0.2.17}/tests/fixtures/multiple-directory-owners/app/consumers/.codeowner +0 -0
- /data/ext/cargo-vendor/{codeowners-0.2.7 → codeowners-0.2.17}/tests/fixtures/multiple-directory-owners/app/consumers/deep/nesting/nestdir/deep_file.rb +0 -0
- /data/ext/cargo-vendor/{codeowners-0.2.7 → codeowners-0.2.17}/tests/fixtures/multiple-directory-owners/app/consumers/one_owner.rb +0 -0
- /data/ext/cargo-vendor/{codeowners-0.2.7 → codeowners-0.2.17}/tests/fixtures/multiple-directory-owners/app/services/.codeowner +0 -0
- /data/ext/cargo-vendor/{codeowners-0.2.7 → codeowners-0.2.17}/tests/fixtures/multiple-directory-owners/app/services/exciting/.codeowner +0 -0
- /data/ext/cargo-vendor/{codeowners-0.2.7 → codeowners-0.2.17}/tests/fixtures/multiple-directory-owners/app/services/exciting/some_other_file.rb +0 -0
- /data/ext/cargo-vendor/{codeowners-0.2.7 → codeowners-0.2.17}/tests/fixtures/multiple-directory-owners/config/teams/bar.yml +0 -0
- /data/ext/cargo-vendor/{codeowners-0.2.7 → codeowners-0.2.17}/tests/fixtures/multiple-directory-owners/config/teams/foo.yml +0 -0
- /data/ext/cargo-vendor/{codeowners-0.2.7 → codeowners-0.2.17}/tests/fixtures/valid_project/.ignore +0 -0
- /data/ext/cargo-vendor/{codeowners-0.2.7 → codeowners-0.2.17}/tests/fixtures/valid_project/config/teams/payments.yml +0 -0
- /data/ext/cargo-vendor/{codeowners-0.2.7 → codeowners-0.2.17}/tests/fixtures/valid_project/config/teams/payroll.yml +0 -0
- /data/ext/cargo-vendor/{codeowners-0.2.7 → codeowners-0.2.17}/tests/fixtures/valid_project/config/teams/ux.yml +0 -0
- /data/ext/cargo-vendor/{codeowners-0.2.7 → codeowners-0.2.17}/tests/fixtures/valid_project/gems/payroll_calculator/calculator.rb +0 -0
- /data/ext/cargo-vendor/{codeowners-0.2.7 → codeowners-0.2.17}/tests/fixtures/valid_project/gems/pets/dog.rb +0 -0
- /data/ext/cargo-vendor/{codeowners-0.2.7 → codeowners-0.2.17}/tests/fixtures/valid_project/javascript/packages/PayrollFlow/index.tsx +0 -0
- /data/ext/cargo-vendor/{codeowners-0.2.7 → codeowners-0.2.17}/tests/fixtures/valid_project/javascript/packages/PayrollFlow/package.json +0 -0
- /data/ext/cargo-vendor/{codeowners-0.2.7 → codeowners-0.2.17}/tests/fixtures/valid_project/javascript/packages/items/(special)/.codeowner +0 -0
- /data/ext/cargo-vendor/{codeowners-0.2.7 → codeowners-0.2.17}/tests/fixtures/valid_project/javascript/packages/items/(special)/pay.ts +0 -0
- /data/ext/cargo-vendor/{codeowners-0.2.7 → codeowners-0.2.17}/tests/fixtures/valid_project/javascript/packages/items/.codeowner +0 -0
- /data/ext/cargo-vendor/{codeowners-0.2.7 → codeowners-0.2.17}/tests/fixtures/valid_project/javascript/packages/items/item.ts +0 -0
- /data/ext/cargo-vendor/{codeowners-0.2.7 → codeowners-0.2.17}/tests/fixtures/valid_project/ruby/app/models/bank_account.rb +0 -0
- /data/ext/cargo-vendor/{codeowners-0.2.7 → codeowners-0.2.17}/tests/fixtures/valid_project/ruby/app/payments/foo/.codeowner +0 -0
- /data/ext/cargo-vendor/{codeowners-0.2.7 → codeowners-0.2.17}/tests/fixtures/valid_project/ruby/app/payments/foo/ownedby_payroll.rb +0 -0
- /data/ext/cargo-vendor/{codeowners-0.2.7 → codeowners-0.2.17}/tests/fixtures/valid_project/ruby/app/payments/nacha.rb +0 -0
- /data/ext/cargo-vendor/{codeowners-0.2.7 → codeowners-0.2.17}/tests/fixtures/valid_project/ruby/app/payroll/.codeowner +0 -0
- /data/ext/cargo-vendor/{codeowners-0.2.7 → codeowners-0.2.17}/tests/fixtures/valid_project/ruby/app/payroll/payroll.rb +0 -0
- /data/ext/cargo-vendor/{codeowners-0.2.7 → codeowners-0.2.17}/tests/fixtures/valid_project/ruby/ignored_files/git_ignored.rb +0 -0
- /data/ext/cargo-vendor/{codeowners-0.2.7 → codeowners-0.2.17}/tests/fixtures/valid_project/ruby/packages/payroll_flow/package.yml +0 -0
- /data/ext/cargo-vendor/{codeowners-0.2.7 → codeowners-0.2.17}/tests/fixtures/valid_project/should_be_ignored/an_ignored_file.rb +0 -0
- /data/ext/cargo-vendor/{codeowners-0.2.7/tmp/.gitkeep → codeowners-0.2.17/tests/fixtures/valid_project_with_overrides/packs/games/app/services/stats.rb} +0 -0
- /data/ext/cargo-vendor/{codeowners-0.2.7 → codeowners-0.2.17}/tests/git_stage_test.rs +0 -0
- /data/ext/cargo-vendor/{codeowners-0.2.7 → codeowners-0.2.17}/tests/invalid_project_structure_test.rs +0 -0
- /data/ext/cargo-vendor/{glob-0.3.2 → glob-0.3.3}/.github/dependabot.yml +0 -0
- /data/ext/cargo-vendor/{glob-0.3.2 → glob-0.3.3}/.github/workflows/publish.yml +0 -0
- /data/ext/cargo-vendor/{glob-0.3.2 → glob-0.3.3}/LICENSE-APACHE +0 -0
- /data/ext/cargo-vendor/{glob-0.3.2 → glob-0.3.3}/LICENSE-MIT +0 -0
- /data/ext/cargo-vendor/{glob-0.3.2 → glob-0.3.3}/triagebot.toml +0 -0
- /data/ext/cargo-vendor/{indexmap-2.10.0 → indexmap-2.11.0}/.rustfmt.toml +0 -0
- /data/ext/cargo-vendor/{indexmap-2.10.0 → indexmap-2.11.0}/LICENSE-APACHE +0 -0
- /data/ext/cargo-vendor/{indexmap-2.10.0 → indexmap-2.11.0}/LICENSE-MIT +0 -0
- /data/ext/cargo-vendor/{indexmap-2.10.0 → indexmap-2.11.0}/README.md +0 -0
- /data/ext/cargo-vendor/{indexmap-2.10.0 → indexmap-2.11.0}/benches/bench.rs +0 -0
- /data/ext/cargo-vendor/{indexmap-2.10.0 → indexmap-2.11.0}/benches/faststring.rs +0 -0
- /data/ext/cargo-vendor/{indexmap-2.10.0 → indexmap-2.11.0}/src/arbitrary.rs +0 -0
- /data/ext/cargo-vendor/{indexmap-2.10.0 → indexmap-2.11.0}/src/borsh.rs +0 -0
- /data/ext/cargo-vendor/{indexmap-2.10.0 → indexmap-2.11.0}/src/macros.rs +0 -0
- /data/ext/cargo-vendor/{indexmap-2.10.0 → indexmap-2.11.0}/src/map/core/extract.rs +0 -0
- /data/ext/cargo-vendor/{indexmap-2.10.0 → indexmap-2.11.0}/src/map/core/raw_entry_v1.rs +0 -0
- /data/ext/cargo-vendor/{indexmap-2.10.0 → indexmap-2.11.0}/src/map/iter.rs +0 -0
- /data/ext/cargo-vendor/{indexmap-2.10.0 → indexmap-2.11.0}/src/map/serde_seq.rs +0 -0
- /data/ext/cargo-vendor/{indexmap-2.10.0 → indexmap-2.11.0}/src/rayon/mod.rs +0 -0
- /data/ext/cargo-vendor/{indexmap-2.10.0 → indexmap-2.11.0}/src/serde.rs +0 -0
- /data/ext/cargo-vendor/{indexmap-2.10.0 → indexmap-2.11.0}/src/set/iter.rs +0 -0
- /data/ext/cargo-vendor/{indexmap-2.10.0 → indexmap-2.11.0}/src/util.rs +0 -0
- /data/ext/cargo-vendor/{indexmap-2.10.0 → indexmap-2.11.0}/tests/equivalent_trait.rs +0 -0
- /data/ext/cargo-vendor/{indexmap-2.10.0 → indexmap-2.11.0}/tests/macros_full_path.rs +0 -0
- /data/ext/cargo-vendor/{indexmap-2.10.0 → indexmap-2.11.0}/tests/tests.rs +0 -0
- /data/ext/cargo-vendor/{rayon-1.10.0 → rayon-1.11.0}/LICENSE-APACHE +0 -0
- /data/ext/cargo-vendor/{rayon-1.10.0 → rayon-1.11.0}/LICENSE-MIT +0 -0
- /data/ext/cargo-vendor/{rayon-1.10.0 → rayon-1.11.0}/src/compile_fail/cannot_collect_filtermap_data.rs +0 -0
- /data/ext/cargo-vendor/{rayon-1.10.0 → rayon-1.11.0}/src/compile_fail/cannot_zip_filtered_data.rs +0 -0
- /data/ext/cargo-vendor/{rayon-1.10.0 → rayon-1.11.0}/src/compile_fail/cell_par_iter.rs +0 -0
- /data/ext/cargo-vendor/{rayon-1.10.0 → rayon-1.11.0}/src/compile_fail/mod.rs +0 -0
- /data/ext/cargo-vendor/{rayon-1.10.0 → rayon-1.11.0}/src/compile_fail/must_use.rs +0 -0
- /data/ext/cargo-vendor/{rayon-1.10.0 → rayon-1.11.0}/src/compile_fail/no_send_par_iter.rs +0 -0
- /data/ext/cargo-vendor/{rayon-1.10.0 → rayon-1.11.0}/src/compile_fail/rc_par_iter.rs +0 -0
- /data/ext/cargo-vendor/{rayon-1.10.0 → rayon-1.11.0}/src/delegate.rs +0 -0
- /data/ext/cargo-vendor/{rayon-1.10.0 → rayon-1.11.0}/src/iter/collect/consumer.rs +0 -0
- /data/ext/cargo-vendor/{rayon-1.10.0 → rayon-1.11.0}/src/iter/extend.rs +0 -0
- /data/ext/cargo-vendor/{rayon-1.10.0 → rayon-1.11.0}/src/iter/find.rs +0 -0
- /data/ext/cargo-vendor/{rayon-1.10.0 → rayon-1.11.0}/src/iter/for_each.rs +0 -0
- /data/ext/cargo-vendor/{rayon-1.10.0 → rayon-1.11.0}/src/iter/noop.rs +0 -0
- /data/ext/cargo-vendor/{rayon-1.10.0 → rayon-1.11.0}/src/iter/plumbing/README.md +0 -0
- /data/ext/cargo-vendor/{rayon-1.10.0 → rayon-1.11.0}/src/iter/product.rs +0 -0
- /data/ext/cargo-vendor/{rayon-1.10.0 → rayon-1.11.0}/src/iter/reduce.rs +0 -0
- /data/ext/cargo-vendor/{rayon-1.10.0 → rayon-1.11.0}/src/iter/sum.rs +0 -0
- /data/ext/cargo-vendor/{rayon-1.10.0 → rayon-1.11.0}/src/iter/try_reduce.rs +0 -0
- /data/ext/cargo-vendor/{rayon-1.10.0 → rayon-1.11.0}/src/iter/try_reduce_with.rs +0 -0
- /data/ext/cargo-vendor/{rayon-1.10.0 → rayon-1.11.0}/src/par_either.rs +0 -0
- /data/ext/cargo-vendor/{rayon-1.10.0 → rayon-1.11.0}/src/prelude.rs +0 -0
- /data/ext/cargo-vendor/{rayon-1.10.0 → rayon-1.11.0}/src/private.rs +0 -0
- /data/ext/cargo-vendor/{rayon-1.10.0 → rayon-1.11.0}/src/split_producer.rs +0 -0
- /data/ext/cargo-vendor/{rayon-1.10.0 → rayon-1.11.0}/src/string.rs +0 -0
- /data/ext/cargo-vendor/{rayon-1.10.0 → rayon-1.11.0}/tests/chars.rs +0 -0
- /data/ext/cargo-vendor/{rayon-1.10.0 → rayon-1.11.0}/tests/cross-pool.rs +0 -0
- /data/ext/cargo-vendor/{rayon-1.10.0 → rayon-1.11.0}/tests/drain_vec.rs +0 -0
- /data/ext/cargo-vendor/{rayon-1.10.0 → rayon-1.11.0}/tests/intersperse.rs +0 -0
- /data/ext/cargo-vendor/{rayon-1.10.0 → rayon-1.11.0}/tests/issue671-unzip.rs +0 -0
- /data/ext/cargo-vendor/{rayon-1.10.0 → rayon-1.11.0}/tests/issue671.rs +0 -0
- /data/ext/cargo-vendor/{rayon-1.10.0 → rayon-1.11.0}/tests/iter_panic.rs +0 -0
- /data/ext/cargo-vendor/{rayon-1.10.0 → rayon-1.11.0}/tests/octillion.rs +0 -0
- /data/ext/cargo-vendor/{rayon-1.10.0 → rayon-1.11.0}/tests/par_bridge_recursion.rs +0 -0
- /data/ext/cargo-vendor/{rayon-core-1.12.1 → rayon-core-1.13.0}/LICENSE-APACHE +0 -0
- /data/ext/cargo-vendor/{rayon-core-1.12.1 → rayon-core-1.13.0}/LICENSE-MIT +0 -0
- /data/ext/cargo-vendor/{rayon-core-1.12.1 → rayon-core-1.13.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{rayon-core-1.12.1 → rayon-core-1.13.0}/src/broadcast/test.rs +0 -0
- /data/ext/cargo-vendor/{rayon-core-1.12.1 → rayon-core-1.13.0}/src/compile_fail/mod.rs +0 -0
- /data/ext/cargo-vendor/{rayon-core-1.12.1 → rayon-core-1.13.0}/src/compile_fail/quicksort_race1.rs +0 -0
- /data/ext/cargo-vendor/{rayon-core-1.12.1 → rayon-core-1.13.0}/src/compile_fail/quicksort_race2.rs +0 -0
- /data/ext/cargo-vendor/{rayon-core-1.12.1 → rayon-core-1.13.0}/src/compile_fail/quicksort_race3.rs +0 -0
- /data/ext/cargo-vendor/{rayon-core-1.12.1 → rayon-core-1.13.0}/src/compile_fail/rc_return.rs +0 -0
- /data/ext/cargo-vendor/{rayon-core-1.12.1 → rayon-core-1.13.0}/src/compile_fail/rc_upvar.rs +0 -0
- /data/ext/cargo-vendor/{rayon-core-1.12.1 → rayon-core-1.13.0}/src/compile_fail/scope_join_bad.rs +0 -0
- /data/ext/cargo-vendor/{rayon-core-1.12.1 → rayon-core-1.13.0}/src/job.rs +0 -0
- /data/ext/cargo-vendor/{rayon-core-1.12.1 → rayon-core-1.13.0}/src/private.rs +0 -0
- /data/ext/cargo-vendor/{rayon-core-1.12.1 → rayon-core-1.13.0}/src/unwind.rs +0 -0
- /data/ext/cargo-vendor/{rayon-core-1.12.1 → rayon-core-1.13.0}/tests/double_init_fail.rs +0 -0
- /data/ext/cargo-vendor/{rayon-core-1.12.1 → rayon-core-1.13.0}/tests/init_zero_threads.rs +0 -0
- /data/ext/cargo-vendor/{rayon-core-1.12.1 → rayon-core-1.13.0}/tests/scope_join.rs +0 -0
- /data/ext/cargo-vendor/{rayon-core-1.12.1 → rayon-core-1.13.0}/tests/scoped_threadpool.rs +0 -0
- /data/ext/cargo-vendor/{rayon-core-1.12.1 → rayon-core-1.13.0}/tests/simple_panic.rs +0 -0
- /data/ext/cargo-vendor/{rayon-core-1.12.1 → rayon-core-1.13.0}/tests/stack_overflow_crash.rs +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/CONTRIBUTING.md +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/LICENSE-APACHE +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/LICENSE-MIT +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/README.md +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/build.rs +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/src/de.rs +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/src/io/core.rs +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/src/io/mod.rs +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/src/iter.rs +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/src/lexical/algorithm.rs +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/src/lexical/bhcomp.rs +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/src/lexical/bignum.rs +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/src/lexical/cached.rs +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/src/lexical/cached_float80.rs +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/src/lexical/digit.rs +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/src/lexical/errors.rs +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/src/lexical/exponent.rs +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/src/lexical/float.rs +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/src/lexical/large_powers.rs +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/src/lexical/large_powers32.rs +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/src/lexical/large_powers64.rs +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/src/lexical/math.rs +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/src/lexical/mod.rs +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/src/lexical/num.rs +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/src/lexical/parse.rs +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/src/lexical/rounding.rs +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/src/lexical/shift.rs +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/src/lexical/small_powers.rs +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/src/macros.rs +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/src/number.rs +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/src/raw.rs +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/src/read.rs +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/src/value/from.rs +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/src/value/index.rs +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/src/value/mod.rs +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/src/value/partial_eq.rs +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/src/value/ser.rs +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/tests/compiletest.rs +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/tests/debug.rs +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/tests/lexical/algorithm.rs +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/tests/lexical/exponent.rs +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/tests/lexical/float.rs +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/tests/lexical/math.rs +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/tests/lexical/num.rs +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/tests/lexical/parse.rs +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/tests/lexical/rounding.rs +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/tests/lexical.rs +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/tests/macros/mod.rs +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/tests/map.rs +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/tests/regression/issue1004.rs +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/tests/regression/issue520.rs +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/tests/regression/issue795.rs +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/tests/regression/issue845.rs +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/tests/regression/issue953.rs +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/tests/regression.rs +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/tests/stream.rs +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/tests/test.rs +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/tests/ui/missing_colon.rs +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/tests/ui/missing_colon.stderr +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/tests/ui/missing_comma.rs +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/tests/ui/missing_comma.stderr +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/tests/ui/missing_value.rs +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/tests/ui/missing_value.stderr +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/tests/ui/not_found.rs +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/tests/ui/not_found.stderr +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/tests/ui/parse_expr.rs +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/tests/ui/parse_expr.stderr +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/tests/ui/parse_key.rs +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/tests/ui/parse_key.stderr +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/tests/ui/unexpected_after_array_element.rs +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/tests/ui/unexpected_after_array_element.stderr +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/tests/ui/unexpected_after_map_entry.rs +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/tests/ui/unexpected_after_map_entry.stderr +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/tests/ui/unexpected_colon.rs +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/tests/ui/unexpected_colon.stderr +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/tests/ui/unexpected_comma.rs +0 -0
- /data/ext/cargo-vendor/{serde_json-1.0.142 → serde_json-1.0.143}/tests/ui/unexpected_comma.stderr +0 -0
- /data/ext/cargo-vendor/{tempfile-3.20.0 → tempfile-3.21.0}/.github/dependabot.yml +0 -0
- /data/ext/cargo-vendor/{tempfile-3.20.0 → tempfile-3.21.0}/LICENSE-APACHE +0 -0
- /data/ext/cargo-vendor/{tempfile-3.20.0 → tempfile-3.21.0}/LICENSE-MIT +0 -0
- /data/ext/cargo-vendor/{tempfile-3.20.0 → tempfile-3.21.0}/README.md +0 -0
- /data/ext/cargo-vendor/{tempfile-3.20.0 → tempfile-3.21.0}/deny.toml +0 -0
- /data/ext/cargo-vendor/{tempfile-3.20.0 → tempfile-3.21.0}/src/dir/imp/any.rs +0 -0
- /data/ext/cargo-vendor/{tempfile-3.20.0 → tempfile-3.21.0}/src/dir/imp/mod.rs +0 -0
- /data/ext/cargo-vendor/{tempfile-3.20.0 → tempfile-3.21.0}/src/dir/imp/unix.rs +0 -0
- /data/ext/cargo-vendor/{tempfile-3.20.0 → tempfile-3.21.0}/src/dir/mod.rs +0 -0
- /data/ext/cargo-vendor/{tempfile-3.20.0 → tempfile-3.21.0}/src/env.rs +0 -0
- /data/ext/cargo-vendor/{tempfile-3.20.0 → tempfile-3.21.0}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{tempfile-3.20.0 → tempfile-3.21.0}/src/file/imp/mod.rs +0 -0
- /data/ext/cargo-vendor/{tempfile-3.20.0 → tempfile-3.21.0}/src/file/imp/other.rs +0 -0
- /data/ext/cargo-vendor/{tempfile-3.20.0 → tempfile-3.21.0}/src/file/imp/unix.rs +0 -0
- /data/ext/cargo-vendor/{tempfile-3.20.0 → tempfile-3.21.0}/src/file/imp/windows.rs +0 -0
- /data/ext/cargo-vendor/{tempfile-3.20.0 → tempfile-3.21.0}/src/file/mod.rs +0 -0
- /data/ext/cargo-vendor/{tempfile-3.20.0 → tempfile-3.21.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{tempfile-3.20.0 → tempfile-3.21.0}/src/spooled.rs +0 -0
- /data/ext/cargo-vendor/{tempfile-3.20.0 → tempfile-3.21.0}/src/util.rs +0 -0
- /data/ext/cargo-vendor/{tempfile-3.20.0 → tempfile-3.21.0}/tests/env.rs +0 -0
- /data/ext/cargo-vendor/{tempfile-3.20.0 → tempfile-3.21.0}/tests/namedtempfile.rs +0 -0
- /data/ext/cargo-vendor/{tempfile-3.20.0 → tempfile-3.21.0}/tests/spooled.rs +0 -0
- /data/ext/cargo-vendor/{tempfile-3.20.0 → tempfile-3.21.0}/tests/tempdir.rs +0 -0
- /data/ext/cargo-vendor/{tempfile-3.20.0 → tempfile-3.21.0}/tests/tempfile.rs +0 -0
- /data/ext/cargo-vendor/{winapi-util-0.1.9 → winapi-util-0.1.10}/.github/workflows/ci.yml +0 -0
- /data/ext/cargo-vendor/{winapi-util-0.1.9 → winapi-util-0.1.10}/COPYING +0 -0
- /data/ext/cargo-vendor/{winapi-util-0.1.9 → winapi-util-0.1.10}/LICENSE-MIT +0 -0
- /data/ext/cargo-vendor/{winapi-util-0.1.9 → winapi-util-0.1.10}/README.md +0 -0
- /data/ext/cargo-vendor/{winapi-util-0.1.9 → winapi-util-0.1.10}/UNLICENSE +0 -0
- /data/ext/cargo-vendor/{winapi-util-0.1.9 → winapi-util-0.1.10}/rustfmt.toml +0 -0
- /data/ext/cargo-vendor/{winapi-util-0.1.9 → winapi-util-0.1.10}/src/console.rs +0 -0
- /data/ext/cargo-vendor/{winapi-util-0.1.9 → winapi-util-0.1.10}/src/file.rs +0 -0
- /data/ext/cargo-vendor/{winapi-util-0.1.9 → winapi-util-0.1.10}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{winapi-util-0.1.9 → winapi-util-0.1.10}/src/sysinfo.rs +0 -0
- /data/ext/cargo-vendor/{winapi-util-0.1.9 → winapi-util-0.1.10}/src/win.rs +0 -0
@@ -1,1174 +0,0 @@
|
|
1
|
-
//! A map of String to serde_json::Value.
|
2
|
-
//!
|
3
|
-
//! By default the map is backed by a [`BTreeMap`]. Enable the `preserve_order`
|
4
|
-
//! feature of serde_json to use [`IndexMap`] instead.
|
5
|
-
//!
|
6
|
-
//! [`BTreeMap`]: std::collections::BTreeMap
|
7
|
-
//! [`IndexMap`]: indexmap::IndexMap
|
8
|
-
|
9
|
-
use crate::error::Error;
|
10
|
-
use crate::value::Value;
|
11
|
-
use alloc::string::String;
|
12
|
-
#[cfg(feature = "preserve_order")]
|
13
|
-
use alloc::vec::Vec;
|
14
|
-
use core::borrow::Borrow;
|
15
|
-
use core::fmt::{self, Debug};
|
16
|
-
use core::hash::{Hash, Hasher};
|
17
|
-
use core::iter::FusedIterator;
|
18
|
-
#[cfg(feature = "preserve_order")]
|
19
|
-
use core::mem;
|
20
|
-
use core::ops;
|
21
|
-
use serde::de;
|
22
|
-
|
23
|
-
#[cfg(not(feature = "preserve_order"))]
|
24
|
-
use alloc::collections::{btree_map, BTreeMap};
|
25
|
-
#[cfg(feature = "preserve_order")]
|
26
|
-
use indexmap::IndexMap;
|
27
|
-
|
28
|
-
/// Represents a JSON key/value type.
|
29
|
-
pub struct Map<K, V> {
|
30
|
-
map: MapImpl<K, V>,
|
31
|
-
}
|
32
|
-
|
33
|
-
#[cfg(not(feature = "preserve_order"))]
|
34
|
-
type MapImpl<K, V> = BTreeMap<K, V>;
|
35
|
-
#[cfg(feature = "preserve_order")]
|
36
|
-
type MapImpl<K, V> = IndexMap<K, V>;
|
37
|
-
|
38
|
-
impl Map<String, Value> {
|
39
|
-
/// Makes a new empty Map.
|
40
|
-
#[inline]
|
41
|
-
pub fn new() -> Self {
|
42
|
-
Map {
|
43
|
-
map: MapImpl::new(),
|
44
|
-
}
|
45
|
-
}
|
46
|
-
|
47
|
-
/// Makes a new empty Map with the given initial capacity.
|
48
|
-
#[inline]
|
49
|
-
pub fn with_capacity(capacity: usize) -> Self {
|
50
|
-
Map {
|
51
|
-
#[cfg(not(feature = "preserve_order"))]
|
52
|
-
map: {
|
53
|
-
// does not support with_capacity
|
54
|
-
let _ = capacity;
|
55
|
-
BTreeMap::new()
|
56
|
-
},
|
57
|
-
#[cfg(feature = "preserve_order")]
|
58
|
-
map: IndexMap::with_capacity(capacity),
|
59
|
-
}
|
60
|
-
}
|
61
|
-
|
62
|
-
/// Clears the map, removing all values.
|
63
|
-
#[inline]
|
64
|
-
pub fn clear(&mut self) {
|
65
|
-
self.map.clear();
|
66
|
-
}
|
67
|
-
|
68
|
-
/// Returns a reference to the value corresponding to the key.
|
69
|
-
///
|
70
|
-
/// The key may be any borrowed form of the map's key type, but the ordering
|
71
|
-
/// on the borrowed form *must* match the ordering on the key type.
|
72
|
-
#[inline]
|
73
|
-
pub fn get<Q>(&self, key: &Q) -> Option<&Value>
|
74
|
-
where
|
75
|
-
String: Borrow<Q>,
|
76
|
-
Q: ?Sized + Ord + Eq + Hash,
|
77
|
-
{
|
78
|
-
self.map.get(key)
|
79
|
-
}
|
80
|
-
|
81
|
-
/// Returns true if the map contains a value for the specified key.
|
82
|
-
///
|
83
|
-
/// The key may be any borrowed form of the map's key type, but the ordering
|
84
|
-
/// on the borrowed form *must* match the ordering on the key type.
|
85
|
-
#[inline]
|
86
|
-
pub fn contains_key<Q>(&self, key: &Q) -> bool
|
87
|
-
where
|
88
|
-
String: Borrow<Q>,
|
89
|
-
Q: ?Sized + Ord + Eq + Hash,
|
90
|
-
{
|
91
|
-
self.map.contains_key(key)
|
92
|
-
}
|
93
|
-
|
94
|
-
/// Returns a mutable reference to the value corresponding to the key.
|
95
|
-
///
|
96
|
-
/// The key may be any borrowed form of the map's key type, but the ordering
|
97
|
-
/// on the borrowed form *must* match the ordering on the key type.
|
98
|
-
#[inline]
|
99
|
-
pub fn get_mut<Q>(&mut self, key: &Q) -> Option<&mut Value>
|
100
|
-
where
|
101
|
-
String: Borrow<Q>,
|
102
|
-
Q: ?Sized + Ord + Eq + Hash,
|
103
|
-
{
|
104
|
-
self.map.get_mut(key)
|
105
|
-
}
|
106
|
-
|
107
|
-
/// Returns the key-value pair matching the given key.
|
108
|
-
///
|
109
|
-
/// The key may be any borrowed form of the map's key type, but the ordering
|
110
|
-
/// on the borrowed form *must* match the ordering on the key type.
|
111
|
-
#[inline]
|
112
|
-
pub fn get_key_value<Q>(&self, key: &Q) -> Option<(&String, &Value)>
|
113
|
-
where
|
114
|
-
String: Borrow<Q>,
|
115
|
-
Q: ?Sized + Ord + Eq + Hash,
|
116
|
-
{
|
117
|
-
self.map.get_key_value(key)
|
118
|
-
}
|
119
|
-
|
120
|
-
/// Inserts a key-value pair into the map.
|
121
|
-
///
|
122
|
-
/// If the map did not have this key present, `None` is returned.
|
123
|
-
///
|
124
|
-
/// If the map did have this key present, the value is updated, and the old
|
125
|
-
/// value is returned.
|
126
|
-
#[inline]
|
127
|
-
pub fn insert(&mut self, k: String, v: Value) -> Option<Value> {
|
128
|
-
self.map.insert(k, v)
|
129
|
-
}
|
130
|
-
|
131
|
-
/// Insert a key-value pair in the map at the given index.
|
132
|
-
///
|
133
|
-
/// If the map did not have this key present, `None` is returned.
|
134
|
-
///
|
135
|
-
/// If the map did have this key present, the key is moved to the new
|
136
|
-
/// position, the value is updated, and the old value is returned.
|
137
|
-
#[cfg(feature = "preserve_order")]
|
138
|
-
#[cfg_attr(docsrs, doc(cfg(feature = "preserve_order")))]
|
139
|
-
#[inline]
|
140
|
-
pub fn shift_insert(&mut self, index: usize, k: String, v: Value) -> Option<Value> {
|
141
|
-
self.map.shift_insert(index, k, v)
|
142
|
-
}
|
143
|
-
|
144
|
-
/// Removes a key from the map, returning the value at the key if the key
|
145
|
-
/// was previously in the map.
|
146
|
-
///
|
147
|
-
/// The key may be any borrowed form of the map's key type, but the ordering
|
148
|
-
/// on the borrowed form *must* match the ordering on the key type.
|
149
|
-
///
|
150
|
-
/// If serde_json's "preserve_order" is enabled, `.remove(key)` is
|
151
|
-
/// equivalent to [`.swap_remove(key)`][Self::swap_remove], replacing this
|
152
|
-
/// entry's position with the last element. If you need to preserve the
|
153
|
-
/// relative order of the keys in the map, use
|
154
|
-
/// [`.shift_remove(key)`][Self::shift_remove] instead.
|
155
|
-
#[inline]
|
156
|
-
pub fn remove<Q>(&mut self, key: &Q) -> Option<Value>
|
157
|
-
where
|
158
|
-
String: Borrow<Q>,
|
159
|
-
Q: ?Sized + Ord + Eq + Hash,
|
160
|
-
{
|
161
|
-
#[cfg(feature = "preserve_order")]
|
162
|
-
return self.swap_remove(key);
|
163
|
-
#[cfg(not(feature = "preserve_order"))]
|
164
|
-
return self.map.remove(key);
|
165
|
-
}
|
166
|
-
|
167
|
-
/// Removes a key from the map, returning the stored key and value if the
|
168
|
-
/// key was previously in the map.
|
169
|
-
///
|
170
|
-
/// The key may be any borrowed form of the map's key type, but the ordering
|
171
|
-
/// on the borrowed form *must* match the ordering on the key type.
|
172
|
-
///
|
173
|
-
/// If serde_json's "preserve_order" is enabled, `.remove_entry(key)` is
|
174
|
-
/// equivalent to [`.swap_remove_entry(key)`][Self::swap_remove_entry],
|
175
|
-
/// replacing this entry's position with the last element. If you need to
|
176
|
-
/// preserve the relative order of the keys in the map, use
|
177
|
-
/// [`.shift_remove_entry(key)`][Self::shift_remove_entry] instead.
|
178
|
-
#[inline]
|
179
|
-
pub fn remove_entry<Q>(&mut self, key: &Q) -> Option<(String, Value)>
|
180
|
-
where
|
181
|
-
String: Borrow<Q>,
|
182
|
-
Q: ?Sized + Ord + Eq + Hash,
|
183
|
-
{
|
184
|
-
#[cfg(feature = "preserve_order")]
|
185
|
-
return self.swap_remove_entry(key);
|
186
|
-
#[cfg(not(feature = "preserve_order"))]
|
187
|
-
return self.map.remove_entry(key);
|
188
|
-
}
|
189
|
-
|
190
|
-
/// Removes and returns the value corresponding to the key from the map.
|
191
|
-
///
|
192
|
-
/// Like [`Vec::swap_remove`], the entry is removed by swapping it with the
|
193
|
-
/// last element of the map and popping it off. This perturbs the position
|
194
|
-
/// of what used to be the last element!
|
195
|
-
///
|
196
|
-
/// [`Vec::swap_remove`]: std::vec::Vec::swap_remove
|
197
|
-
#[cfg(feature = "preserve_order")]
|
198
|
-
#[cfg_attr(docsrs, doc(cfg(feature = "preserve_order")))]
|
199
|
-
#[inline]
|
200
|
-
pub fn swap_remove<Q>(&mut self, key: &Q) -> Option<Value>
|
201
|
-
where
|
202
|
-
String: Borrow<Q>,
|
203
|
-
Q: ?Sized + Ord + Eq + Hash,
|
204
|
-
{
|
205
|
-
self.map.swap_remove(key)
|
206
|
-
}
|
207
|
-
|
208
|
-
/// Remove and return the key-value pair.
|
209
|
-
///
|
210
|
-
/// Like [`Vec::swap_remove`], the entry is removed by swapping it with the
|
211
|
-
/// last element of the map and popping it off. This perturbs the position
|
212
|
-
/// of what used to be the last element!
|
213
|
-
///
|
214
|
-
/// [`Vec::swap_remove`]: std::vec::Vec::swap_remove
|
215
|
-
#[cfg(feature = "preserve_order")]
|
216
|
-
#[cfg_attr(docsrs, doc(cfg(feature = "preserve_order")))]
|
217
|
-
#[inline]
|
218
|
-
pub fn swap_remove_entry<Q>(&mut self, key: &Q) -> Option<(String, Value)>
|
219
|
-
where
|
220
|
-
String: Borrow<Q>,
|
221
|
-
Q: ?Sized + Ord + Eq + Hash,
|
222
|
-
{
|
223
|
-
self.map.swap_remove_entry(key)
|
224
|
-
}
|
225
|
-
|
226
|
-
/// Removes and returns the value corresponding to the key from the map.
|
227
|
-
///
|
228
|
-
/// Like [`Vec::remove`], the entry is removed by shifting all of the
|
229
|
-
/// elements that follow it, preserving their relative order. This perturbs
|
230
|
-
/// the index of all of those elements!
|
231
|
-
///
|
232
|
-
/// [`Vec::remove`]: std::vec::Vec::remove
|
233
|
-
#[cfg(feature = "preserve_order")]
|
234
|
-
#[cfg_attr(docsrs, doc(cfg(feature = "preserve_order")))]
|
235
|
-
#[inline]
|
236
|
-
pub fn shift_remove<Q>(&mut self, key: &Q) -> Option<Value>
|
237
|
-
where
|
238
|
-
String: Borrow<Q>,
|
239
|
-
Q: ?Sized + Ord + Eq + Hash,
|
240
|
-
{
|
241
|
-
self.map.shift_remove(key)
|
242
|
-
}
|
243
|
-
|
244
|
-
/// Remove and return the key-value pair.
|
245
|
-
///
|
246
|
-
/// Like [`Vec::remove`], the entry is removed by shifting all of the
|
247
|
-
/// elements that follow it, preserving their relative order. This perturbs
|
248
|
-
/// the index of all of those elements!
|
249
|
-
///
|
250
|
-
/// [`Vec::remove`]: std::vec::Vec::remove
|
251
|
-
#[cfg(feature = "preserve_order")]
|
252
|
-
#[cfg_attr(docsrs, doc(cfg(feature = "preserve_order")))]
|
253
|
-
#[inline]
|
254
|
-
pub fn shift_remove_entry<Q>(&mut self, key: &Q) -> Option<(String, Value)>
|
255
|
-
where
|
256
|
-
String: Borrow<Q>,
|
257
|
-
Q: ?Sized + Ord + Eq + Hash,
|
258
|
-
{
|
259
|
-
self.map.shift_remove_entry(key)
|
260
|
-
}
|
261
|
-
|
262
|
-
/// Moves all elements from other into self, leaving other empty.
|
263
|
-
#[inline]
|
264
|
-
pub fn append(&mut self, other: &mut Self) {
|
265
|
-
#[cfg(feature = "preserve_order")]
|
266
|
-
self.map
|
267
|
-
.extend(mem::replace(&mut other.map, MapImpl::default()));
|
268
|
-
#[cfg(not(feature = "preserve_order"))]
|
269
|
-
self.map.append(&mut other.map);
|
270
|
-
}
|
271
|
-
|
272
|
-
/// Gets the given key's corresponding entry in the map for in-place
|
273
|
-
/// manipulation.
|
274
|
-
pub fn entry<S>(&mut self, key: S) -> Entry
|
275
|
-
where
|
276
|
-
S: Into<String>,
|
277
|
-
{
|
278
|
-
#[cfg(not(feature = "preserve_order"))]
|
279
|
-
use alloc::collections::btree_map::Entry as EntryImpl;
|
280
|
-
#[cfg(feature = "preserve_order")]
|
281
|
-
use indexmap::map::Entry as EntryImpl;
|
282
|
-
|
283
|
-
match self.map.entry(key.into()) {
|
284
|
-
EntryImpl::Vacant(vacant) => Entry::Vacant(VacantEntry { vacant }),
|
285
|
-
EntryImpl::Occupied(occupied) => Entry::Occupied(OccupiedEntry { occupied }),
|
286
|
-
}
|
287
|
-
}
|
288
|
-
|
289
|
-
/// Returns the number of elements in the map.
|
290
|
-
#[inline]
|
291
|
-
pub fn len(&self) -> usize {
|
292
|
-
self.map.len()
|
293
|
-
}
|
294
|
-
|
295
|
-
/// Returns true if the map contains no elements.
|
296
|
-
#[inline]
|
297
|
-
pub fn is_empty(&self) -> bool {
|
298
|
-
self.map.is_empty()
|
299
|
-
}
|
300
|
-
|
301
|
-
/// Gets an iterator over the entries of the map.
|
302
|
-
#[inline]
|
303
|
-
pub fn iter(&self) -> Iter {
|
304
|
-
Iter {
|
305
|
-
iter: self.map.iter(),
|
306
|
-
}
|
307
|
-
}
|
308
|
-
|
309
|
-
/// Gets a mutable iterator over the entries of the map.
|
310
|
-
#[inline]
|
311
|
-
pub fn iter_mut(&mut self) -> IterMut {
|
312
|
-
IterMut {
|
313
|
-
iter: self.map.iter_mut(),
|
314
|
-
}
|
315
|
-
}
|
316
|
-
|
317
|
-
/// Gets an iterator over the keys of the map.
|
318
|
-
#[inline]
|
319
|
-
pub fn keys(&self) -> Keys {
|
320
|
-
Keys {
|
321
|
-
iter: self.map.keys(),
|
322
|
-
}
|
323
|
-
}
|
324
|
-
|
325
|
-
/// Gets an iterator over the values of the map.
|
326
|
-
#[inline]
|
327
|
-
pub fn values(&self) -> Values {
|
328
|
-
Values {
|
329
|
-
iter: self.map.values(),
|
330
|
-
}
|
331
|
-
}
|
332
|
-
|
333
|
-
/// Gets an iterator over mutable values of the map.
|
334
|
-
#[inline]
|
335
|
-
pub fn values_mut(&mut self) -> ValuesMut {
|
336
|
-
ValuesMut {
|
337
|
-
iter: self.map.values_mut(),
|
338
|
-
}
|
339
|
-
}
|
340
|
-
|
341
|
-
/// Gets an iterator over the values of the map.
|
342
|
-
#[inline]
|
343
|
-
pub fn into_values(self) -> IntoValues {
|
344
|
-
IntoValues {
|
345
|
-
iter: self.map.into_values(),
|
346
|
-
}
|
347
|
-
}
|
348
|
-
|
349
|
-
/// Retains only the elements specified by the predicate.
|
350
|
-
///
|
351
|
-
/// In other words, remove all pairs `(k, v)` such that `f(&k, &mut v)`
|
352
|
-
/// returns `false`.
|
353
|
-
#[inline]
|
354
|
-
pub fn retain<F>(&mut self, f: F)
|
355
|
-
where
|
356
|
-
F: FnMut(&String, &mut Value) -> bool,
|
357
|
-
{
|
358
|
-
self.map.retain(f);
|
359
|
-
}
|
360
|
-
|
361
|
-
/// Sorts this map's entries in-place using `str`'s usual ordering.
|
362
|
-
///
|
363
|
-
/// If serde_json's "preserve_order" feature is not enabled, this method
|
364
|
-
/// does no work because all JSON maps are always kept in a sorted state.
|
365
|
-
///
|
366
|
-
/// If serde_json's "preserve_order" feature is enabled, this method
|
367
|
-
/// destroys the original source order or insertion order of this map in
|
368
|
-
/// favor of an alphanumerical order that matches how a BTreeMap with the
|
369
|
-
/// same contents would be ordered. This takes **O(n log n + c)** time where
|
370
|
-
/// _n_ is the length of the map and _c_ is the capacity.
|
371
|
-
///
|
372
|
-
/// Other maps nested within the values of this map are not sorted. If you
|
373
|
-
/// need the entire data structure to be sorted at all levels, you must also
|
374
|
-
/// call
|
375
|
-
/// <code>map.[values_mut]\().for_each([Value::sort_all_objects])</code>.
|
376
|
-
///
|
377
|
-
/// [values_mut]: Map::values_mut
|
378
|
-
#[inline]
|
379
|
-
pub fn sort_keys(&mut self) {
|
380
|
-
#[cfg(feature = "preserve_order")]
|
381
|
-
self.map.sort_unstable_keys();
|
382
|
-
}
|
383
|
-
}
|
384
|
-
|
385
|
-
#[allow(clippy::derivable_impls)] // clippy bug: https://github.com/rust-lang/rust-clippy/issues/7655
|
386
|
-
impl Default for Map<String, Value> {
|
387
|
-
#[inline]
|
388
|
-
fn default() -> Self {
|
389
|
-
Map {
|
390
|
-
map: MapImpl::new(),
|
391
|
-
}
|
392
|
-
}
|
393
|
-
}
|
394
|
-
|
395
|
-
impl Clone for Map<String, Value> {
|
396
|
-
#[inline]
|
397
|
-
fn clone(&self) -> Self {
|
398
|
-
Map {
|
399
|
-
map: self.map.clone(),
|
400
|
-
}
|
401
|
-
}
|
402
|
-
|
403
|
-
#[inline]
|
404
|
-
fn clone_from(&mut self, source: &Self) {
|
405
|
-
self.map.clone_from(&source.map);
|
406
|
-
}
|
407
|
-
}
|
408
|
-
|
409
|
-
impl PartialEq for Map<String, Value> {
|
410
|
-
#[inline]
|
411
|
-
fn eq(&self, other: &Self) -> bool {
|
412
|
-
self.map.eq(&other.map)
|
413
|
-
}
|
414
|
-
}
|
415
|
-
|
416
|
-
impl Eq for Map<String, Value> {}
|
417
|
-
|
418
|
-
impl Hash for Map<String, Value> {
|
419
|
-
fn hash<H: Hasher>(&self, state: &mut H) {
|
420
|
-
#[cfg(not(feature = "preserve_order"))]
|
421
|
-
{
|
422
|
-
self.map.hash(state);
|
423
|
-
}
|
424
|
-
|
425
|
-
#[cfg(feature = "preserve_order")]
|
426
|
-
{
|
427
|
-
let mut kv = Vec::from_iter(&self.map);
|
428
|
-
kv.sort_unstable_by(|a, b| a.0.cmp(b.0));
|
429
|
-
kv.hash(state);
|
430
|
-
}
|
431
|
-
}
|
432
|
-
}
|
433
|
-
|
434
|
-
/// Access an element of this map. Panics if the given key is not present in the
|
435
|
-
/// map.
|
436
|
-
///
|
437
|
-
/// ```
|
438
|
-
/// # use serde_json::Value;
|
439
|
-
/// #
|
440
|
-
/// # let val = &Value::String("".to_owned());
|
441
|
-
/// # let _ =
|
442
|
-
/// match val {
|
443
|
-
/// Value::String(s) => Some(s.as_str()),
|
444
|
-
/// Value::Array(arr) => arr[0].as_str(),
|
445
|
-
/// Value::Object(map) => map["type"].as_str(),
|
446
|
-
/// _ => None,
|
447
|
-
/// }
|
448
|
-
/// # ;
|
449
|
-
/// ```
|
450
|
-
impl<Q> ops::Index<&Q> for Map<String, Value>
|
451
|
-
where
|
452
|
-
String: Borrow<Q>,
|
453
|
-
Q: ?Sized + Ord + Eq + Hash,
|
454
|
-
{
|
455
|
-
type Output = Value;
|
456
|
-
|
457
|
-
fn index(&self, index: &Q) -> &Value {
|
458
|
-
self.map.index(index)
|
459
|
-
}
|
460
|
-
}
|
461
|
-
|
462
|
-
/// Mutably access an element of this map. Panics if the given key is not
|
463
|
-
/// present in the map.
|
464
|
-
///
|
465
|
-
/// ```
|
466
|
-
/// # use serde_json::json;
|
467
|
-
/// #
|
468
|
-
/// # let mut map = serde_json::Map::new();
|
469
|
-
/// # map.insert("key".to_owned(), serde_json::Value::Null);
|
470
|
-
/// #
|
471
|
-
/// map["key"] = json!("value");
|
472
|
-
/// ```
|
473
|
-
impl<Q> ops::IndexMut<&Q> for Map<String, Value>
|
474
|
-
where
|
475
|
-
String: Borrow<Q>,
|
476
|
-
Q: ?Sized + Ord + Eq + Hash,
|
477
|
-
{
|
478
|
-
fn index_mut(&mut self, index: &Q) -> &mut Value {
|
479
|
-
self.map.get_mut(index).expect("no entry found for key")
|
480
|
-
}
|
481
|
-
}
|
482
|
-
|
483
|
-
impl Debug for Map<String, Value> {
|
484
|
-
#[inline]
|
485
|
-
fn fmt(&self, formatter: &mut fmt::Formatter) -> Result<(), fmt::Error> {
|
486
|
-
self.map.fmt(formatter)
|
487
|
-
}
|
488
|
-
}
|
489
|
-
|
490
|
-
#[cfg(any(feature = "std", feature = "alloc"))]
|
491
|
-
impl serde::ser::Serialize for Map<String, Value> {
|
492
|
-
#[inline]
|
493
|
-
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
|
494
|
-
where
|
495
|
-
S: serde::ser::Serializer,
|
496
|
-
{
|
497
|
-
use serde::ser::SerializeMap;
|
498
|
-
let mut map = tri!(serializer.serialize_map(Some(self.len())));
|
499
|
-
for (k, v) in self {
|
500
|
-
tri!(map.serialize_entry(k, v));
|
501
|
-
}
|
502
|
-
map.end()
|
503
|
-
}
|
504
|
-
}
|
505
|
-
|
506
|
-
impl<'de> de::Deserialize<'de> for Map<String, Value> {
|
507
|
-
#[inline]
|
508
|
-
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
|
509
|
-
where
|
510
|
-
D: de::Deserializer<'de>,
|
511
|
-
{
|
512
|
-
struct Visitor;
|
513
|
-
|
514
|
-
impl<'de> de::Visitor<'de> for Visitor {
|
515
|
-
type Value = Map<String, Value>;
|
516
|
-
|
517
|
-
fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result {
|
518
|
-
formatter.write_str("a map")
|
519
|
-
}
|
520
|
-
|
521
|
-
#[inline]
|
522
|
-
fn visit_unit<E>(self) -> Result<Self::Value, E>
|
523
|
-
where
|
524
|
-
E: de::Error,
|
525
|
-
{
|
526
|
-
Ok(Map::new())
|
527
|
-
}
|
528
|
-
|
529
|
-
#[cfg(any(feature = "std", feature = "alloc"))]
|
530
|
-
#[inline]
|
531
|
-
fn visit_map<V>(self, mut visitor: V) -> Result<Self::Value, V::Error>
|
532
|
-
where
|
533
|
-
V: de::MapAccess<'de>,
|
534
|
-
{
|
535
|
-
let mut values = Map::new();
|
536
|
-
|
537
|
-
while let Some((key, value)) = tri!(visitor.next_entry()) {
|
538
|
-
values.insert(key, value);
|
539
|
-
}
|
540
|
-
|
541
|
-
Ok(values)
|
542
|
-
}
|
543
|
-
}
|
544
|
-
|
545
|
-
deserializer.deserialize_map(Visitor)
|
546
|
-
}
|
547
|
-
}
|
548
|
-
|
549
|
-
impl FromIterator<(String, Value)> for Map<String, Value> {
|
550
|
-
fn from_iter<T>(iter: T) -> Self
|
551
|
-
where
|
552
|
-
T: IntoIterator<Item = (String, Value)>,
|
553
|
-
{
|
554
|
-
Map {
|
555
|
-
map: FromIterator::from_iter(iter),
|
556
|
-
}
|
557
|
-
}
|
558
|
-
}
|
559
|
-
|
560
|
-
impl Extend<(String, Value)> for Map<String, Value> {
|
561
|
-
fn extend<T>(&mut self, iter: T)
|
562
|
-
where
|
563
|
-
T: IntoIterator<Item = (String, Value)>,
|
564
|
-
{
|
565
|
-
self.map.extend(iter);
|
566
|
-
}
|
567
|
-
}
|
568
|
-
|
569
|
-
macro_rules! delegate_iterator {
|
570
|
-
(($name:ident $($generics:tt)*) => $item:ty) => {
|
571
|
-
impl $($generics)* Iterator for $name $($generics)* {
|
572
|
-
type Item = $item;
|
573
|
-
#[inline]
|
574
|
-
fn next(&mut self) -> Option<Self::Item> {
|
575
|
-
self.iter.next()
|
576
|
-
}
|
577
|
-
#[inline]
|
578
|
-
fn size_hint(&self) -> (usize, Option<usize>) {
|
579
|
-
self.iter.size_hint()
|
580
|
-
}
|
581
|
-
}
|
582
|
-
|
583
|
-
impl $($generics)* DoubleEndedIterator for $name $($generics)* {
|
584
|
-
#[inline]
|
585
|
-
fn next_back(&mut self) -> Option<Self::Item> {
|
586
|
-
self.iter.next_back()
|
587
|
-
}
|
588
|
-
}
|
589
|
-
|
590
|
-
impl $($generics)* ExactSizeIterator for $name $($generics)* {
|
591
|
-
#[inline]
|
592
|
-
fn len(&self) -> usize {
|
593
|
-
self.iter.len()
|
594
|
-
}
|
595
|
-
}
|
596
|
-
|
597
|
-
impl $($generics)* FusedIterator for $name $($generics)* {}
|
598
|
-
}
|
599
|
-
}
|
600
|
-
|
601
|
-
impl<'de> de::IntoDeserializer<'de, Error> for Map<String, Value> {
|
602
|
-
type Deserializer = Self;
|
603
|
-
|
604
|
-
fn into_deserializer(self) -> Self::Deserializer {
|
605
|
-
self
|
606
|
-
}
|
607
|
-
}
|
608
|
-
|
609
|
-
impl<'de> de::IntoDeserializer<'de, Error> for &'de Map<String, Value> {
|
610
|
-
type Deserializer = Self;
|
611
|
-
|
612
|
-
fn into_deserializer(self) -> Self::Deserializer {
|
613
|
-
self
|
614
|
-
}
|
615
|
-
}
|
616
|
-
|
617
|
-
//////////////////////////////////////////////////////////////////////////////
|
618
|
-
|
619
|
-
/// A view into a single entry in a map, which may either be vacant or occupied.
|
620
|
-
/// This enum is constructed from the [`entry`] method on [`Map`].
|
621
|
-
///
|
622
|
-
/// [`entry`]: Map::entry
|
623
|
-
pub enum Entry<'a> {
|
624
|
-
/// A vacant Entry.
|
625
|
-
Vacant(VacantEntry<'a>),
|
626
|
-
/// An occupied Entry.
|
627
|
-
Occupied(OccupiedEntry<'a>),
|
628
|
-
}
|
629
|
-
|
630
|
-
/// A vacant Entry. It is part of the [`Entry`] enum.
|
631
|
-
pub struct VacantEntry<'a> {
|
632
|
-
vacant: VacantEntryImpl<'a>,
|
633
|
-
}
|
634
|
-
|
635
|
-
/// An occupied Entry. It is part of the [`Entry`] enum.
|
636
|
-
pub struct OccupiedEntry<'a> {
|
637
|
-
occupied: OccupiedEntryImpl<'a>,
|
638
|
-
}
|
639
|
-
|
640
|
-
#[cfg(not(feature = "preserve_order"))]
|
641
|
-
type VacantEntryImpl<'a> = btree_map::VacantEntry<'a, String, Value>;
|
642
|
-
#[cfg(feature = "preserve_order")]
|
643
|
-
type VacantEntryImpl<'a> = indexmap::map::VacantEntry<'a, String, Value>;
|
644
|
-
|
645
|
-
#[cfg(not(feature = "preserve_order"))]
|
646
|
-
type OccupiedEntryImpl<'a> = btree_map::OccupiedEntry<'a, String, Value>;
|
647
|
-
#[cfg(feature = "preserve_order")]
|
648
|
-
type OccupiedEntryImpl<'a> = indexmap::map::OccupiedEntry<'a, String, Value>;
|
649
|
-
|
650
|
-
impl<'a> Entry<'a> {
|
651
|
-
/// Returns a reference to this entry's key.
|
652
|
-
///
|
653
|
-
/// # Examples
|
654
|
-
///
|
655
|
-
/// ```
|
656
|
-
/// let mut map = serde_json::Map::new();
|
657
|
-
/// assert_eq!(map.entry("serde").key(), &"serde");
|
658
|
-
/// ```
|
659
|
-
pub fn key(&self) -> &String {
|
660
|
-
match self {
|
661
|
-
Entry::Vacant(e) => e.key(),
|
662
|
-
Entry::Occupied(e) => e.key(),
|
663
|
-
}
|
664
|
-
}
|
665
|
-
|
666
|
-
/// Ensures a value is in the entry by inserting the default if empty, and
|
667
|
-
/// returns a mutable reference to the value in the entry.
|
668
|
-
///
|
669
|
-
/// # Examples
|
670
|
-
///
|
671
|
-
/// ```
|
672
|
-
/// # use serde_json::json;
|
673
|
-
/// #
|
674
|
-
/// let mut map = serde_json::Map::new();
|
675
|
-
/// map.entry("serde").or_insert(json!(12));
|
676
|
-
///
|
677
|
-
/// assert_eq!(map["serde"], 12);
|
678
|
-
/// ```
|
679
|
-
pub fn or_insert(self, default: Value) -> &'a mut Value {
|
680
|
-
match self {
|
681
|
-
Entry::Vacant(entry) => entry.insert(default),
|
682
|
-
Entry::Occupied(entry) => entry.into_mut(),
|
683
|
-
}
|
684
|
-
}
|
685
|
-
|
686
|
-
/// Ensures a value is in the entry by inserting the result of the default
|
687
|
-
/// function if empty, and returns a mutable reference to the value in the
|
688
|
-
/// entry.
|
689
|
-
///
|
690
|
-
/// # Examples
|
691
|
-
///
|
692
|
-
/// ```
|
693
|
-
/// # use serde_json::json;
|
694
|
-
/// #
|
695
|
-
/// let mut map = serde_json::Map::new();
|
696
|
-
/// map.entry("serde").or_insert_with(|| json!("hoho"));
|
697
|
-
///
|
698
|
-
/// assert_eq!(map["serde"], "hoho".to_owned());
|
699
|
-
/// ```
|
700
|
-
pub fn or_insert_with<F>(self, default: F) -> &'a mut Value
|
701
|
-
where
|
702
|
-
F: FnOnce() -> Value,
|
703
|
-
{
|
704
|
-
match self {
|
705
|
-
Entry::Vacant(entry) => entry.insert(default()),
|
706
|
-
Entry::Occupied(entry) => entry.into_mut(),
|
707
|
-
}
|
708
|
-
}
|
709
|
-
|
710
|
-
/// Provides in-place mutable access to an occupied entry before any
|
711
|
-
/// potential inserts into the map.
|
712
|
-
///
|
713
|
-
/// # Examples
|
714
|
-
///
|
715
|
-
/// ```
|
716
|
-
/// # use serde_json::json;
|
717
|
-
/// #
|
718
|
-
/// let mut map = serde_json::Map::new();
|
719
|
-
/// map.entry("serde")
|
720
|
-
/// .and_modify(|e| *e = json!("rust"))
|
721
|
-
/// .or_insert(json!("cpp"));
|
722
|
-
///
|
723
|
-
/// assert_eq!(map["serde"], "cpp");
|
724
|
-
///
|
725
|
-
/// map.entry("serde")
|
726
|
-
/// .and_modify(|e| *e = json!("rust"))
|
727
|
-
/// .or_insert(json!("cpp"));
|
728
|
-
///
|
729
|
-
/// assert_eq!(map["serde"], "rust");
|
730
|
-
/// ```
|
731
|
-
pub fn and_modify<F>(self, f: F) -> Self
|
732
|
-
where
|
733
|
-
F: FnOnce(&mut Value),
|
734
|
-
{
|
735
|
-
match self {
|
736
|
-
Entry::Occupied(mut entry) => {
|
737
|
-
f(entry.get_mut());
|
738
|
-
Entry::Occupied(entry)
|
739
|
-
}
|
740
|
-
Entry::Vacant(entry) => Entry::Vacant(entry),
|
741
|
-
}
|
742
|
-
}
|
743
|
-
}
|
744
|
-
|
745
|
-
impl<'a> VacantEntry<'a> {
|
746
|
-
/// Gets a reference to the key that would be used when inserting a value
|
747
|
-
/// through the VacantEntry.
|
748
|
-
///
|
749
|
-
/// # Examples
|
750
|
-
///
|
751
|
-
/// ```
|
752
|
-
/// use serde_json::map::Entry;
|
753
|
-
///
|
754
|
-
/// let mut map = serde_json::Map::new();
|
755
|
-
///
|
756
|
-
/// match map.entry("serde") {
|
757
|
-
/// Entry::Vacant(vacant) => {
|
758
|
-
/// assert_eq!(vacant.key(), &"serde");
|
759
|
-
/// }
|
760
|
-
/// Entry::Occupied(_) => unimplemented!(),
|
761
|
-
/// }
|
762
|
-
/// ```
|
763
|
-
#[inline]
|
764
|
-
pub fn key(&self) -> &String {
|
765
|
-
self.vacant.key()
|
766
|
-
}
|
767
|
-
|
768
|
-
/// Sets the value of the entry with the VacantEntry's key, and returns a
|
769
|
-
/// mutable reference to it.
|
770
|
-
///
|
771
|
-
/// # Examples
|
772
|
-
///
|
773
|
-
/// ```
|
774
|
-
/// # use serde_json::json;
|
775
|
-
/// #
|
776
|
-
/// use serde_json::map::Entry;
|
777
|
-
///
|
778
|
-
/// let mut map = serde_json::Map::new();
|
779
|
-
///
|
780
|
-
/// match map.entry("serde") {
|
781
|
-
/// Entry::Vacant(vacant) => {
|
782
|
-
/// vacant.insert(json!("hoho"));
|
783
|
-
/// }
|
784
|
-
/// Entry::Occupied(_) => unimplemented!(),
|
785
|
-
/// }
|
786
|
-
/// ```
|
787
|
-
#[inline]
|
788
|
-
pub fn insert(self, value: Value) -> &'a mut Value {
|
789
|
-
self.vacant.insert(value)
|
790
|
-
}
|
791
|
-
}
|
792
|
-
|
793
|
-
impl<'a> OccupiedEntry<'a> {
|
794
|
-
/// Gets a reference to the key in the entry.
|
795
|
-
///
|
796
|
-
/// # Examples
|
797
|
-
///
|
798
|
-
/// ```
|
799
|
-
/// # use serde_json::json;
|
800
|
-
/// #
|
801
|
-
/// use serde_json::map::Entry;
|
802
|
-
///
|
803
|
-
/// let mut map = serde_json::Map::new();
|
804
|
-
/// map.insert("serde".to_owned(), json!(12));
|
805
|
-
///
|
806
|
-
/// match map.entry("serde") {
|
807
|
-
/// Entry::Occupied(occupied) => {
|
808
|
-
/// assert_eq!(occupied.key(), &"serde");
|
809
|
-
/// }
|
810
|
-
/// Entry::Vacant(_) => unimplemented!(),
|
811
|
-
/// }
|
812
|
-
/// ```
|
813
|
-
#[inline]
|
814
|
-
pub fn key(&self) -> &String {
|
815
|
-
self.occupied.key()
|
816
|
-
}
|
817
|
-
|
818
|
-
/// Gets a reference to the value in the entry.
|
819
|
-
///
|
820
|
-
/// # Examples
|
821
|
-
///
|
822
|
-
/// ```
|
823
|
-
/// # use serde_json::json;
|
824
|
-
/// #
|
825
|
-
/// use serde_json::map::Entry;
|
826
|
-
///
|
827
|
-
/// let mut map = serde_json::Map::new();
|
828
|
-
/// map.insert("serde".to_owned(), json!(12));
|
829
|
-
///
|
830
|
-
/// match map.entry("serde") {
|
831
|
-
/// Entry::Occupied(occupied) => {
|
832
|
-
/// assert_eq!(occupied.get(), 12);
|
833
|
-
/// }
|
834
|
-
/// Entry::Vacant(_) => unimplemented!(),
|
835
|
-
/// }
|
836
|
-
/// ```
|
837
|
-
#[inline]
|
838
|
-
pub fn get(&self) -> &Value {
|
839
|
-
self.occupied.get()
|
840
|
-
}
|
841
|
-
|
842
|
-
/// Gets a mutable reference to the value in the entry.
|
843
|
-
///
|
844
|
-
/// # Examples
|
845
|
-
///
|
846
|
-
/// ```
|
847
|
-
/// # use serde_json::json;
|
848
|
-
/// #
|
849
|
-
/// use serde_json::map::Entry;
|
850
|
-
///
|
851
|
-
/// let mut map = serde_json::Map::new();
|
852
|
-
/// map.insert("serde".to_owned(), json!([1, 2, 3]));
|
853
|
-
///
|
854
|
-
/// match map.entry("serde") {
|
855
|
-
/// Entry::Occupied(mut occupied) => {
|
856
|
-
/// occupied.get_mut().as_array_mut().unwrap().push(json!(4));
|
857
|
-
/// }
|
858
|
-
/// Entry::Vacant(_) => unimplemented!(),
|
859
|
-
/// }
|
860
|
-
///
|
861
|
-
/// assert_eq!(map["serde"].as_array().unwrap().len(), 4);
|
862
|
-
/// ```
|
863
|
-
#[inline]
|
864
|
-
pub fn get_mut(&mut self) -> &mut Value {
|
865
|
-
self.occupied.get_mut()
|
866
|
-
}
|
867
|
-
|
868
|
-
/// Converts the entry into a mutable reference to its value.
|
869
|
-
///
|
870
|
-
/// # Examples
|
871
|
-
///
|
872
|
-
/// ```
|
873
|
-
/// # use serde_json::json;
|
874
|
-
/// #
|
875
|
-
/// use serde_json::map::Entry;
|
876
|
-
///
|
877
|
-
/// let mut map = serde_json::Map::new();
|
878
|
-
/// map.insert("serde".to_owned(), json!([1, 2, 3]));
|
879
|
-
///
|
880
|
-
/// match map.entry("serde") {
|
881
|
-
/// Entry::Occupied(mut occupied) => {
|
882
|
-
/// occupied.into_mut().as_array_mut().unwrap().push(json!(4));
|
883
|
-
/// }
|
884
|
-
/// Entry::Vacant(_) => unimplemented!(),
|
885
|
-
/// }
|
886
|
-
///
|
887
|
-
/// assert_eq!(map["serde"].as_array().unwrap().len(), 4);
|
888
|
-
/// ```
|
889
|
-
#[inline]
|
890
|
-
pub fn into_mut(self) -> &'a mut Value {
|
891
|
-
self.occupied.into_mut()
|
892
|
-
}
|
893
|
-
|
894
|
-
/// Sets the value of the entry with the `OccupiedEntry`'s key, and returns
|
895
|
-
/// the entry's old value.
|
896
|
-
///
|
897
|
-
/// # Examples
|
898
|
-
///
|
899
|
-
/// ```
|
900
|
-
/// # use serde_json::json;
|
901
|
-
/// #
|
902
|
-
/// use serde_json::map::Entry;
|
903
|
-
///
|
904
|
-
/// let mut map = serde_json::Map::new();
|
905
|
-
/// map.insert("serde".to_owned(), json!(12));
|
906
|
-
///
|
907
|
-
/// match map.entry("serde") {
|
908
|
-
/// Entry::Occupied(mut occupied) => {
|
909
|
-
/// assert_eq!(occupied.insert(json!(13)), 12);
|
910
|
-
/// assert_eq!(occupied.get(), 13);
|
911
|
-
/// }
|
912
|
-
/// Entry::Vacant(_) => unimplemented!(),
|
913
|
-
/// }
|
914
|
-
/// ```
|
915
|
-
#[inline]
|
916
|
-
pub fn insert(&mut self, value: Value) -> Value {
|
917
|
-
self.occupied.insert(value)
|
918
|
-
}
|
919
|
-
|
920
|
-
/// Takes the value of the entry out of the map, and returns it.
|
921
|
-
///
|
922
|
-
/// If serde_json's "preserve_order" is enabled, `.remove()` is
|
923
|
-
/// equivalent to [`.swap_remove()`][Self::swap_remove], replacing this
|
924
|
-
/// entry's position with the last element. If you need to preserve the
|
925
|
-
/// relative order of the keys in the map, use
|
926
|
-
/// [`.shift_remove()`][Self::shift_remove] instead.
|
927
|
-
///
|
928
|
-
/// # Examples
|
929
|
-
///
|
930
|
-
/// ```
|
931
|
-
/// # use serde_json::json;
|
932
|
-
/// #
|
933
|
-
/// use serde_json::map::Entry;
|
934
|
-
///
|
935
|
-
/// let mut map = serde_json::Map::new();
|
936
|
-
/// map.insert("serde".to_owned(), json!(12));
|
937
|
-
///
|
938
|
-
/// match map.entry("serde") {
|
939
|
-
/// Entry::Occupied(occupied) => {
|
940
|
-
/// assert_eq!(occupied.remove(), 12);
|
941
|
-
/// }
|
942
|
-
/// Entry::Vacant(_) => unimplemented!(),
|
943
|
-
/// }
|
944
|
-
/// ```
|
945
|
-
#[inline]
|
946
|
-
pub fn remove(self) -> Value {
|
947
|
-
#[cfg(feature = "preserve_order")]
|
948
|
-
return self.swap_remove();
|
949
|
-
#[cfg(not(feature = "preserve_order"))]
|
950
|
-
return self.occupied.remove();
|
951
|
-
}
|
952
|
-
|
953
|
-
/// Takes the value of the entry out of the map, and returns it.
|
954
|
-
///
|
955
|
-
/// Like [`Vec::swap_remove`], the entry is removed by swapping it with the
|
956
|
-
/// last element of the map and popping it off. This perturbs the position
|
957
|
-
/// of what used to be the last element!
|
958
|
-
///
|
959
|
-
/// [`Vec::swap_remove`]: std::vec::Vec::swap_remove
|
960
|
-
#[cfg(feature = "preserve_order")]
|
961
|
-
#[cfg_attr(docsrs, doc(cfg(feature = "preserve_order")))]
|
962
|
-
#[inline]
|
963
|
-
pub fn swap_remove(self) -> Value {
|
964
|
-
self.occupied.swap_remove()
|
965
|
-
}
|
966
|
-
|
967
|
-
/// Takes the value of the entry out of the map, and returns it.
|
968
|
-
///
|
969
|
-
/// Like [`Vec::remove`], the entry is removed by shifting all of the
|
970
|
-
/// elements that follow it, preserving their relative order. This perturbs
|
971
|
-
/// the index of all of those elements!
|
972
|
-
///
|
973
|
-
/// [`Vec::remove`]: std::vec::Vec::remove
|
974
|
-
#[cfg(feature = "preserve_order")]
|
975
|
-
#[cfg_attr(docsrs, doc(cfg(feature = "preserve_order")))]
|
976
|
-
#[inline]
|
977
|
-
pub fn shift_remove(self) -> Value {
|
978
|
-
self.occupied.shift_remove()
|
979
|
-
}
|
980
|
-
|
981
|
-
/// Removes the entry from the map, returning the stored key and value.
|
982
|
-
///
|
983
|
-
/// If serde_json's "preserve_order" is enabled, `.remove_entry()` is
|
984
|
-
/// equivalent to [`.swap_remove_entry()`][Self::swap_remove_entry],
|
985
|
-
/// replacing this entry's position with the last element. If you need to
|
986
|
-
/// preserve the relative order of the keys in the map, use
|
987
|
-
/// [`.shift_remove_entry()`][Self::shift_remove_entry] instead.
|
988
|
-
///
|
989
|
-
/// # Examples
|
990
|
-
///
|
991
|
-
/// ```
|
992
|
-
/// # use serde_json::json;
|
993
|
-
/// #
|
994
|
-
/// use serde_json::map::Entry;
|
995
|
-
///
|
996
|
-
/// let mut map = serde_json::Map::new();
|
997
|
-
/// map.insert("serde".to_owned(), json!(12));
|
998
|
-
///
|
999
|
-
/// match map.entry("serde") {
|
1000
|
-
/// Entry::Occupied(occupied) => {
|
1001
|
-
/// let (key, value) = occupied.remove_entry();
|
1002
|
-
/// assert_eq!(key, "serde");
|
1003
|
-
/// assert_eq!(value, 12);
|
1004
|
-
/// }
|
1005
|
-
/// Entry::Vacant(_) => unimplemented!(),
|
1006
|
-
/// }
|
1007
|
-
/// ```
|
1008
|
-
#[inline]
|
1009
|
-
pub fn remove_entry(self) -> (String, Value) {
|
1010
|
-
#[cfg(feature = "preserve_order")]
|
1011
|
-
return self.swap_remove_entry();
|
1012
|
-
#[cfg(not(feature = "preserve_order"))]
|
1013
|
-
return self.occupied.remove_entry();
|
1014
|
-
}
|
1015
|
-
|
1016
|
-
/// Removes the entry from the map, returning the stored key and value.
|
1017
|
-
///
|
1018
|
-
/// Like [`Vec::swap_remove`], the entry is removed by swapping it with the
|
1019
|
-
/// last element of the map and popping it off. This perturbs the position
|
1020
|
-
/// of what used to be the last element!
|
1021
|
-
///
|
1022
|
-
/// [`Vec::swap_remove`]: std::vec::Vec::swap_remove
|
1023
|
-
#[cfg(feature = "preserve_order")]
|
1024
|
-
#[cfg_attr(docsrs, doc(cfg(feature = "preserve_order")))]
|
1025
|
-
#[inline]
|
1026
|
-
pub fn swap_remove_entry(self) -> (String, Value) {
|
1027
|
-
self.occupied.swap_remove_entry()
|
1028
|
-
}
|
1029
|
-
|
1030
|
-
/// Removes the entry from the map, returning the stored key and value.
|
1031
|
-
///
|
1032
|
-
/// Like [`Vec::remove`], the entry is removed by shifting all of the
|
1033
|
-
/// elements that follow it, preserving their relative order. This perturbs
|
1034
|
-
/// the index of all of those elements!
|
1035
|
-
///
|
1036
|
-
/// [`Vec::remove`]: std::vec::Vec::remove
|
1037
|
-
#[cfg(feature = "preserve_order")]
|
1038
|
-
#[cfg_attr(docsrs, doc(cfg(feature = "preserve_order")))]
|
1039
|
-
#[inline]
|
1040
|
-
pub fn shift_remove_entry(self) -> (String, Value) {
|
1041
|
-
self.occupied.shift_remove_entry()
|
1042
|
-
}
|
1043
|
-
}
|
1044
|
-
|
1045
|
-
//////////////////////////////////////////////////////////////////////////////
|
1046
|
-
|
1047
|
-
impl<'a> IntoIterator for &'a Map<String, Value> {
|
1048
|
-
type Item = (&'a String, &'a Value);
|
1049
|
-
type IntoIter = Iter<'a>;
|
1050
|
-
#[inline]
|
1051
|
-
fn into_iter(self) -> Self::IntoIter {
|
1052
|
-
Iter {
|
1053
|
-
iter: self.map.iter(),
|
1054
|
-
}
|
1055
|
-
}
|
1056
|
-
}
|
1057
|
-
|
1058
|
-
/// An iterator over a serde_json::Map's entries.
|
1059
|
-
pub struct Iter<'a> {
|
1060
|
-
iter: IterImpl<'a>,
|
1061
|
-
}
|
1062
|
-
|
1063
|
-
#[cfg(not(feature = "preserve_order"))]
|
1064
|
-
type IterImpl<'a> = btree_map::Iter<'a, String, Value>;
|
1065
|
-
#[cfg(feature = "preserve_order")]
|
1066
|
-
type IterImpl<'a> = indexmap::map::Iter<'a, String, Value>;
|
1067
|
-
|
1068
|
-
delegate_iterator!((Iter<'a>) => (&'a String, &'a Value));
|
1069
|
-
|
1070
|
-
//////////////////////////////////////////////////////////////////////////////
|
1071
|
-
|
1072
|
-
impl<'a> IntoIterator for &'a mut Map<String, Value> {
|
1073
|
-
type Item = (&'a String, &'a mut Value);
|
1074
|
-
type IntoIter = IterMut<'a>;
|
1075
|
-
#[inline]
|
1076
|
-
fn into_iter(self) -> Self::IntoIter {
|
1077
|
-
IterMut {
|
1078
|
-
iter: self.map.iter_mut(),
|
1079
|
-
}
|
1080
|
-
}
|
1081
|
-
}
|
1082
|
-
|
1083
|
-
/// A mutable iterator over a serde_json::Map's entries.
|
1084
|
-
pub struct IterMut<'a> {
|
1085
|
-
iter: IterMutImpl<'a>,
|
1086
|
-
}
|
1087
|
-
|
1088
|
-
#[cfg(not(feature = "preserve_order"))]
|
1089
|
-
type IterMutImpl<'a> = btree_map::IterMut<'a, String, Value>;
|
1090
|
-
#[cfg(feature = "preserve_order")]
|
1091
|
-
type IterMutImpl<'a> = indexmap::map::IterMut<'a, String, Value>;
|
1092
|
-
|
1093
|
-
delegate_iterator!((IterMut<'a>) => (&'a String, &'a mut Value));
|
1094
|
-
|
1095
|
-
//////////////////////////////////////////////////////////////////////////////
|
1096
|
-
|
1097
|
-
impl IntoIterator for Map<String, Value> {
|
1098
|
-
type Item = (String, Value);
|
1099
|
-
type IntoIter = IntoIter;
|
1100
|
-
#[inline]
|
1101
|
-
fn into_iter(self) -> Self::IntoIter {
|
1102
|
-
IntoIter {
|
1103
|
-
iter: self.map.into_iter(),
|
1104
|
-
}
|
1105
|
-
}
|
1106
|
-
}
|
1107
|
-
|
1108
|
-
/// An owning iterator over a serde_json::Map's entries.
|
1109
|
-
pub struct IntoIter {
|
1110
|
-
iter: IntoIterImpl,
|
1111
|
-
}
|
1112
|
-
|
1113
|
-
#[cfg(not(feature = "preserve_order"))]
|
1114
|
-
type IntoIterImpl = btree_map::IntoIter<String, Value>;
|
1115
|
-
#[cfg(feature = "preserve_order")]
|
1116
|
-
type IntoIterImpl = indexmap::map::IntoIter<String, Value>;
|
1117
|
-
|
1118
|
-
delegate_iterator!((IntoIter) => (String, Value));
|
1119
|
-
|
1120
|
-
//////////////////////////////////////////////////////////////////////////////
|
1121
|
-
|
1122
|
-
/// An iterator over a serde_json::Map's keys.
|
1123
|
-
pub struct Keys<'a> {
|
1124
|
-
iter: KeysImpl<'a>,
|
1125
|
-
}
|
1126
|
-
|
1127
|
-
#[cfg(not(feature = "preserve_order"))]
|
1128
|
-
type KeysImpl<'a> = btree_map::Keys<'a, String, Value>;
|
1129
|
-
#[cfg(feature = "preserve_order")]
|
1130
|
-
type KeysImpl<'a> = indexmap::map::Keys<'a, String, Value>;
|
1131
|
-
|
1132
|
-
delegate_iterator!((Keys<'a>) => &'a String);
|
1133
|
-
|
1134
|
-
//////////////////////////////////////////////////////////////////////////////
|
1135
|
-
|
1136
|
-
/// An iterator over a serde_json::Map's values.
|
1137
|
-
pub struct Values<'a> {
|
1138
|
-
iter: ValuesImpl<'a>,
|
1139
|
-
}
|
1140
|
-
|
1141
|
-
#[cfg(not(feature = "preserve_order"))]
|
1142
|
-
type ValuesImpl<'a> = btree_map::Values<'a, String, Value>;
|
1143
|
-
#[cfg(feature = "preserve_order")]
|
1144
|
-
type ValuesImpl<'a> = indexmap::map::Values<'a, String, Value>;
|
1145
|
-
|
1146
|
-
delegate_iterator!((Values<'a>) => &'a Value);
|
1147
|
-
|
1148
|
-
//////////////////////////////////////////////////////////////////////////////
|
1149
|
-
|
1150
|
-
/// A mutable iterator over a serde_json::Map's values.
|
1151
|
-
pub struct ValuesMut<'a> {
|
1152
|
-
iter: ValuesMutImpl<'a>,
|
1153
|
-
}
|
1154
|
-
|
1155
|
-
#[cfg(not(feature = "preserve_order"))]
|
1156
|
-
type ValuesMutImpl<'a> = btree_map::ValuesMut<'a, String, Value>;
|
1157
|
-
#[cfg(feature = "preserve_order")]
|
1158
|
-
type ValuesMutImpl<'a> = indexmap::map::ValuesMut<'a, String, Value>;
|
1159
|
-
|
1160
|
-
delegate_iterator!((ValuesMut<'a>) => &'a mut Value);
|
1161
|
-
|
1162
|
-
//////////////////////////////////////////////////////////////////////////////
|
1163
|
-
|
1164
|
-
/// An owning iterator over a serde_json::Map's values.
|
1165
|
-
pub struct IntoValues {
|
1166
|
-
iter: IntoValuesImpl,
|
1167
|
-
}
|
1168
|
-
|
1169
|
-
#[cfg(not(feature = "preserve_order"))]
|
1170
|
-
type IntoValuesImpl = btree_map::IntoValues<String, Value>;
|
1171
|
-
#[cfg(feature = "preserve_order")]
|
1172
|
-
type IntoValuesImpl = indexmap::map::IntoValues<String, Value>;
|
1173
|
-
|
1174
|
-
delegate_iterator!((IntoValues) => Value);
|