From 1f011fa4a3c9793abc4b856d0a6248b9a0451fc1 Mon Sep 17 00:00:00 2001 From: Peh <20146907+randomicon00@users.noreply.github.com> Date: Fri, 29 Apr 2022 14:29:24 +0000 Subject: [PATCH] style: rename crates to kebab case --- Cargo.lock | 164 +++++++++--------- Cargo.toml | 2 +- crates/{base_db => base-db}/Cargo.toml | 4 +- crates/{base_db => base-db}/src/change.rs | 0 crates/{base_db => base-db}/src/fixture.rs | 0 crates/{base_db => base-db}/src/input.rs | 0 crates/{base_db => base-db}/src/lib.rs | 0 crates/{hir_def => hir-def}/Cargo.toml | 8 +- crates/{hir_def => hir-def}/src/adt.rs | 0 crates/{hir_def => hir-def}/src/attr.rs | 0 crates/{hir_def => hir-def}/src/body.rs | 0 crates/{hir_def => hir-def}/src/body/lower.rs | 0 crates/{hir_def => hir-def}/src/body/scope.rs | 0 crates/{hir_def => hir-def}/src/body/tests.rs | 0 .../src/body/tests/block.rs | 0 .../{hir_def => hir-def}/src/builtin_attr.rs | 0 .../{hir_def => hir-def}/src/builtin_type.rs | 0 .../src/child_by_source.rs | 0 crates/{hir_def => hir-def}/src/data.rs | 0 crates/{hir_def => hir-def}/src/db.rs | 0 crates/{hir_def => hir-def}/src/dyn_map.rs | 0 crates/{hir_def => hir-def}/src/expr.rs | 0 crates/{hir_def => hir-def}/src/find_path.rs | 0 crates/{hir_def => hir-def}/src/generics.rs | 0 crates/{hir_def => hir-def}/src/import_map.rs | 0 crates/{hir_def => hir-def}/src/intern.rs | 0 crates/{hir_def => hir-def}/src/item_scope.rs | 0 crates/{hir_def => hir-def}/src/item_tree.rs | 0 .../src/item_tree/lower.rs | 0 .../src/item_tree/pretty.rs | 0 .../src/item_tree/tests.rs | 0 crates/{hir_def => hir-def}/src/keys.rs | 0 crates/{hir_def => hir-def}/src/lang_item.rs | 0 crates/{hir_def => hir-def}/src/lib.rs | 0 .../src/macro_expansion_tests.rs | 0 .../builtin_derive_macro.rs | 0 .../macro_expansion_tests/builtin_fn_macro.rs | 0 .../src/macro_expansion_tests/mbe.rs | 0 .../src/macro_expansion_tests/mbe/matching.rs | 0 .../macro_expansion_tests/mbe/meta_syntax.rs | 0 .../macro_expansion_tests/mbe/regression.rs | 0 .../mbe/tt_conversion.rs | 0 .../src/macro_expansion_tests/proc_macros.rs | 0 crates/{hir_def => hir-def}/src/nameres.rs | 0 .../src/nameres/attr_resolution.rs | 0 .../src/nameres/collector.rs | 0 .../src/nameres/diagnostics.rs | 0 .../src/nameres/mod_resolution.rs | 0 .../src/nameres/path_resolution.rs | 0 .../src/nameres/proc_macro.rs | 0 .../{hir_def => hir-def}/src/nameres/tests.rs | 0 .../src/nameres/tests/globs.rs | 0 .../src/nameres/tests/incremental.rs | 0 .../src/nameres/tests/macros.rs | 0 .../src/nameres/tests/mod_resolution.rs | 0 .../src/nameres/tests/primitives.rs | 0 crates/{hir_def => hir-def}/src/path.rs | 0 crates/{hir_def => hir-def}/src/path/lower.rs | 0 crates/{hir_def => hir-def}/src/per_ns.rs | 0 crates/{hir_def => hir-def}/src/resolver.rs | 0 crates/{hir_def => hir-def}/src/src.rs | 0 crates/{hir_def => hir-def}/src/test_db.rs | 0 crates/{hir_def => hir-def}/src/trace.rs | 0 crates/{hir_def => hir-def}/src/type_ref.rs | 0 crates/{hir_def => hir-def}/src/visibility.rs | 0 crates/{hir_expand => hir-expand}/Cargo.toml | 4 +- .../src/ast_id_map.rs | 0 .../src/builtin_attr_macro.rs | 0 .../src/builtin_derive_macro.rs | 0 .../src/builtin_fn_macro.rs | 0 crates/{hir_expand => hir-expand}/src/db.rs | 0 .../{hir_expand => hir-expand}/src/eager.rs | 0 .../{hir_expand => hir-expand}/src/fixup.rs | 0 .../{hir_expand => hir-expand}/src/hygiene.rs | 0 crates/{hir_expand => hir-expand}/src/lib.rs | 0 .../src/mod_path.rs | 0 crates/{hir_expand => hir-expand}/src/name.rs | 0 .../src/proc_macro.rs | 0 .../{hir_expand => hir-expand}/src/quote.rs | 0 crates/{hir_ty => hir-ty}/Cargo.toml | 10 +- crates/{hir_ty => hir-ty}/src/autoderef.rs | 0 crates/{hir_ty => hir-ty}/src/builder.rs | 0 crates/{hir_ty => hir-ty}/src/chalk_db.rs | 0 crates/{hir_ty => hir-ty}/src/chalk_ext.rs | 0 crates/{hir_ty => hir-ty}/src/consteval.rs | 0 .../{hir_ty => hir-ty}/src/consteval/tests.rs | 0 crates/{hir_ty => hir-ty}/src/db.rs | 0 crates/{hir_ty => hir-ty}/src/diagnostics.rs | 0 .../src/diagnostics/decl_check.rs | 0 .../src/diagnostics/decl_check/case_conv.rs | 0 .../src/diagnostics/expr.rs | 0 .../src/diagnostics/match_check.rs | 0 .../match_check/deconstruct_pat.rs | 0 .../src/diagnostics/match_check/pat_util.rs | 0 .../src/diagnostics/match_check/usefulness.rs | 0 .../src/diagnostics/unsafe_check.rs | 0 crates/{hir_ty => hir-ty}/src/display.rs | 0 crates/{hir_ty => hir-ty}/src/infer.rs | 0 .../{hir_ty => hir-ty}/src/infer/closure.rs | 0 crates/{hir_ty => hir-ty}/src/infer/coerce.rs | 0 crates/{hir_ty => hir-ty}/src/infer/expr.rs | 0 crates/{hir_ty => hir-ty}/src/infer/pat.rs | 0 crates/{hir_ty => hir-ty}/src/infer/path.rs | 0 crates/{hir_ty => hir-ty}/src/infer/unify.rs | 0 crates/{hir_ty => hir-ty}/src/interner.rs | 0 crates/{hir_ty => hir-ty}/src/lib.rs | 0 crates/{hir_ty => hir-ty}/src/lower.rs | 0 crates/{hir_ty => hir-ty}/src/mapping.rs | 0 .../src/method_resolution.rs | 0 crates/{hir_ty => hir-ty}/src/primitive.rs | 0 crates/{hir_ty => hir-ty}/src/test_db.rs | 0 crates/{hir_ty => hir-ty}/src/tests.rs | 0 .../{hir_ty => hir-ty}/src/tests/coercion.rs | 0 .../src/tests/diagnostics.rs | 0 .../src/tests/display_source_code.rs | 0 .../src/tests/incremental.rs | 0 crates/{hir_ty => hir-ty}/src/tests/macros.rs | 0 .../src/tests/method_resolution.rs | 0 .../src/tests/never_type.rs | 0 .../{hir_ty => hir-ty}/src/tests/patterns.rs | 0 .../src/tests/regression.rs | 0 crates/{hir_ty => hir-ty}/src/tests/simple.rs | 0 crates/{hir_ty => hir-ty}/src/tests/traits.rs | 0 crates/{hir_ty => hir-ty}/src/tls.rs | 0 crates/{hir_ty => hir-ty}/src/traits.rs | 0 crates/{hir_ty => hir-ty}/src/utils.rs | 0 crates/{hir_ty => hir-ty}/src/walk.rs | 0 crates/hir/Cargo.toml | 8 +- .../{ide_assists => ide-assists}/Cargo.toml | 8 +- .../src/assist_config.rs | 0 .../src/assist_context.rs | 0 .../src/handlers/add_explicit_type.rs | 0 .../src/handlers/add_lifetime_to_type.rs | 0 .../src/handlers/add_missing_impl_members.rs | 0 .../src/handlers/add_missing_match_arms.rs | 0 .../src/handlers/add_return_type.rs | 0 .../src/handlers/add_turbo_fish.rs | 0 .../src/handlers/apply_demorgan.rs | 0 .../src/handlers/auto_import.rs | 0 .../src/handlers/change_visibility.rs | 0 .../src/handlers/convert_bool_then.rs | 0 .../src/handlers/convert_comment_block.rs | 0 .../src/handlers/convert_integer_literal.rs | 0 .../src/handlers/convert_into_to_from.rs | 0 .../handlers/convert_iter_for_each_to_for.rs | 0 .../src/handlers/convert_to_guarded_return.rs | 0 .../convert_tuple_struct_to_named_struct.rs | 0 .../src/handlers/convert_while_to_loop.rs | 0 .../src/handlers/destructure_tuple_binding.rs | 0 .../src/handlers/expand_glob_import.rs | 0 .../src/handlers/extract_function.rs | 0 .../src/handlers/extract_module.rs | 0 .../extract_struct_from_enum_variant.rs | 0 .../src/handlers/extract_type_alias.rs | 0 .../src/handlers/extract_variable.rs | 0 .../src/handlers/fix_visibility.rs | 0 .../src/handlers/flip_binexpr.rs | 0 .../src/handlers/flip_comma.rs | 0 .../src/handlers/flip_trait_bound.rs | 0 .../src/handlers/generate_constant.rs | 0 .../generate_default_from_enum_variant.rs | 0 .../src/handlers/generate_default_from_new.rs | 0 .../src/handlers/generate_delegate_methods.rs | 0 .../src/handlers/generate_deref.rs | 0 .../src/handlers/generate_derive.rs | 0 .../generate_documentation_template.rs | 0 .../src/handlers/generate_enum_is_method.rs | 0 .../generate_enum_projection_method.rs | 0 .../handlers/generate_from_impl_for_enum.rs | 0 .../src/handlers/generate_function.rs | 0 .../src/handlers/generate_getter.rs | 0 .../src/handlers/generate_impl.rs | 0 .../handlers/generate_is_empty_from_len.rs | 0 .../src/handlers/generate_new.rs | 0 .../src/handlers/generate_setter.rs | 0 .../src/handlers/inline_call.rs | 0 .../src/handlers/inline_local_variable.rs | 0 .../src/handlers/inline_type_alias.rs | 0 .../src/handlers/introduce_named_generic.rs | 0 .../src/handlers/introduce_named_lifetime.rs | 0 .../src/handlers/invert_if.rs | 0 .../src/handlers/merge_imports.rs | 0 .../src/handlers/merge_match_arms.rs | 0 .../src/handlers/move_bounds.rs | 0 .../src/handlers/move_from_mod_rs.rs | 0 .../src/handlers/move_guard.rs | 0 .../src/handlers/move_module_to_file.rs | 0 .../src/handlers/move_to_mod_rs.rs | 0 .../src/handlers/number_representation.rs | 0 .../src/handlers/promote_local_to_const.rs | 0 .../src/handlers/pull_assignment_up.rs | 0 .../src/handlers/qualify_method_call.rs | 0 .../src/handlers/qualify_path.rs | 0 .../src/handlers/raw_string.rs | 0 .../src/handlers/remove_dbg.rs | 0 .../src/handlers/remove_mut.rs | 0 .../src/handlers/remove_unused_param.rs | 0 .../src/handlers/reorder_fields.rs | 0 .../src/handlers/reorder_impl.rs | 0 .../replace_derive_with_manual_impl.rs | 0 .../src/handlers/replace_if_let_with_match.rs | 0 .../src/handlers/replace_let_with_if_let.rs | 0 .../replace_qualified_name_with_use.rs | 0 .../src/handlers/replace_string_with_char.rs | 0 .../handlers/replace_try_expr_with_match.rs | 0 .../replace_turbofish_with_explicit_type.rs | 0 .../src/handlers/sort_items.rs | 0 .../src/handlers/split_import.rs | 0 .../src/handlers/toggle_ignore.rs | 0 .../src/handlers/unmerge_use.rs | 0 .../src/handlers/unnecessary_async.rs | 0 .../src/handlers/unwrap_block.rs | 0 .../src/handlers/unwrap_result_return_type.rs | 0 .../handlers/wrap_return_type_in_result.rs | 0 .../{ide_assists => ide-assists}/src/lib.rs | 0 .../{ide_assists => ide-assists}/src/tests.rs | 0 .../src/tests/generated.rs | 0 .../src/tests/sourcegen.rs | 0 .../{ide_assists => ide-assists}/src/utils.rs | 0 .../src/utils/gen_trait_fn_body.rs | 0 .../src/utils/suggest_name.rs | 0 .../Cargo.toml | 12 +- .../src/completions.rs | 0 .../src/completions/attribute.rs | 0 .../src/completions/attribute/cfg.rs | 0 .../src/completions/attribute/derive.rs | 0 .../src/completions/attribute/lint.rs | 0 .../src/completions/attribute/repr.rs | 0 .../src/completions/dot.rs | 0 .../src/completions/extern_abi.rs | 0 .../src/completions/flyimport.rs | 0 .../src/completions/fn_param.rs | 0 .../src/completions/format_string.rs | 0 .../src/completions/keyword.rs | 0 .../src/completions/lifetime.rs | 0 .../src/completions/mod_.rs | 0 .../src/completions/pattern.rs | 0 .../src/completions/postfix.rs | 0 .../src/completions/postfix/format_like.rs | 0 .../src/completions/qualified_path.rs | 0 .../src/completions/record.rs | 0 .../src/completions/snippet.rs | 0 .../src/completions/trait_impl.rs | 0 .../src/completions/unqualified_path.rs | 0 .../src/completions/use_.rs | 0 .../src/completions/vis.rs | 0 .../src/config.rs | 0 .../src/context.rs | 0 .../src/item.rs | 0 .../src/lib.rs | 0 .../src/patterns.rs | 0 .../src/render.rs | 0 .../src/render/const_.rs | 0 .../src/render/function.rs | 0 .../src/render/literal.rs | 0 .../src/render/macro_.rs | 0 .../src/render/pattern.rs | 0 .../src/render/type_alias.rs | 0 .../src/render/union_literal.rs | 0 .../src/render/variant.rs | 0 .../src/snippet.rs | 0 .../src/tests.rs | 0 .../src/tests/attribute.rs | 0 .../src/tests/expression.rs | 0 .../src/tests/flyimport.rs | 0 .../src/tests/fn_param.rs | 0 .../src/tests/item.rs | 0 .../src/tests/item_list.rs | 0 .../src/tests/pattern.rs | 0 .../src/tests/predicate.rs | 0 .../src/tests/proc_macros.rs | 0 .../src/tests/record.rs | 0 .../src/tests/type_pos.rs | 0 .../src/tests/use_tree.rs | 0 .../src/tests/visibility.rs | 0 crates/{ide_db => ide-db}/Cargo.toml | 10 +- .../src/active_parameter.rs | 0 crates/{ide_db => ide-db}/src/apply_change.rs | 0 crates/{ide_db => ide-db}/src/assists.rs | 0 crates/{ide_db => ide-db}/src/defs.rs | 0 crates/{ide_db => ide-db}/src/famous_defs.rs | 0 .../{ide_db => ide-db}/src/generated/lints.rs | 0 crates/{ide_db => ide-db}/src/helpers.rs | 0 .../src/imports/import_assets.rs | 0 .../src/imports/insert_use.rs | 0 .../src/imports/insert_use/tests.rs | 0 .../src/imports/merge_imports.rs | 0 .../{ide_db => ide-db}/src/items_locator.rs | 0 crates/{ide_db => ide-db}/src/label.rs | 0 crates/{ide_db => ide-db}/src/lib.rs | 0 crates/{ide_db => ide-db}/src/line_index.rs | 0 .../{ide_db => ide-db}/src/path_transform.rs | 0 crates/{ide_db => ide-db}/src/rename.rs | 0 crates/{ide_db => ide-db}/src/rust_doc.rs | 0 crates/{ide_db => ide-db}/src/search.rs | 0 .../{ide_db => ide-db}/src/source_change.rs | 0 crates/{ide_db => ide-db}/src/symbol_index.rs | 0 .../src/syntax_helpers/format_string.rs | 0 .../insert_whitespace_into_node.rs | 0 .../src/syntax_helpers/node_ext.rs | 0 .../test_symbol_index_collection.txt | 0 .../src/tests/sourcegen_lints.rs | 0 crates/{ide_db => ide-db}/src/traits.rs | 0 crates/{ide_db => ide-db}/src/ty_filter.rs | 0 .../Cargo.toml | 8 +- .../src/handlers/break_outside_of_loop.rs | 0 .../src/handlers/field_shorthand.rs | 0 .../src/handlers/inactive_code.rs | 0 .../src/handlers/incorrect_case.rs | 0 .../src/handlers/invalid_derive_target.rs | 0 .../src/handlers/macro_error.rs | 0 .../src/handlers/malformed_derive.rs | 0 .../src/handlers/mismatched_arg_count.rs | 0 .../src/handlers/missing_fields.rs | 0 .../src/handlers/missing_match_arms.rs | 0 .../src/handlers/missing_unsafe.rs | 0 .../src/handlers/no_such_field.rs | 0 .../replace_filter_map_next_with_find_map.rs | 0 .../src/handlers/type_mismatch.rs | 0 .../handlers/unimplemented_builtin_macro.rs | 0 .../src/handlers/unlinked_file.rs | 0 .../src/handlers/unresolved_extern_crate.rs | 0 .../src/handlers/unresolved_import.rs | 0 .../src/handlers/unresolved_macro_call.rs | 0 .../src/handlers/unresolved_module.rs | 0 .../src/handlers/unresolved_proc_macro.rs | 0 .../src/handlers/useless_braces.rs | 0 .../src/lib.rs | 0 .../src/tests.rs | 0 .../src/tests/sourcegen.rs | 0 crates/{ide_ssr => ide-ssr}/Cargo.toml | 8 +- crates/{ide_ssr => ide-ssr}/src/errors.rs | 0 crates/{ide_ssr => ide-ssr}/src/fragments.rs | 0 .../{ide_ssr => ide-ssr}/src/from_comment.rs | 0 crates/{ide_ssr => ide-ssr}/src/lib.rs | 0 crates/{ide_ssr => ide-ssr}/src/matching.rs | 0 crates/{ide_ssr => ide-ssr}/src/nester.rs | 0 crates/{ide_ssr => ide-ssr}/src/parsing.rs | 0 crates/{ide_ssr => ide-ssr}/src/replacing.rs | 0 crates/{ide_ssr => ide-ssr}/src/resolving.rs | 0 crates/{ide_ssr => ide-ssr}/src/search.rs | 0 crates/{ide_ssr => ide-ssr}/src/tests.rs | 0 crates/ide/Cargo.toml | 16 +- crates/mbe/Cargo.toml | 2 +- .../Cargo.toml | 4 +- .../src/lib.rs | 0 .../src/msg.rs | 0 .../src/msg/flat.rs | 0 .../src/process.rs | 0 .../src/version.rs | 0 .../Cargo.toml | 6 +- .../src/abis/abi_1_48/mod.rs | 0 .../abis/abi_1_48/proc_macro/bridge/buffer.rs | 0 .../abis/abi_1_48/proc_macro/bridge/client.rs | 0 .../abi_1_48/proc_macro/bridge/closure.rs | 0 .../abis/abi_1_48/proc_macro/bridge/handle.rs | 0 .../abis/abi_1_48/proc_macro/bridge/mod.rs | 0 .../abis/abi_1_48/proc_macro/bridge/rpc.rs | 0 .../abi_1_48/proc_macro/bridge/scoped_cell.rs | 0 .../abis/abi_1_48/proc_macro/bridge/server.rs | 0 .../abis/abi_1_48/proc_macro/diagnostic.rs | 0 .../src/abis/abi_1_48/proc_macro/mod.rs | 0 .../src/abis/abi_1_48/rustc_server.rs | 0 .../src/abis/abi_1_54/mod.rs | 0 .../abis/abi_1_54/proc_macro/bridge/buffer.rs | 0 .../abis/abi_1_54/proc_macro/bridge/client.rs | 0 .../abi_1_54/proc_macro/bridge/closure.rs | 0 .../abis/abi_1_54/proc_macro/bridge/handle.rs | 0 .../abis/abi_1_54/proc_macro/bridge/mod.rs | 0 .../abis/abi_1_54/proc_macro/bridge/rpc.rs | 0 .../abi_1_54/proc_macro/bridge/scoped_cell.rs | 0 .../abis/abi_1_54/proc_macro/bridge/server.rs | 0 .../abis/abi_1_54/proc_macro/diagnostic.rs | 0 .../src/abis/abi_1_54/proc_macro/mod.rs | 0 .../src/abis/abi_1_54/rustc_server.rs | 0 .../src/abis/abi_1_56/mod.rs | 0 .../abis/abi_1_56/proc_macro/bridge/buffer.rs | 0 .../abis/abi_1_56/proc_macro/bridge/client.rs | 0 .../abi_1_56/proc_macro/bridge/closure.rs | 0 .../abis/abi_1_56/proc_macro/bridge/handle.rs | 0 .../abis/abi_1_56/proc_macro/bridge/mod.rs | 0 .../abis/abi_1_56/proc_macro/bridge/rpc.rs | 0 .../abi_1_56/proc_macro/bridge/scoped_cell.rs | 0 .../abis/abi_1_56/proc_macro/bridge/server.rs | 0 .../abis/abi_1_56/proc_macro/diagnostic.rs | 0 .../src/abis/abi_1_56/proc_macro/mod.rs | 0 .../src/abis/abi_1_56/proc_macro/quote.rs | 0 .../src/abis/abi_1_56/rustc_server.rs | 0 .../src/abis/abi_1_57/mod.rs | 0 .../abis/abi_1_57/proc_macro/bridge/buffer.rs | 0 .../abis/abi_1_57/proc_macro/bridge/client.rs | 0 .../abi_1_57/proc_macro/bridge/closure.rs | 0 .../abis/abi_1_57/proc_macro/bridge/handle.rs | 0 .../abis/abi_1_57/proc_macro/bridge/mod.rs | 0 .../abis/abi_1_57/proc_macro/bridge/rpc.rs | 0 .../abi_1_57/proc_macro/bridge/scoped_cell.rs | 0 .../abis/abi_1_57/proc_macro/bridge/server.rs | 0 .../abis/abi_1_57/proc_macro/diagnostic.rs | 0 .../src/abis/abi_1_57/proc_macro/mod.rs | 0 .../src/abis/abi_1_57/proc_macro/quote.rs | 0 .../src/abis/abi_1_57/rustc_server.rs | 0 .../src/abis/abi_1_58/mod.rs | 0 .../abis/abi_1_58/proc_macro/bridge/buffer.rs | 0 .../abis/abi_1_58/proc_macro/bridge/client.rs | 0 .../abi_1_58/proc_macro/bridge/closure.rs | 0 .../abis/abi_1_58/proc_macro/bridge/handle.rs | 0 .../abis/abi_1_58/proc_macro/bridge/mod.rs | 0 .../abis/abi_1_58/proc_macro/bridge/rpc.rs | 0 .../abi_1_58/proc_macro/bridge/scoped_cell.rs | 0 .../abis/abi_1_58/proc_macro/bridge/server.rs | 0 .../abis/abi_1_58/proc_macro/diagnostic.rs | 0 .../src/abis/abi_1_58/proc_macro/mod.rs | 0 .../src/abis/abi_1_58/proc_macro/quote.rs | 0 .../src/abis/abi_1_58/rustc_server.rs | 0 .../src/abis/mod.rs | 0 .../src/cli.rs | 0 .../src/dylib.rs | 0 .../src/lib.rs | 0 .../src/tests/mod.rs | 0 .../src/tests/utils.rs | 0 crates/proc-macro-test/.build.rs.swp | Bin 0 -> 12288 bytes .../Cargo.toml | 4 +- .../build.rs | 8 +- .../imp/.gitignore | 0 .../imp/Cargo.toml | 2 +- .../imp/src/lib.rs | 0 .../src/lib.rs | 0 .../Cargo.toml | 4 +- .../src/build_scripts.rs | 0 .../src/cargo_workspace.rs | 0 .../src/cfg_flag.rs | 0 .../src/lib.rs | 0 .../src/manifest_path.rs | 0 .../src/project_json.rs | 0 .../src/rustc_cfg.rs | 0 .../src/sysroot.rs | 0 .../src/tests.rs | 0 .../src/workspace.rs | 0 .../test_data/fake-sysroot/alloc/src/lib.rs | 0 .../test_data/fake-sysroot/core/src/lib.rs | 0 .../fake-sysroot/panic_abort/src/lib.rs | 0 .../fake-sysroot/panic_unwind/src/lib.rs | 0 .../fake-sysroot/proc_macro/src/lib.rs | 0 .../fake-sysroot/profiler_builtins/src/lib.rs | 0 .../test_data/fake-sysroot/std/src/lib.rs | 0 .../stdarch/crates/std_detect/src/lib.rs | 0 .../test_data/fake-sysroot/term/src/lib.rs | 0 .../test_data/fake-sysroot/test/src/lib.rs | 0 .../test_data/fake-sysroot/unwind/src/lib.rs | 0 .../test_data/hello-world-metadata.json | 0 .../test_data/hello-world-project.json | 0 .../test_data/is-proc-macro-project.json | 0 crates/rust-analyzer/Cargo.toml | 16 +- crates/syntax/Cargo.toml | 4 +- crates/{test_utils => test-utils}/Cargo.toml | 2 +- .../src/assert_linear.rs | 0 .../src/bench_fixture.rs | 0 .../{test_utils => test-utils}/src/fixture.rs | 0 crates/{test_utils => test-utils}/src/lib.rs | 0 .../src/minicore.rs | 0 crates/{text_edit => text-edit}/Cargo.toml | 2 +- crates/{text_edit => text-edit}/src/lib.rs | 0 462 files changed, 158 insertions(+), 158 deletions(-) rename crates/{base_db => base-db}/Cargo.toml (86%) rename crates/{base_db => base-db}/src/change.rs (100%) rename crates/{base_db => base-db}/src/fixture.rs (100%) rename crates/{base_db => base-db}/src/input.rs (100%) rename crates/{base_db => base-db}/src/lib.rs (100%) rename crates/{hir_def => hir-def}/Cargo.toml (85%) rename crates/{hir_def => hir-def}/src/adt.rs (100%) rename crates/{hir_def => hir-def}/src/attr.rs (100%) rename crates/{hir_def => hir-def}/src/body.rs (100%) rename crates/{hir_def => hir-def}/src/body/lower.rs (100%) rename crates/{hir_def => hir-def}/src/body/scope.rs (100%) rename crates/{hir_def => hir-def}/src/body/tests.rs (100%) rename crates/{hir_def => hir-def}/src/body/tests/block.rs (100%) rename crates/{hir_def => hir-def}/src/builtin_attr.rs (100%) rename crates/{hir_def => hir-def}/src/builtin_type.rs (100%) rename crates/{hir_def => hir-def}/src/child_by_source.rs (100%) rename crates/{hir_def => hir-def}/src/data.rs (100%) rename crates/{hir_def => hir-def}/src/db.rs (100%) rename crates/{hir_def => hir-def}/src/dyn_map.rs (100%) rename crates/{hir_def => hir-def}/src/expr.rs (100%) rename crates/{hir_def => hir-def}/src/find_path.rs (100%) rename crates/{hir_def => hir-def}/src/generics.rs (100%) rename crates/{hir_def => hir-def}/src/import_map.rs (100%) rename crates/{hir_def => hir-def}/src/intern.rs (100%) rename crates/{hir_def => hir-def}/src/item_scope.rs (100%) rename crates/{hir_def => hir-def}/src/item_tree.rs (100%) rename crates/{hir_def => hir-def}/src/item_tree/lower.rs (100%) rename crates/{hir_def => hir-def}/src/item_tree/pretty.rs (100%) rename crates/{hir_def => hir-def}/src/item_tree/tests.rs (100%) rename crates/{hir_def => hir-def}/src/keys.rs (100%) rename crates/{hir_def => hir-def}/src/lang_item.rs (100%) rename crates/{hir_def => hir-def}/src/lib.rs (100%) rename crates/{hir_def => hir-def}/src/macro_expansion_tests.rs (100%) rename crates/{hir_def => hir-def}/src/macro_expansion_tests/builtin_derive_macro.rs (100%) rename crates/{hir_def => hir-def}/src/macro_expansion_tests/builtin_fn_macro.rs (100%) rename crates/{hir_def => hir-def}/src/macro_expansion_tests/mbe.rs (100%) rename crates/{hir_def => hir-def}/src/macro_expansion_tests/mbe/matching.rs (100%) rename crates/{hir_def => hir-def}/src/macro_expansion_tests/mbe/meta_syntax.rs (100%) rename crates/{hir_def => hir-def}/src/macro_expansion_tests/mbe/regression.rs (100%) rename crates/{hir_def => hir-def}/src/macro_expansion_tests/mbe/tt_conversion.rs (100%) rename crates/{hir_def => hir-def}/src/macro_expansion_tests/proc_macros.rs (100%) rename crates/{hir_def => hir-def}/src/nameres.rs (100%) rename crates/{hir_def => hir-def}/src/nameres/attr_resolution.rs (100%) rename crates/{hir_def => hir-def}/src/nameres/collector.rs (100%) rename crates/{hir_def => hir-def}/src/nameres/diagnostics.rs (100%) rename crates/{hir_def => hir-def}/src/nameres/mod_resolution.rs (100%) rename crates/{hir_def => hir-def}/src/nameres/path_resolution.rs (100%) rename crates/{hir_def => hir-def}/src/nameres/proc_macro.rs (100%) rename crates/{hir_def => hir-def}/src/nameres/tests.rs (100%) rename crates/{hir_def => hir-def}/src/nameres/tests/globs.rs (100%) rename crates/{hir_def => hir-def}/src/nameres/tests/incremental.rs (100%) rename crates/{hir_def => hir-def}/src/nameres/tests/macros.rs (100%) rename crates/{hir_def => hir-def}/src/nameres/tests/mod_resolution.rs (100%) rename crates/{hir_def => hir-def}/src/nameres/tests/primitives.rs (100%) rename crates/{hir_def => hir-def}/src/path.rs (100%) rename crates/{hir_def => hir-def}/src/path/lower.rs (100%) rename crates/{hir_def => hir-def}/src/per_ns.rs (100%) rename crates/{hir_def => hir-def}/src/resolver.rs (100%) rename crates/{hir_def => hir-def}/src/src.rs (100%) rename crates/{hir_def => hir-def}/src/test_db.rs (100%) rename crates/{hir_def => hir-def}/src/trace.rs (100%) rename crates/{hir_def => hir-def}/src/type_ref.rs (100%) rename crates/{hir_def => hir-def}/src/visibility.rs (100%) rename crates/{hir_expand => hir-expand}/Cargo.toml (91%) rename crates/{hir_expand => hir-expand}/src/ast_id_map.rs (100%) rename crates/{hir_expand => hir-expand}/src/builtin_attr_macro.rs (100%) rename crates/{hir_expand => hir-expand}/src/builtin_derive_macro.rs (100%) rename crates/{hir_expand => hir-expand}/src/builtin_fn_macro.rs (100%) rename crates/{hir_expand => hir-expand}/src/db.rs (100%) rename crates/{hir_expand => hir-expand}/src/eager.rs (100%) rename crates/{hir_expand => hir-expand}/src/fixup.rs (100%) rename crates/{hir_expand => hir-expand}/src/hygiene.rs (100%) rename crates/{hir_expand => hir-expand}/src/lib.rs (100%) rename crates/{hir_expand => hir-expand}/src/mod_path.rs (100%) rename crates/{hir_expand => hir-expand}/src/name.rs (100%) rename crates/{hir_expand => hir-expand}/src/proc_macro.rs (100%) rename crates/{hir_expand => hir-expand}/src/quote.rs (100%) rename crates/{hir_ty => hir-ty}/Cargo.toml (81%) rename crates/{hir_ty => hir-ty}/src/autoderef.rs (100%) rename crates/{hir_ty => hir-ty}/src/builder.rs (100%) rename crates/{hir_ty => hir-ty}/src/chalk_db.rs (100%) rename crates/{hir_ty => hir-ty}/src/chalk_ext.rs (100%) rename crates/{hir_ty => hir-ty}/src/consteval.rs (100%) rename crates/{hir_ty => hir-ty}/src/consteval/tests.rs (100%) rename crates/{hir_ty => hir-ty}/src/db.rs (100%) rename crates/{hir_ty => hir-ty}/src/diagnostics.rs (100%) rename crates/{hir_ty => hir-ty}/src/diagnostics/decl_check.rs (100%) rename crates/{hir_ty => hir-ty}/src/diagnostics/decl_check/case_conv.rs (100%) rename crates/{hir_ty => hir-ty}/src/diagnostics/expr.rs (100%) rename crates/{hir_ty => hir-ty}/src/diagnostics/match_check.rs (100%) rename crates/{hir_ty => hir-ty}/src/diagnostics/match_check/deconstruct_pat.rs (100%) rename crates/{hir_ty => hir-ty}/src/diagnostics/match_check/pat_util.rs (100%) rename crates/{hir_ty => hir-ty}/src/diagnostics/match_check/usefulness.rs (100%) rename crates/{hir_ty => hir-ty}/src/diagnostics/unsafe_check.rs (100%) rename crates/{hir_ty => hir-ty}/src/display.rs (100%) rename crates/{hir_ty => hir-ty}/src/infer.rs (100%) rename crates/{hir_ty => hir-ty}/src/infer/closure.rs (100%) rename crates/{hir_ty => hir-ty}/src/infer/coerce.rs (100%) rename crates/{hir_ty => hir-ty}/src/infer/expr.rs (100%) rename crates/{hir_ty => hir-ty}/src/infer/pat.rs (100%) rename crates/{hir_ty => hir-ty}/src/infer/path.rs (100%) rename crates/{hir_ty => hir-ty}/src/infer/unify.rs (100%) rename crates/{hir_ty => hir-ty}/src/interner.rs (100%) rename crates/{hir_ty => hir-ty}/src/lib.rs (100%) rename crates/{hir_ty => hir-ty}/src/lower.rs (100%) rename crates/{hir_ty => hir-ty}/src/mapping.rs (100%) rename crates/{hir_ty => hir-ty}/src/method_resolution.rs (100%) rename crates/{hir_ty => hir-ty}/src/primitive.rs (100%) rename crates/{hir_ty => hir-ty}/src/test_db.rs (100%) rename crates/{hir_ty => hir-ty}/src/tests.rs (100%) rename crates/{hir_ty => hir-ty}/src/tests/coercion.rs (100%) rename crates/{hir_ty => hir-ty}/src/tests/diagnostics.rs (100%) rename crates/{hir_ty => hir-ty}/src/tests/display_source_code.rs (100%) rename crates/{hir_ty => hir-ty}/src/tests/incremental.rs (100%) rename crates/{hir_ty => hir-ty}/src/tests/macros.rs (100%) rename crates/{hir_ty => hir-ty}/src/tests/method_resolution.rs (100%) rename crates/{hir_ty => hir-ty}/src/tests/never_type.rs (100%) rename crates/{hir_ty => hir-ty}/src/tests/patterns.rs (100%) rename crates/{hir_ty => hir-ty}/src/tests/regression.rs (100%) rename crates/{hir_ty => hir-ty}/src/tests/simple.rs (100%) rename crates/{hir_ty => hir-ty}/src/tests/traits.rs (100%) rename crates/{hir_ty => hir-ty}/src/tls.rs (100%) rename crates/{hir_ty => hir-ty}/src/traits.rs (100%) rename crates/{hir_ty => hir-ty}/src/utils.rs (100%) rename crates/{hir_ty => hir-ty}/src/walk.rs (100%) rename crates/{ide_assists => ide-assists}/Cargo.toml (74%) rename crates/{ide_assists => ide-assists}/src/assist_config.rs (100%) rename crates/{ide_assists => ide-assists}/src/assist_context.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/add_explicit_type.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/add_lifetime_to_type.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/add_missing_impl_members.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/add_missing_match_arms.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/add_return_type.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/add_turbo_fish.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/apply_demorgan.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/auto_import.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/change_visibility.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/convert_bool_then.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/convert_comment_block.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/convert_integer_literal.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/convert_into_to_from.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/convert_iter_for_each_to_for.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/convert_to_guarded_return.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/convert_tuple_struct_to_named_struct.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/convert_while_to_loop.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/destructure_tuple_binding.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/expand_glob_import.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/extract_function.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/extract_module.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/extract_struct_from_enum_variant.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/extract_type_alias.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/extract_variable.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/fix_visibility.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/flip_binexpr.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/flip_comma.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/flip_trait_bound.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/generate_constant.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/generate_default_from_enum_variant.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/generate_default_from_new.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/generate_delegate_methods.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/generate_deref.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/generate_derive.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/generate_documentation_template.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/generate_enum_is_method.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/generate_enum_projection_method.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/generate_from_impl_for_enum.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/generate_function.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/generate_getter.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/generate_impl.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/generate_is_empty_from_len.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/generate_new.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/generate_setter.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/inline_call.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/inline_local_variable.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/inline_type_alias.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/introduce_named_generic.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/introduce_named_lifetime.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/invert_if.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/merge_imports.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/merge_match_arms.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/move_bounds.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/move_from_mod_rs.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/move_guard.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/move_module_to_file.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/move_to_mod_rs.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/number_representation.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/promote_local_to_const.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/pull_assignment_up.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/qualify_method_call.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/qualify_path.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/raw_string.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/remove_dbg.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/remove_mut.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/remove_unused_param.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/reorder_fields.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/reorder_impl.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/replace_derive_with_manual_impl.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/replace_if_let_with_match.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/replace_let_with_if_let.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/replace_qualified_name_with_use.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/replace_string_with_char.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/replace_try_expr_with_match.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/replace_turbofish_with_explicit_type.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/sort_items.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/split_import.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/toggle_ignore.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/unmerge_use.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/unnecessary_async.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/unwrap_block.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/unwrap_result_return_type.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/wrap_return_type_in_result.rs (100%) rename crates/{ide_assists => ide-assists}/src/lib.rs (100%) rename crates/{ide_assists => ide-assists}/src/tests.rs (100%) rename crates/{ide_assists => ide-assists}/src/tests/generated.rs (100%) rename crates/{ide_assists => ide-assists}/src/tests/sourcegen.rs (100%) rename crates/{ide_assists => ide-assists}/src/utils.rs (100%) rename crates/{ide_assists => ide-assists}/src/utils/gen_trait_fn_body.rs (100%) rename crates/{ide_assists => ide-assists}/src/utils/suggest_name.rs (100%) rename crates/{ide_completion => ide-completion}/Cargo.toml (66%) rename crates/{ide_completion => ide-completion}/src/completions.rs (100%) rename crates/{ide_completion => ide-completion}/src/completions/attribute.rs (100%) rename crates/{ide_completion => ide-completion}/src/completions/attribute/cfg.rs (100%) rename crates/{ide_completion => ide-completion}/src/completions/attribute/derive.rs (100%) rename crates/{ide_completion => ide-completion}/src/completions/attribute/lint.rs (100%) rename crates/{ide_completion => ide-completion}/src/completions/attribute/repr.rs (100%) rename crates/{ide_completion => ide-completion}/src/completions/dot.rs (100%) rename crates/{ide_completion => ide-completion}/src/completions/extern_abi.rs (100%) rename crates/{ide_completion => ide-completion}/src/completions/flyimport.rs (100%) rename crates/{ide_completion => ide-completion}/src/completions/fn_param.rs (100%) rename crates/{ide_completion => ide-completion}/src/completions/format_string.rs (100%) rename crates/{ide_completion => ide-completion}/src/completions/keyword.rs (100%) rename crates/{ide_completion => ide-completion}/src/completions/lifetime.rs (100%) rename crates/{ide_completion => ide-completion}/src/completions/mod_.rs (100%) rename crates/{ide_completion => ide-completion}/src/completions/pattern.rs (100%) rename crates/{ide_completion => ide-completion}/src/completions/postfix.rs (100%) rename crates/{ide_completion => ide-completion}/src/completions/postfix/format_like.rs (100%) rename crates/{ide_completion => ide-completion}/src/completions/qualified_path.rs (100%) rename crates/{ide_completion => ide-completion}/src/completions/record.rs (100%) rename crates/{ide_completion => ide-completion}/src/completions/snippet.rs (100%) rename crates/{ide_completion => ide-completion}/src/completions/trait_impl.rs (100%) rename crates/{ide_completion => ide-completion}/src/completions/unqualified_path.rs (100%) rename crates/{ide_completion => ide-completion}/src/completions/use_.rs (100%) rename crates/{ide_completion => ide-completion}/src/completions/vis.rs (100%) rename crates/{ide_completion => ide-completion}/src/config.rs (100%) rename crates/{ide_completion => ide-completion}/src/context.rs (100%) rename crates/{ide_completion => ide-completion}/src/item.rs (100%) rename crates/{ide_completion => ide-completion}/src/lib.rs (100%) rename crates/{ide_completion => ide-completion}/src/patterns.rs (100%) rename crates/{ide_completion => ide-completion}/src/render.rs (100%) rename crates/{ide_completion => ide-completion}/src/render/const_.rs (100%) rename crates/{ide_completion => ide-completion}/src/render/function.rs (100%) rename crates/{ide_completion => ide-completion}/src/render/literal.rs (100%) rename crates/{ide_completion => ide-completion}/src/render/macro_.rs (100%) rename crates/{ide_completion => ide-completion}/src/render/pattern.rs (100%) rename crates/{ide_completion => ide-completion}/src/render/type_alias.rs (100%) rename crates/{ide_completion => ide-completion}/src/render/union_literal.rs (100%) rename crates/{ide_completion => ide-completion}/src/render/variant.rs (100%) rename crates/{ide_completion => ide-completion}/src/snippet.rs (100%) rename crates/{ide_completion => ide-completion}/src/tests.rs (100%) rename crates/{ide_completion => ide-completion}/src/tests/attribute.rs (100%) rename crates/{ide_completion => ide-completion}/src/tests/expression.rs (100%) rename crates/{ide_completion => ide-completion}/src/tests/flyimport.rs (100%) rename crates/{ide_completion => ide-completion}/src/tests/fn_param.rs (100%) rename crates/{ide_completion => ide-completion}/src/tests/item.rs (100%) rename crates/{ide_completion => ide-completion}/src/tests/item_list.rs (100%) rename crates/{ide_completion => ide-completion}/src/tests/pattern.rs (100%) rename crates/{ide_completion => ide-completion}/src/tests/predicate.rs (100%) rename crates/{ide_completion => ide-completion}/src/tests/proc_macros.rs (100%) rename crates/{ide_completion => ide-completion}/src/tests/record.rs (100%) rename crates/{ide_completion => ide-completion}/src/tests/type_pos.rs (100%) rename crates/{ide_completion => ide-completion}/src/tests/use_tree.rs (100%) rename crates/{ide_completion => ide-completion}/src/tests/visibility.rs (100%) rename crates/{ide_db => ide-db}/Cargo.toml (78%) rename crates/{ide_db => ide-db}/src/active_parameter.rs (100%) rename crates/{ide_db => ide-db}/src/apply_change.rs (100%) rename crates/{ide_db => ide-db}/src/assists.rs (100%) rename crates/{ide_db => ide-db}/src/defs.rs (100%) rename crates/{ide_db => ide-db}/src/famous_defs.rs (100%) rename crates/{ide_db => ide-db}/src/generated/lints.rs (100%) rename crates/{ide_db => ide-db}/src/helpers.rs (100%) rename crates/{ide_db => ide-db}/src/imports/import_assets.rs (100%) rename crates/{ide_db => ide-db}/src/imports/insert_use.rs (100%) rename crates/{ide_db => ide-db}/src/imports/insert_use/tests.rs (100%) rename crates/{ide_db => ide-db}/src/imports/merge_imports.rs (100%) rename crates/{ide_db => ide-db}/src/items_locator.rs (100%) rename crates/{ide_db => ide-db}/src/label.rs (100%) rename crates/{ide_db => ide-db}/src/lib.rs (100%) rename crates/{ide_db => ide-db}/src/line_index.rs (100%) rename crates/{ide_db => ide-db}/src/path_transform.rs (100%) rename crates/{ide_db => ide-db}/src/rename.rs (100%) rename crates/{ide_db => ide-db}/src/rust_doc.rs (100%) rename crates/{ide_db => ide-db}/src/search.rs (100%) rename crates/{ide_db => ide-db}/src/source_change.rs (100%) rename crates/{ide_db => ide-db}/src/symbol_index.rs (100%) rename crates/{ide_db => ide-db}/src/syntax_helpers/format_string.rs (100%) rename crates/{ide_db => ide-db}/src/syntax_helpers/insert_whitespace_into_node.rs (100%) rename crates/{ide_db => ide-db}/src/syntax_helpers/node_ext.rs (100%) rename crates/{ide_db => ide-db}/src/test_data/test_symbol_index_collection.txt (100%) rename crates/{ide_db => ide-db}/src/tests/sourcegen_lints.rs (100%) rename crates/{ide_db => ide-db}/src/traits.rs (100%) rename crates/{ide_db => ide-db}/src/ty_filter.rs (100%) rename crates/{ide_diagnostics => ide-diagnostics}/Cargo.toml (75%) rename crates/{ide_diagnostics => ide-diagnostics}/src/handlers/break_outside_of_loop.rs (100%) rename crates/{ide_diagnostics => ide-diagnostics}/src/handlers/field_shorthand.rs (100%) rename crates/{ide_diagnostics => ide-diagnostics}/src/handlers/inactive_code.rs (100%) rename crates/{ide_diagnostics => ide-diagnostics}/src/handlers/incorrect_case.rs (100%) rename crates/{ide_diagnostics => ide-diagnostics}/src/handlers/invalid_derive_target.rs (100%) rename crates/{ide_diagnostics => ide-diagnostics}/src/handlers/macro_error.rs (100%) rename crates/{ide_diagnostics => ide-diagnostics}/src/handlers/malformed_derive.rs (100%) rename crates/{ide_diagnostics => ide-diagnostics}/src/handlers/mismatched_arg_count.rs (100%) rename crates/{ide_diagnostics => ide-diagnostics}/src/handlers/missing_fields.rs (100%) rename crates/{ide_diagnostics => ide-diagnostics}/src/handlers/missing_match_arms.rs (100%) rename crates/{ide_diagnostics => ide-diagnostics}/src/handlers/missing_unsafe.rs (100%) rename crates/{ide_diagnostics => ide-diagnostics}/src/handlers/no_such_field.rs (100%) rename crates/{ide_diagnostics => ide-diagnostics}/src/handlers/replace_filter_map_next_with_find_map.rs (100%) rename crates/{ide_diagnostics => ide-diagnostics}/src/handlers/type_mismatch.rs (100%) rename crates/{ide_diagnostics => ide-diagnostics}/src/handlers/unimplemented_builtin_macro.rs (100%) rename crates/{ide_diagnostics => ide-diagnostics}/src/handlers/unlinked_file.rs (100%) rename crates/{ide_diagnostics => ide-diagnostics}/src/handlers/unresolved_extern_crate.rs (100%) rename crates/{ide_diagnostics => ide-diagnostics}/src/handlers/unresolved_import.rs (100%) rename crates/{ide_diagnostics => ide-diagnostics}/src/handlers/unresolved_macro_call.rs (100%) rename crates/{ide_diagnostics => ide-diagnostics}/src/handlers/unresolved_module.rs (100%) rename crates/{ide_diagnostics => ide-diagnostics}/src/handlers/unresolved_proc_macro.rs (100%) rename crates/{ide_diagnostics => ide-diagnostics}/src/handlers/useless_braces.rs (100%) rename crates/{ide_diagnostics => ide-diagnostics}/src/lib.rs (100%) rename crates/{ide_diagnostics => ide-diagnostics}/src/tests.rs (100%) rename crates/{ide_diagnostics => ide-diagnostics}/src/tests/sourcegen.rs (100%) rename crates/{ide_ssr => ide-ssr}/Cargo.toml (74%) rename crates/{ide_ssr => ide-ssr}/src/errors.rs (100%) rename crates/{ide_ssr => ide-ssr}/src/fragments.rs (100%) rename crates/{ide_ssr => ide-ssr}/src/from_comment.rs (100%) rename crates/{ide_ssr => ide-ssr}/src/lib.rs (100%) rename crates/{ide_ssr => ide-ssr}/src/matching.rs (100%) rename crates/{ide_ssr => ide-ssr}/src/nester.rs (100%) rename crates/{ide_ssr => ide-ssr}/src/parsing.rs (100%) rename crates/{ide_ssr => ide-ssr}/src/replacing.rs (100%) rename crates/{ide_ssr => ide-ssr}/src/resolving.rs (100%) rename crates/{ide_ssr => ide-ssr}/src/search.rs (100%) rename crates/{ide_ssr => ide-ssr}/src/tests.rs (100%) rename crates/{proc_macro_api => proc-macro-api}/Cargo.toml (90%) rename crates/{proc_macro_api => proc-macro-api}/src/lib.rs (100%) rename crates/{proc_macro_api => proc-macro-api}/src/msg.rs (100%) rename crates/{proc_macro_api => proc-macro-api}/src/msg/flat.rs (100%) rename crates/{proc_macro_api => proc-macro-api}/src/process.rs (100%) rename crates/{proc_macro_api => proc-macro-api}/src/version.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/Cargo.toml (79%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_48/mod.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_48/proc_macro/bridge/buffer.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_48/proc_macro/bridge/client.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_48/proc_macro/bridge/closure.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_48/proc_macro/bridge/handle.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_48/proc_macro/bridge/mod.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_48/proc_macro/bridge/rpc.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_48/proc_macro/bridge/scoped_cell.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_48/proc_macro/bridge/server.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_48/proc_macro/diagnostic.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_48/proc_macro/mod.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_48/rustc_server.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_54/mod.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_54/proc_macro/bridge/buffer.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_54/proc_macro/bridge/client.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_54/proc_macro/bridge/closure.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_54/proc_macro/bridge/handle.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_54/proc_macro/bridge/mod.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_54/proc_macro/bridge/rpc.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_54/proc_macro/bridge/scoped_cell.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_54/proc_macro/bridge/server.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_54/proc_macro/diagnostic.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_54/proc_macro/mod.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_54/rustc_server.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_56/mod.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_56/proc_macro/bridge/buffer.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_56/proc_macro/bridge/client.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_56/proc_macro/bridge/closure.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_56/proc_macro/bridge/handle.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_56/proc_macro/bridge/mod.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_56/proc_macro/bridge/rpc.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_56/proc_macro/bridge/scoped_cell.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_56/proc_macro/bridge/server.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_56/proc_macro/diagnostic.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_56/proc_macro/mod.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_56/proc_macro/quote.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_56/rustc_server.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_57/mod.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_57/proc_macro/bridge/buffer.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_57/proc_macro/bridge/client.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_57/proc_macro/bridge/closure.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_57/proc_macro/bridge/handle.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_57/proc_macro/bridge/mod.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_57/proc_macro/bridge/rpc.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_57/proc_macro/bridge/scoped_cell.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_57/proc_macro/bridge/server.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_57/proc_macro/diagnostic.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_57/proc_macro/mod.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_57/proc_macro/quote.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_57/rustc_server.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_58/mod.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_58/proc_macro/bridge/buffer.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_58/proc_macro/bridge/client.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_58/proc_macro/bridge/closure.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_58/proc_macro/bridge/handle.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_58/proc_macro/bridge/mod.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_58/proc_macro/bridge/rpc.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_58/proc_macro/bridge/scoped_cell.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_58/proc_macro/bridge/server.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_58/proc_macro/diagnostic.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_58/proc_macro/mod.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_58/proc_macro/quote.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_58/rustc_server.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/mod.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/cli.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/dylib.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/lib.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/tests/mod.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/tests/utils.rs (100%) create mode 100644 crates/proc-macro-test/.build.rs.swp rename crates/{proc_macro_test => proc-macro-test}/Cargo.toml (74%) rename crates/{proc_macro_test => proc-macro-test}/build.rs (87%) rename crates/{proc_macro_test => proc-macro-test}/imp/.gitignore (100%) rename crates/{proc_macro_test => proc-macro-test}/imp/Cargo.toml (90%) rename crates/{proc_macro_test => proc-macro-test}/imp/src/lib.rs (100%) rename crates/{proc_macro_test => proc-macro-test}/src/lib.rs (100%) rename crates/{project_model => project-model}/Cargo.toml (89%) rename crates/{project_model => project-model}/src/build_scripts.rs (100%) rename crates/{project_model => project-model}/src/cargo_workspace.rs (100%) rename crates/{project_model => project-model}/src/cfg_flag.rs (100%) rename crates/{project_model => project-model}/src/lib.rs (100%) rename crates/{project_model => project-model}/src/manifest_path.rs (100%) rename crates/{project_model => project-model}/src/project_json.rs (100%) rename crates/{project_model => project-model}/src/rustc_cfg.rs (100%) rename crates/{project_model => project-model}/src/sysroot.rs (100%) rename crates/{project_model => project-model}/src/tests.rs (100%) rename crates/{project_model => project-model}/src/workspace.rs (100%) rename crates/{project_model => project-model}/test_data/fake-sysroot/alloc/src/lib.rs (100%) rename crates/{project_model => project-model}/test_data/fake-sysroot/core/src/lib.rs (100%) rename crates/{project_model => project-model}/test_data/fake-sysroot/panic_abort/src/lib.rs (100%) rename crates/{project_model => project-model}/test_data/fake-sysroot/panic_unwind/src/lib.rs (100%) rename crates/{project_model => project-model}/test_data/fake-sysroot/proc_macro/src/lib.rs (100%) rename crates/{project_model => project-model}/test_data/fake-sysroot/profiler_builtins/src/lib.rs (100%) rename crates/{project_model => project-model}/test_data/fake-sysroot/std/src/lib.rs (100%) rename crates/{project_model => project-model}/test_data/fake-sysroot/stdarch/crates/std_detect/src/lib.rs (100%) rename crates/{project_model => project-model}/test_data/fake-sysroot/term/src/lib.rs (100%) rename crates/{project_model => project-model}/test_data/fake-sysroot/test/src/lib.rs (100%) rename crates/{project_model => project-model}/test_data/fake-sysroot/unwind/src/lib.rs (100%) rename crates/{project_model => project-model}/test_data/hello-world-metadata.json (100%) rename crates/{project_model => project-model}/test_data/hello-world-project.json (100%) rename crates/{project_model => project-model}/test_data/is-proc-macro-project.json (100%) rename crates/{test_utils => test-utils}/Cargo.toml (95%) rename crates/{test_utils => test-utils}/src/assert_linear.rs (100%) rename crates/{test_utils => test-utils}/src/bench_fixture.rs (100%) rename crates/{test_utils => test-utils}/src/fixture.rs (100%) rename crates/{test_utils => test-utils}/src/lib.rs (100%) rename crates/{test_utils => test-utils}/src/minicore.rs (100%) rename crates/{text_edit => text-edit}/Cargo.toml (91%) rename crates/{text_edit => text-edit}/src/lib.rs (100%) diff --git a/Cargo.lock b/Cargo.lock index 2850895d659..051906f87c4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -92,7 +92,7 @@ dependencies = [ ] [[package]] -name = "base_db" +name = "base-db" version = "0.0.0" dependencies = [ "cfg", @@ -101,7 +101,7 @@ dependencies = [ "salsa", "stdx", "syntax", - "test_utils", + "test-utils", "tt", "vfs", ] @@ -474,12 +474,12 @@ name = "hir" version = "0.0.0" dependencies = [ "arrayvec", - "base_db", + "base-db", "cfg", "either", - "hir_def", - "hir_expand", - "hir_ty", + "hir-def", + "hir-expand", + "hir-ty", "itertools", "once_cell", "profile", @@ -491,12 +491,12 @@ dependencies = [ ] [[package]] -name = "hir_def" +name = "hir-def" version = "0.0.0" dependencies = [ "anymap", "arrayvec", - "base_db", + "base-db", "bitflags", "cfg", "cov-mark", @@ -505,7 +505,7 @@ dependencies = [ "either", "expect-test", "fst", - "hir_expand", + "hir-expand", "indexmap", "itertools", "la-arena", @@ -519,16 +519,16 @@ dependencies = [ "smallvec", "stdx", "syntax", - "test_utils", + "test-utils", "tracing", "tt", ] [[package]] -name = "hir_expand" +name = "hir-expand" version = "0.0.0" dependencies = [ - "base_db", + "base-db", "cfg", "cov-mark", "either", @@ -546,19 +546,19 @@ dependencies = [ ] [[package]] -name = "hir_ty" +name = "hir-ty" version = "0.0.0" dependencies = [ "arrayvec", - "base_db", + "base-db", "chalk-ir", "chalk-recursive", "chalk-solve", "cov-mark", "ena", "expect-test", - "hir_def", - "hir_expand", + "hir-def", + "hir-expand", "itertools", "la-arena", "limit", @@ -569,7 +569,7 @@ dependencies = [ "smallvec", "stdx", "syntax", - "test_utils", + "test-utils", "tracing", "tracing-subscriber", "tracing-tree", @@ -596,11 +596,11 @@ dependencies = [ "either", "expect-test", "hir", - "ide_assists", - "ide_completion", - "ide_db", - "ide_diagnostics", - "ide_ssr", + "ide-assists", + "ide-completion", + "ide-db", + "ide-diagnostics", + "ide-ssr", "itertools", "oorandom", "profile", @@ -608,56 +608,56 @@ dependencies = [ "pulldown-cmark-to-cmark", "stdx", "syntax", - "test_utils", - "text_edit", + "test-utils", + "text-edit", "toolchain", "tracing", "url", ] [[package]] -name = "ide_assists" +name = "ide-assists" version = "0.0.0" dependencies = [ "cov-mark", "either", "expect-test", "hir", - "ide_db", + "ide-db", "itertools", "profile", "sourcegen", "stdx", "syntax", - "test_utils", - "text_edit", + "test-utils", + "text-edit", ] [[package]] -name = "ide_completion" +name = "ide-completion" version = "0.0.0" dependencies = [ - "base_db", + "base-db", "cov-mark", "expect-test", "hir", - "ide_db", + "ide-db", "itertools", "once_cell", "profile", "smallvec", "stdx", "syntax", - "test_utils", - "text_edit", + "test-utils", + "text-edit", ] [[package]] -name = "ide_db" +name = "ide-db" version = "0.0.0" dependencies = [ "arrayvec", - "base_db", + "base-db", "cov-mark", "either", "expect-test", @@ -674,14 +674,14 @@ dependencies = [ "sourcegen", "stdx", "syntax", - "test_utils", - "text_edit", + "test-utils", + "text-edit", "tracing", "xshell", ] [[package]] -name = "ide_diagnostics" +name = "ide-diagnostics" version = "0.0.0" dependencies = [ "cfg", @@ -689,29 +689,29 @@ dependencies = [ "either", "expect-test", "hir", - "ide_db", + "ide-db", "itertools", "profile", "sourcegen", "stdx", "syntax", - "test_utils", - "text_edit", + "test-utils", + "text-edit", ] [[package]] -name = "ide_ssr" +name = "ide-ssr" version = "0.0.0" dependencies = [ "cov-mark", "expect-test", "hir", - "ide_db", + "ide-db", "itertools", "parser", "syntax", - "test_utils", - "text_edit", + "test-utils", + "text-edit", ] [[package]] @@ -913,7 +913,7 @@ dependencies = [ "smallvec", "stdx", "syntax", - "test_utils", + "test-utils", "tracing", "tt", ] @@ -1180,16 +1180,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e280fbe77cc62c91527259e9442153f4688736748d24660126286329742b4c6c" [[package]] -name = "proc-macro2" -version = "1.0.37" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec757218438d5fda206afc041538b2f6d889286160d649a86a24d37e1235afd1" -dependencies = [ - "unicode-xid", -] - -[[package]] -name = "proc_macro_api" +name = "proc-macro-api" version = "0.0.0" dependencies = [ "memmap2", @@ -1205,7 +1196,7 @@ dependencies = [ ] [[package]] -name = "proc_macro_srv" +name = "proc-macro-srv" version = "0.0.0" dependencies = [ "expect-test", @@ -1214,24 +1205,33 @@ dependencies = [ "memmap2", "object 0.28.3", "paths", - "proc_macro_api", - "proc_macro_test", + "proc-macro-api", + "proc-macro-test", "tt", ] [[package]] -name = "proc_macro_test" +name = "proc-macro-test" version = "0.0.0" dependencies = [ "cargo_metadata", - "proc_macro_test_impl", + "proc-macro-test-impl", "toolchain", ] [[package]] -name = "proc_macro_test_impl" +name = "proc-macro-test-impl" version = "0.0.0" +[[package]] +name = "proc-macro2" +version = "1.0.37" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec757218438d5fda206afc041538b2f6d889286160d649a86a24d37e1235afd1" +dependencies = [ + "unicode-xid", +] + [[package]] name = "profile" version = "0.0.0" @@ -1247,11 +1247,11 @@ dependencies = [ ] [[package]] -name = "project_model" +name = "project-model" version = "0.0.0" dependencies = [ "anyhow", - "base_db", + "base-db", "cargo_metadata", "cfg", "expect-test", @@ -1378,11 +1378,11 @@ dependencies = [ "expect-test", "flycheck", "hir", - "hir_def", - "hir_ty", + "hir-def", + "hir-ty", "ide", - "ide_db", - "ide_ssr", + "ide-db", + "ide-ssr", "itertools", "jod-thread", "lsp-server", @@ -1392,10 +1392,10 @@ dependencies = [ "num_cpus", "oorandom", "parking_lot 0.12.0", - "proc_macro_api", - "proc_macro_srv", + "proc-macro-api", + "proc-macro-srv", "profile", - "project_model", + "project-model", "rayon", "rustc-hash", "serde", @@ -1403,7 +1403,7 @@ dependencies = [ "sourcegen", "stdx", "syntax", - "test_utils", + "test-utils", "threadpool", "tikv-jemallocator", "toolchain", @@ -1639,13 +1639,13 @@ dependencies = [ "smol_str", "sourcegen", "stdx", - "test_utils", - "text_edit", + "test-utils", + "text-edit", "ungrammar", ] [[package]] -name = "test_utils" +name = "test-utils" version = "0.0.0" dependencies = [ "dissimilar", @@ -1656,19 +1656,19 @@ dependencies = [ ] [[package]] -name = "text-size" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "288cb548dbe72b652243ea797201f3d481a0609a967980fcc5b2315ea811560a" - -[[package]] -name = "text_edit" +name = "text-edit" version = "0.0.0" dependencies = [ "itertools", "text-size", ] +[[package]] +name = "text-size" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "288cb548dbe72b652243ea797201f3d481a0609a967980fcc5b2315ea811560a" + [[package]] name = "thread_local" version = "1.1.4" diff --git a/Cargo.toml b/Cargo.toml index 3f83041bec0..6b68ca82389 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [workspace] members = ["xtask/", "lib/*", "crates/*"] -exclude = ["crates/proc_macro_test/imp"] +exclude = ["crates/proc-macro-test/imp"] [profile.dev] # Disabling debug info speeds up builds a bunch, diff --git a/crates/base_db/Cargo.toml b/crates/base-db/Cargo.toml similarity index 86% rename from crates/base_db/Cargo.toml rename to crates/base-db/Cargo.toml index 7ef82f6a342..f02a51ab6c4 100644 --- a/crates/base_db/Cargo.toml +++ b/crates/base-db/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "base_db" +name = "base-db" version = "0.0.0" description = "TBD" license = "MIT OR Apache-2.0" @@ -18,5 +18,5 @@ stdx = { path = "../stdx", version = "0.0.0" } cfg = { path = "../cfg", version = "0.0.0" } profile = { path = "../profile", version = "0.0.0" } tt = { path = "../tt", version = "0.0.0" } -test_utils = { path = "../test_utils", version = "0.0.0" } +test-utils = { path = "../test-utils", version = "0.0.0" } vfs = { path = "../vfs", version = "0.0.0" } diff --git a/crates/base_db/src/change.rs b/crates/base-db/src/change.rs similarity index 100% rename from crates/base_db/src/change.rs rename to crates/base-db/src/change.rs diff --git a/crates/base_db/src/fixture.rs b/crates/base-db/src/fixture.rs similarity index 100% rename from crates/base_db/src/fixture.rs rename to crates/base-db/src/fixture.rs diff --git a/crates/base_db/src/input.rs b/crates/base-db/src/input.rs similarity index 100% rename from crates/base_db/src/input.rs rename to crates/base-db/src/input.rs diff --git a/crates/base_db/src/lib.rs b/crates/base-db/src/lib.rs similarity index 100% rename from crates/base_db/src/lib.rs rename to crates/base-db/src/lib.rs diff --git a/crates/hir_def/Cargo.toml b/crates/hir-def/Cargo.toml similarity index 85% rename from crates/hir_def/Cargo.toml rename to crates/hir-def/Cargo.toml index 5863092839b..d369c3ed282 100644 --- a/crates/hir_def/Cargo.toml +++ b/crates/hir-def/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "hir_def" +name = "hir-def" version = "0.0.0" description = "TBD" license = "MIT OR Apache-2.0" @@ -29,15 +29,15 @@ arrayvec = "0.7.2" la-arena = { version = "0.3.0", path = "../../lib/arena" } stdx = { path = "../stdx", version = "0.0.0" } -base_db = { path = "../base_db", version = "0.0.0" } +base-db = { path = "../base-db", version = "0.0.0" } syntax = { path = "../syntax", version = "0.0.0" } profile = { path = "../profile", version = "0.0.0" } -hir_expand = { path = "../hir_expand", version = "0.0.0" } +hir-expand = { path = "../hir-expand", version = "0.0.0" } mbe = { path = "../mbe", version = "0.0.0" } cfg = { path = "../cfg", version = "0.0.0" } tt = { path = "../tt", version = "0.0.0" } limit = { path = "../limit", version = "0.0.0" } [dev-dependencies] -test_utils = { path = "../test_utils" } +test-utils = { path = "../test-utils" } expect-test = "1.2.2" diff --git a/crates/hir_def/src/adt.rs b/crates/hir-def/src/adt.rs similarity index 100% rename from crates/hir_def/src/adt.rs rename to crates/hir-def/src/adt.rs diff --git a/crates/hir_def/src/attr.rs b/crates/hir-def/src/attr.rs similarity index 100% rename from crates/hir_def/src/attr.rs rename to crates/hir-def/src/attr.rs diff --git a/crates/hir_def/src/body.rs b/crates/hir-def/src/body.rs similarity index 100% rename from crates/hir_def/src/body.rs rename to crates/hir-def/src/body.rs diff --git a/crates/hir_def/src/body/lower.rs b/crates/hir-def/src/body/lower.rs similarity index 100% rename from crates/hir_def/src/body/lower.rs rename to crates/hir-def/src/body/lower.rs diff --git a/crates/hir_def/src/body/scope.rs b/crates/hir-def/src/body/scope.rs similarity index 100% rename from crates/hir_def/src/body/scope.rs rename to crates/hir-def/src/body/scope.rs diff --git a/crates/hir_def/src/body/tests.rs b/crates/hir-def/src/body/tests.rs similarity index 100% rename from crates/hir_def/src/body/tests.rs rename to crates/hir-def/src/body/tests.rs diff --git a/crates/hir_def/src/body/tests/block.rs b/crates/hir-def/src/body/tests/block.rs similarity index 100% rename from crates/hir_def/src/body/tests/block.rs rename to crates/hir-def/src/body/tests/block.rs diff --git a/crates/hir_def/src/builtin_attr.rs b/crates/hir-def/src/builtin_attr.rs similarity index 100% rename from crates/hir_def/src/builtin_attr.rs rename to crates/hir-def/src/builtin_attr.rs diff --git a/crates/hir_def/src/builtin_type.rs b/crates/hir-def/src/builtin_type.rs similarity index 100% rename from crates/hir_def/src/builtin_type.rs rename to crates/hir-def/src/builtin_type.rs diff --git a/crates/hir_def/src/child_by_source.rs b/crates/hir-def/src/child_by_source.rs similarity index 100% rename from crates/hir_def/src/child_by_source.rs rename to crates/hir-def/src/child_by_source.rs diff --git a/crates/hir_def/src/data.rs b/crates/hir-def/src/data.rs similarity index 100% rename from crates/hir_def/src/data.rs rename to crates/hir-def/src/data.rs diff --git a/crates/hir_def/src/db.rs b/crates/hir-def/src/db.rs similarity index 100% rename from crates/hir_def/src/db.rs rename to crates/hir-def/src/db.rs diff --git a/crates/hir_def/src/dyn_map.rs b/crates/hir-def/src/dyn_map.rs similarity index 100% rename from crates/hir_def/src/dyn_map.rs rename to crates/hir-def/src/dyn_map.rs diff --git a/crates/hir_def/src/expr.rs b/crates/hir-def/src/expr.rs similarity index 100% rename from crates/hir_def/src/expr.rs rename to crates/hir-def/src/expr.rs diff --git a/crates/hir_def/src/find_path.rs b/crates/hir-def/src/find_path.rs similarity index 100% rename from crates/hir_def/src/find_path.rs rename to crates/hir-def/src/find_path.rs diff --git a/crates/hir_def/src/generics.rs b/crates/hir-def/src/generics.rs similarity index 100% rename from crates/hir_def/src/generics.rs rename to crates/hir-def/src/generics.rs diff --git a/crates/hir_def/src/import_map.rs b/crates/hir-def/src/import_map.rs similarity index 100% rename from crates/hir_def/src/import_map.rs rename to crates/hir-def/src/import_map.rs diff --git a/crates/hir_def/src/intern.rs b/crates/hir-def/src/intern.rs similarity index 100% rename from crates/hir_def/src/intern.rs rename to crates/hir-def/src/intern.rs diff --git a/crates/hir_def/src/item_scope.rs b/crates/hir-def/src/item_scope.rs similarity index 100% rename from crates/hir_def/src/item_scope.rs rename to crates/hir-def/src/item_scope.rs diff --git a/crates/hir_def/src/item_tree.rs b/crates/hir-def/src/item_tree.rs similarity index 100% rename from crates/hir_def/src/item_tree.rs rename to crates/hir-def/src/item_tree.rs diff --git a/crates/hir_def/src/item_tree/lower.rs b/crates/hir-def/src/item_tree/lower.rs similarity index 100% rename from crates/hir_def/src/item_tree/lower.rs rename to crates/hir-def/src/item_tree/lower.rs diff --git a/crates/hir_def/src/item_tree/pretty.rs b/crates/hir-def/src/item_tree/pretty.rs similarity index 100% rename from crates/hir_def/src/item_tree/pretty.rs rename to crates/hir-def/src/item_tree/pretty.rs diff --git a/crates/hir_def/src/item_tree/tests.rs b/crates/hir-def/src/item_tree/tests.rs similarity index 100% rename from crates/hir_def/src/item_tree/tests.rs rename to crates/hir-def/src/item_tree/tests.rs diff --git a/crates/hir_def/src/keys.rs b/crates/hir-def/src/keys.rs similarity index 100% rename from crates/hir_def/src/keys.rs rename to crates/hir-def/src/keys.rs diff --git a/crates/hir_def/src/lang_item.rs b/crates/hir-def/src/lang_item.rs similarity index 100% rename from crates/hir_def/src/lang_item.rs rename to crates/hir-def/src/lang_item.rs diff --git a/crates/hir_def/src/lib.rs b/crates/hir-def/src/lib.rs similarity index 100% rename from crates/hir_def/src/lib.rs rename to crates/hir-def/src/lib.rs diff --git a/crates/hir_def/src/macro_expansion_tests.rs b/crates/hir-def/src/macro_expansion_tests.rs similarity index 100% rename from crates/hir_def/src/macro_expansion_tests.rs rename to crates/hir-def/src/macro_expansion_tests.rs diff --git a/crates/hir_def/src/macro_expansion_tests/builtin_derive_macro.rs b/crates/hir-def/src/macro_expansion_tests/builtin_derive_macro.rs similarity index 100% rename from crates/hir_def/src/macro_expansion_tests/builtin_derive_macro.rs rename to crates/hir-def/src/macro_expansion_tests/builtin_derive_macro.rs diff --git a/crates/hir_def/src/macro_expansion_tests/builtin_fn_macro.rs b/crates/hir-def/src/macro_expansion_tests/builtin_fn_macro.rs similarity index 100% rename from crates/hir_def/src/macro_expansion_tests/builtin_fn_macro.rs rename to crates/hir-def/src/macro_expansion_tests/builtin_fn_macro.rs diff --git a/crates/hir_def/src/macro_expansion_tests/mbe.rs b/crates/hir-def/src/macro_expansion_tests/mbe.rs similarity index 100% rename from crates/hir_def/src/macro_expansion_tests/mbe.rs rename to crates/hir-def/src/macro_expansion_tests/mbe.rs diff --git a/crates/hir_def/src/macro_expansion_tests/mbe/matching.rs b/crates/hir-def/src/macro_expansion_tests/mbe/matching.rs similarity index 100% rename from crates/hir_def/src/macro_expansion_tests/mbe/matching.rs rename to crates/hir-def/src/macro_expansion_tests/mbe/matching.rs diff --git a/crates/hir_def/src/macro_expansion_tests/mbe/meta_syntax.rs b/crates/hir-def/src/macro_expansion_tests/mbe/meta_syntax.rs similarity index 100% rename from crates/hir_def/src/macro_expansion_tests/mbe/meta_syntax.rs rename to crates/hir-def/src/macro_expansion_tests/mbe/meta_syntax.rs diff --git a/crates/hir_def/src/macro_expansion_tests/mbe/regression.rs b/crates/hir-def/src/macro_expansion_tests/mbe/regression.rs similarity index 100% rename from crates/hir_def/src/macro_expansion_tests/mbe/regression.rs rename to crates/hir-def/src/macro_expansion_tests/mbe/regression.rs diff --git a/crates/hir_def/src/macro_expansion_tests/mbe/tt_conversion.rs b/crates/hir-def/src/macro_expansion_tests/mbe/tt_conversion.rs similarity index 100% rename from crates/hir_def/src/macro_expansion_tests/mbe/tt_conversion.rs rename to crates/hir-def/src/macro_expansion_tests/mbe/tt_conversion.rs diff --git a/crates/hir_def/src/macro_expansion_tests/proc_macros.rs b/crates/hir-def/src/macro_expansion_tests/proc_macros.rs similarity index 100% rename from crates/hir_def/src/macro_expansion_tests/proc_macros.rs rename to crates/hir-def/src/macro_expansion_tests/proc_macros.rs diff --git a/crates/hir_def/src/nameres.rs b/crates/hir-def/src/nameres.rs similarity index 100% rename from crates/hir_def/src/nameres.rs rename to crates/hir-def/src/nameres.rs diff --git a/crates/hir_def/src/nameres/attr_resolution.rs b/crates/hir-def/src/nameres/attr_resolution.rs similarity index 100% rename from crates/hir_def/src/nameres/attr_resolution.rs rename to crates/hir-def/src/nameres/attr_resolution.rs diff --git a/crates/hir_def/src/nameres/collector.rs b/crates/hir-def/src/nameres/collector.rs similarity index 100% rename from crates/hir_def/src/nameres/collector.rs rename to crates/hir-def/src/nameres/collector.rs diff --git a/crates/hir_def/src/nameres/diagnostics.rs b/crates/hir-def/src/nameres/diagnostics.rs similarity index 100% rename from crates/hir_def/src/nameres/diagnostics.rs rename to crates/hir-def/src/nameres/diagnostics.rs diff --git a/crates/hir_def/src/nameres/mod_resolution.rs b/crates/hir-def/src/nameres/mod_resolution.rs similarity index 100% rename from crates/hir_def/src/nameres/mod_resolution.rs rename to crates/hir-def/src/nameres/mod_resolution.rs diff --git a/crates/hir_def/src/nameres/path_resolution.rs b/crates/hir-def/src/nameres/path_resolution.rs similarity index 100% rename from crates/hir_def/src/nameres/path_resolution.rs rename to crates/hir-def/src/nameres/path_resolution.rs diff --git a/crates/hir_def/src/nameres/proc_macro.rs b/crates/hir-def/src/nameres/proc_macro.rs similarity index 100% rename from crates/hir_def/src/nameres/proc_macro.rs rename to crates/hir-def/src/nameres/proc_macro.rs diff --git a/crates/hir_def/src/nameres/tests.rs b/crates/hir-def/src/nameres/tests.rs similarity index 100% rename from crates/hir_def/src/nameres/tests.rs rename to crates/hir-def/src/nameres/tests.rs diff --git a/crates/hir_def/src/nameres/tests/globs.rs b/crates/hir-def/src/nameres/tests/globs.rs similarity index 100% rename from crates/hir_def/src/nameres/tests/globs.rs rename to crates/hir-def/src/nameres/tests/globs.rs diff --git a/crates/hir_def/src/nameres/tests/incremental.rs b/crates/hir-def/src/nameres/tests/incremental.rs similarity index 100% rename from crates/hir_def/src/nameres/tests/incremental.rs rename to crates/hir-def/src/nameres/tests/incremental.rs diff --git a/crates/hir_def/src/nameres/tests/macros.rs b/crates/hir-def/src/nameres/tests/macros.rs similarity index 100% rename from crates/hir_def/src/nameres/tests/macros.rs rename to crates/hir-def/src/nameres/tests/macros.rs diff --git a/crates/hir_def/src/nameres/tests/mod_resolution.rs b/crates/hir-def/src/nameres/tests/mod_resolution.rs similarity index 100% rename from crates/hir_def/src/nameres/tests/mod_resolution.rs rename to crates/hir-def/src/nameres/tests/mod_resolution.rs diff --git a/crates/hir_def/src/nameres/tests/primitives.rs b/crates/hir-def/src/nameres/tests/primitives.rs similarity index 100% rename from crates/hir_def/src/nameres/tests/primitives.rs rename to crates/hir-def/src/nameres/tests/primitives.rs diff --git a/crates/hir_def/src/path.rs b/crates/hir-def/src/path.rs similarity index 100% rename from crates/hir_def/src/path.rs rename to crates/hir-def/src/path.rs diff --git a/crates/hir_def/src/path/lower.rs b/crates/hir-def/src/path/lower.rs similarity index 100% rename from crates/hir_def/src/path/lower.rs rename to crates/hir-def/src/path/lower.rs diff --git a/crates/hir_def/src/per_ns.rs b/crates/hir-def/src/per_ns.rs similarity index 100% rename from crates/hir_def/src/per_ns.rs rename to crates/hir-def/src/per_ns.rs diff --git a/crates/hir_def/src/resolver.rs b/crates/hir-def/src/resolver.rs similarity index 100% rename from crates/hir_def/src/resolver.rs rename to crates/hir-def/src/resolver.rs diff --git a/crates/hir_def/src/src.rs b/crates/hir-def/src/src.rs similarity index 100% rename from crates/hir_def/src/src.rs rename to crates/hir-def/src/src.rs diff --git a/crates/hir_def/src/test_db.rs b/crates/hir-def/src/test_db.rs similarity index 100% rename from crates/hir_def/src/test_db.rs rename to crates/hir-def/src/test_db.rs diff --git a/crates/hir_def/src/trace.rs b/crates/hir-def/src/trace.rs similarity index 100% rename from crates/hir_def/src/trace.rs rename to crates/hir-def/src/trace.rs diff --git a/crates/hir_def/src/type_ref.rs b/crates/hir-def/src/type_ref.rs similarity index 100% rename from crates/hir_def/src/type_ref.rs rename to crates/hir-def/src/type_ref.rs diff --git a/crates/hir_def/src/visibility.rs b/crates/hir-def/src/visibility.rs similarity index 100% rename from crates/hir_def/src/visibility.rs rename to crates/hir-def/src/visibility.rs diff --git a/crates/hir_expand/Cargo.toml b/crates/hir-expand/Cargo.toml similarity index 91% rename from crates/hir_expand/Cargo.toml rename to crates/hir-expand/Cargo.toml index 9d8772d1293..f4770a6f9fe 100644 --- a/crates/hir_expand/Cargo.toml +++ b/crates/hir-expand/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "hir_expand" +name = "hir-expand" version = "0.0.0" description = "TBD" license = "MIT OR Apache-2.0" @@ -20,7 +20,7 @@ hashbrown = { version = "0.12.0", features = [ "inline-more", ], default-features = false } -base_db = { path = "../base_db", version = "0.0.0" } +base-db = { path = "../base-db", version = "0.0.0" } cfg = { path = "../cfg", version = "0.0.0" } syntax = { path = "../syntax", version = "0.0.0" } profile = { path = "../profile", version = "0.0.0" } diff --git a/crates/hir_expand/src/ast_id_map.rs b/crates/hir-expand/src/ast_id_map.rs similarity index 100% rename from crates/hir_expand/src/ast_id_map.rs rename to crates/hir-expand/src/ast_id_map.rs diff --git a/crates/hir_expand/src/builtin_attr_macro.rs b/crates/hir-expand/src/builtin_attr_macro.rs similarity index 100% rename from crates/hir_expand/src/builtin_attr_macro.rs rename to crates/hir-expand/src/builtin_attr_macro.rs diff --git a/crates/hir_expand/src/builtin_derive_macro.rs b/crates/hir-expand/src/builtin_derive_macro.rs similarity index 100% rename from crates/hir_expand/src/builtin_derive_macro.rs rename to crates/hir-expand/src/builtin_derive_macro.rs diff --git a/crates/hir_expand/src/builtin_fn_macro.rs b/crates/hir-expand/src/builtin_fn_macro.rs similarity index 100% rename from crates/hir_expand/src/builtin_fn_macro.rs rename to crates/hir-expand/src/builtin_fn_macro.rs diff --git a/crates/hir_expand/src/db.rs b/crates/hir-expand/src/db.rs similarity index 100% rename from crates/hir_expand/src/db.rs rename to crates/hir-expand/src/db.rs diff --git a/crates/hir_expand/src/eager.rs b/crates/hir-expand/src/eager.rs similarity index 100% rename from crates/hir_expand/src/eager.rs rename to crates/hir-expand/src/eager.rs diff --git a/crates/hir_expand/src/fixup.rs b/crates/hir-expand/src/fixup.rs similarity index 100% rename from crates/hir_expand/src/fixup.rs rename to crates/hir-expand/src/fixup.rs diff --git a/crates/hir_expand/src/hygiene.rs b/crates/hir-expand/src/hygiene.rs similarity index 100% rename from crates/hir_expand/src/hygiene.rs rename to crates/hir-expand/src/hygiene.rs diff --git a/crates/hir_expand/src/lib.rs b/crates/hir-expand/src/lib.rs similarity index 100% rename from crates/hir_expand/src/lib.rs rename to crates/hir-expand/src/lib.rs diff --git a/crates/hir_expand/src/mod_path.rs b/crates/hir-expand/src/mod_path.rs similarity index 100% rename from crates/hir_expand/src/mod_path.rs rename to crates/hir-expand/src/mod_path.rs diff --git a/crates/hir_expand/src/name.rs b/crates/hir-expand/src/name.rs similarity index 100% rename from crates/hir_expand/src/name.rs rename to crates/hir-expand/src/name.rs diff --git a/crates/hir_expand/src/proc_macro.rs b/crates/hir-expand/src/proc_macro.rs similarity index 100% rename from crates/hir_expand/src/proc_macro.rs rename to crates/hir-expand/src/proc_macro.rs diff --git a/crates/hir_expand/src/quote.rs b/crates/hir-expand/src/quote.rs similarity index 100% rename from crates/hir_expand/src/quote.rs rename to crates/hir-expand/src/quote.rs diff --git a/crates/hir_ty/Cargo.toml b/crates/hir-ty/Cargo.toml similarity index 81% rename from crates/hir_ty/Cargo.toml rename to crates/hir-ty/Cargo.toml index 1fe57882539..06cdb1e4e03 100644 --- a/crates/hir_ty/Cargo.toml +++ b/crates/hir-ty/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "hir_ty" +name = "hir-ty" version = "0.0.0" description = "TBD" license = "MIT OR Apache-2.0" @@ -26,15 +26,15 @@ once_cell = "1.10.0" typed-arena = "2.0.1" stdx = { path = "../stdx", version = "0.0.0" } -hir_def = { path = "../hir_def", version = "0.0.0" } -hir_expand = { path = "../hir_expand", version = "0.0.0" } -base_db = { path = "../base_db", version = "0.0.0" } +hir-def = { path = "../hir-def", version = "0.0.0" } +hir-expand = { path = "../hir-expand", version = "0.0.0" } +base-db = { path = "../base-db", version = "0.0.0" } profile = { path = "../profile", version = "0.0.0" } syntax = { path = "../syntax", version = "0.0.0" } limit = { path = "../limit", version = "0.0.0" } [dev-dependencies] -test_utils = { path = "../test_utils" } +test-utils = { path = "../test-utils" } expect-test = "1.2.2" tracing = "0.1.32" tracing-subscriber = { version = "0.3.9", default-features = false, features = [ diff --git a/crates/hir_ty/src/autoderef.rs b/crates/hir-ty/src/autoderef.rs similarity index 100% rename from crates/hir_ty/src/autoderef.rs rename to crates/hir-ty/src/autoderef.rs diff --git a/crates/hir_ty/src/builder.rs b/crates/hir-ty/src/builder.rs similarity index 100% rename from crates/hir_ty/src/builder.rs rename to crates/hir-ty/src/builder.rs diff --git a/crates/hir_ty/src/chalk_db.rs b/crates/hir-ty/src/chalk_db.rs similarity index 100% rename from crates/hir_ty/src/chalk_db.rs rename to crates/hir-ty/src/chalk_db.rs diff --git a/crates/hir_ty/src/chalk_ext.rs b/crates/hir-ty/src/chalk_ext.rs similarity index 100% rename from crates/hir_ty/src/chalk_ext.rs rename to crates/hir-ty/src/chalk_ext.rs diff --git a/crates/hir_ty/src/consteval.rs b/crates/hir-ty/src/consteval.rs similarity index 100% rename from crates/hir_ty/src/consteval.rs rename to crates/hir-ty/src/consteval.rs diff --git a/crates/hir_ty/src/consteval/tests.rs b/crates/hir-ty/src/consteval/tests.rs similarity index 100% rename from crates/hir_ty/src/consteval/tests.rs rename to crates/hir-ty/src/consteval/tests.rs diff --git a/crates/hir_ty/src/db.rs b/crates/hir-ty/src/db.rs similarity index 100% rename from crates/hir_ty/src/db.rs rename to crates/hir-ty/src/db.rs diff --git a/crates/hir_ty/src/diagnostics.rs b/crates/hir-ty/src/diagnostics.rs similarity index 100% rename from crates/hir_ty/src/diagnostics.rs rename to crates/hir-ty/src/diagnostics.rs diff --git a/crates/hir_ty/src/diagnostics/decl_check.rs b/crates/hir-ty/src/diagnostics/decl_check.rs similarity index 100% rename from crates/hir_ty/src/diagnostics/decl_check.rs rename to crates/hir-ty/src/diagnostics/decl_check.rs diff --git a/crates/hir_ty/src/diagnostics/decl_check/case_conv.rs b/crates/hir-ty/src/diagnostics/decl_check/case_conv.rs similarity index 100% rename from crates/hir_ty/src/diagnostics/decl_check/case_conv.rs rename to crates/hir-ty/src/diagnostics/decl_check/case_conv.rs diff --git a/crates/hir_ty/src/diagnostics/expr.rs b/crates/hir-ty/src/diagnostics/expr.rs similarity index 100% rename from crates/hir_ty/src/diagnostics/expr.rs rename to crates/hir-ty/src/diagnostics/expr.rs diff --git a/crates/hir_ty/src/diagnostics/match_check.rs b/crates/hir-ty/src/diagnostics/match_check.rs similarity index 100% rename from crates/hir_ty/src/diagnostics/match_check.rs rename to crates/hir-ty/src/diagnostics/match_check.rs diff --git a/crates/hir_ty/src/diagnostics/match_check/deconstruct_pat.rs b/crates/hir-ty/src/diagnostics/match_check/deconstruct_pat.rs similarity index 100% rename from crates/hir_ty/src/diagnostics/match_check/deconstruct_pat.rs rename to crates/hir-ty/src/diagnostics/match_check/deconstruct_pat.rs diff --git a/crates/hir_ty/src/diagnostics/match_check/pat_util.rs b/crates/hir-ty/src/diagnostics/match_check/pat_util.rs similarity index 100% rename from crates/hir_ty/src/diagnostics/match_check/pat_util.rs rename to crates/hir-ty/src/diagnostics/match_check/pat_util.rs diff --git a/crates/hir_ty/src/diagnostics/match_check/usefulness.rs b/crates/hir-ty/src/diagnostics/match_check/usefulness.rs similarity index 100% rename from crates/hir_ty/src/diagnostics/match_check/usefulness.rs rename to crates/hir-ty/src/diagnostics/match_check/usefulness.rs diff --git a/crates/hir_ty/src/diagnostics/unsafe_check.rs b/crates/hir-ty/src/diagnostics/unsafe_check.rs similarity index 100% rename from crates/hir_ty/src/diagnostics/unsafe_check.rs rename to crates/hir-ty/src/diagnostics/unsafe_check.rs diff --git a/crates/hir_ty/src/display.rs b/crates/hir-ty/src/display.rs similarity index 100% rename from crates/hir_ty/src/display.rs rename to crates/hir-ty/src/display.rs diff --git a/crates/hir_ty/src/infer.rs b/crates/hir-ty/src/infer.rs similarity index 100% rename from crates/hir_ty/src/infer.rs rename to crates/hir-ty/src/infer.rs diff --git a/crates/hir_ty/src/infer/closure.rs b/crates/hir-ty/src/infer/closure.rs similarity index 100% rename from crates/hir_ty/src/infer/closure.rs rename to crates/hir-ty/src/infer/closure.rs diff --git a/crates/hir_ty/src/infer/coerce.rs b/crates/hir-ty/src/infer/coerce.rs similarity index 100% rename from crates/hir_ty/src/infer/coerce.rs rename to crates/hir-ty/src/infer/coerce.rs diff --git a/crates/hir_ty/src/infer/expr.rs b/crates/hir-ty/src/infer/expr.rs similarity index 100% rename from crates/hir_ty/src/infer/expr.rs rename to crates/hir-ty/src/infer/expr.rs diff --git a/crates/hir_ty/src/infer/pat.rs b/crates/hir-ty/src/infer/pat.rs similarity index 100% rename from crates/hir_ty/src/infer/pat.rs rename to crates/hir-ty/src/infer/pat.rs diff --git a/crates/hir_ty/src/infer/path.rs b/crates/hir-ty/src/infer/path.rs similarity index 100% rename from crates/hir_ty/src/infer/path.rs rename to crates/hir-ty/src/infer/path.rs diff --git a/crates/hir_ty/src/infer/unify.rs b/crates/hir-ty/src/infer/unify.rs similarity index 100% rename from crates/hir_ty/src/infer/unify.rs rename to crates/hir-ty/src/infer/unify.rs diff --git a/crates/hir_ty/src/interner.rs b/crates/hir-ty/src/interner.rs similarity index 100% rename from crates/hir_ty/src/interner.rs rename to crates/hir-ty/src/interner.rs diff --git a/crates/hir_ty/src/lib.rs b/crates/hir-ty/src/lib.rs similarity index 100% rename from crates/hir_ty/src/lib.rs rename to crates/hir-ty/src/lib.rs diff --git a/crates/hir_ty/src/lower.rs b/crates/hir-ty/src/lower.rs similarity index 100% rename from crates/hir_ty/src/lower.rs rename to crates/hir-ty/src/lower.rs diff --git a/crates/hir_ty/src/mapping.rs b/crates/hir-ty/src/mapping.rs similarity index 100% rename from crates/hir_ty/src/mapping.rs rename to crates/hir-ty/src/mapping.rs diff --git a/crates/hir_ty/src/method_resolution.rs b/crates/hir-ty/src/method_resolution.rs similarity index 100% rename from crates/hir_ty/src/method_resolution.rs rename to crates/hir-ty/src/method_resolution.rs diff --git a/crates/hir_ty/src/primitive.rs b/crates/hir-ty/src/primitive.rs similarity index 100% rename from crates/hir_ty/src/primitive.rs rename to crates/hir-ty/src/primitive.rs diff --git a/crates/hir_ty/src/test_db.rs b/crates/hir-ty/src/test_db.rs similarity index 100% rename from crates/hir_ty/src/test_db.rs rename to crates/hir-ty/src/test_db.rs diff --git a/crates/hir_ty/src/tests.rs b/crates/hir-ty/src/tests.rs similarity index 100% rename from crates/hir_ty/src/tests.rs rename to crates/hir-ty/src/tests.rs diff --git a/crates/hir_ty/src/tests/coercion.rs b/crates/hir-ty/src/tests/coercion.rs similarity index 100% rename from crates/hir_ty/src/tests/coercion.rs rename to crates/hir-ty/src/tests/coercion.rs diff --git a/crates/hir_ty/src/tests/diagnostics.rs b/crates/hir-ty/src/tests/diagnostics.rs similarity index 100% rename from crates/hir_ty/src/tests/diagnostics.rs rename to crates/hir-ty/src/tests/diagnostics.rs diff --git a/crates/hir_ty/src/tests/display_source_code.rs b/crates/hir-ty/src/tests/display_source_code.rs similarity index 100% rename from crates/hir_ty/src/tests/display_source_code.rs rename to crates/hir-ty/src/tests/display_source_code.rs diff --git a/crates/hir_ty/src/tests/incremental.rs b/crates/hir-ty/src/tests/incremental.rs similarity index 100% rename from crates/hir_ty/src/tests/incremental.rs rename to crates/hir-ty/src/tests/incremental.rs diff --git a/crates/hir_ty/src/tests/macros.rs b/crates/hir-ty/src/tests/macros.rs similarity index 100% rename from crates/hir_ty/src/tests/macros.rs rename to crates/hir-ty/src/tests/macros.rs diff --git a/crates/hir_ty/src/tests/method_resolution.rs b/crates/hir-ty/src/tests/method_resolution.rs similarity index 100% rename from crates/hir_ty/src/tests/method_resolution.rs rename to crates/hir-ty/src/tests/method_resolution.rs diff --git a/crates/hir_ty/src/tests/never_type.rs b/crates/hir-ty/src/tests/never_type.rs similarity index 100% rename from crates/hir_ty/src/tests/never_type.rs rename to crates/hir-ty/src/tests/never_type.rs diff --git a/crates/hir_ty/src/tests/patterns.rs b/crates/hir-ty/src/tests/patterns.rs similarity index 100% rename from crates/hir_ty/src/tests/patterns.rs rename to crates/hir-ty/src/tests/patterns.rs diff --git a/crates/hir_ty/src/tests/regression.rs b/crates/hir-ty/src/tests/regression.rs similarity index 100% rename from crates/hir_ty/src/tests/regression.rs rename to crates/hir-ty/src/tests/regression.rs diff --git a/crates/hir_ty/src/tests/simple.rs b/crates/hir-ty/src/tests/simple.rs similarity index 100% rename from crates/hir_ty/src/tests/simple.rs rename to crates/hir-ty/src/tests/simple.rs diff --git a/crates/hir_ty/src/tests/traits.rs b/crates/hir-ty/src/tests/traits.rs similarity index 100% rename from crates/hir_ty/src/tests/traits.rs rename to crates/hir-ty/src/tests/traits.rs diff --git a/crates/hir_ty/src/tls.rs b/crates/hir-ty/src/tls.rs similarity index 100% rename from crates/hir_ty/src/tls.rs rename to crates/hir-ty/src/tls.rs diff --git a/crates/hir_ty/src/traits.rs b/crates/hir-ty/src/traits.rs similarity index 100% rename from crates/hir_ty/src/traits.rs rename to crates/hir-ty/src/traits.rs diff --git a/crates/hir_ty/src/utils.rs b/crates/hir-ty/src/utils.rs similarity index 100% rename from crates/hir_ty/src/utils.rs rename to crates/hir-ty/src/utils.rs diff --git a/crates/hir_ty/src/walk.rs b/crates/hir-ty/src/walk.rs similarity index 100% rename from crates/hir_ty/src/walk.rs rename to crates/hir-ty/src/walk.rs diff --git a/crates/hir/Cargo.toml b/crates/hir/Cargo.toml index 2b9a52d36fe..1cffd823f26 100644 --- a/crates/hir/Cargo.toml +++ b/crates/hir/Cargo.toml @@ -19,10 +19,10 @@ once_cell = "1.10.0" stdx = { path = "../stdx", version = "0.0.0" } syntax = { path = "../syntax", version = "0.0.0" } -base_db = { path = "../base_db", version = "0.0.0" } +base-db = { path = "../base-db", version = "0.0.0" } profile = { path = "../profile", version = "0.0.0" } -hir_expand = { path = "../hir_expand", version = "0.0.0" } -hir_def = { path = "../hir_def", version = "0.0.0" } -hir_ty = { path = "../hir_ty", version = "0.0.0" } +hir-expand = { path = "../hir-expand", version = "0.0.0" } +hir-def = { path = "../hir-def", version = "0.0.0" } +hir-ty = { path = "../hir-ty", version = "0.0.0" } tt = { path = "../tt", version = "0.0.0" } cfg = { path = "../cfg", version = "0.0.0" } diff --git a/crates/ide_assists/Cargo.toml b/crates/ide-assists/Cargo.toml similarity index 74% rename from crates/ide_assists/Cargo.toml rename to crates/ide-assists/Cargo.toml index edd0d262909..d86de2cca4b 100644 --- a/crates/ide_assists/Cargo.toml +++ b/crates/ide-assists/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "ide_assists" +name = "ide-assists" version = "0.0.0" description = "TBD" license = "MIT OR Apache-2.0" @@ -17,12 +17,12 @@ either = "1.6.1" stdx = { path = "../stdx", version = "0.0.0" } syntax = { path = "../syntax", version = "0.0.0" } -text_edit = { path = "../text_edit", version = "0.0.0" } +text-edit = { path = "../text-edit", version = "0.0.0" } profile = { path = "../profile", version = "0.0.0" } -ide_db = { path = "../ide_db", version = "0.0.0" } +ide-db = { path = "../ide-db", version = "0.0.0" } hir = { path = "../hir", version = "0.0.0" } [dev-dependencies] -test_utils = { path = "../test_utils" } +test-utils = { path = "../test-utils" } sourcegen = { path = "../sourcegen" } expect-test = "1.2.2" diff --git a/crates/ide_assists/src/assist_config.rs b/crates/ide-assists/src/assist_config.rs similarity index 100% rename from crates/ide_assists/src/assist_config.rs rename to crates/ide-assists/src/assist_config.rs diff --git a/crates/ide_assists/src/assist_context.rs b/crates/ide-assists/src/assist_context.rs similarity index 100% rename from crates/ide_assists/src/assist_context.rs rename to crates/ide-assists/src/assist_context.rs diff --git a/crates/ide_assists/src/handlers/add_explicit_type.rs b/crates/ide-assists/src/handlers/add_explicit_type.rs similarity index 100% rename from crates/ide_assists/src/handlers/add_explicit_type.rs rename to crates/ide-assists/src/handlers/add_explicit_type.rs diff --git a/crates/ide_assists/src/handlers/add_lifetime_to_type.rs b/crates/ide-assists/src/handlers/add_lifetime_to_type.rs similarity index 100% rename from crates/ide_assists/src/handlers/add_lifetime_to_type.rs rename to crates/ide-assists/src/handlers/add_lifetime_to_type.rs diff --git a/crates/ide_assists/src/handlers/add_missing_impl_members.rs b/crates/ide-assists/src/handlers/add_missing_impl_members.rs similarity index 100% rename from crates/ide_assists/src/handlers/add_missing_impl_members.rs rename to crates/ide-assists/src/handlers/add_missing_impl_members.rs diff --git a/crates/ide_assists/src/handlers/add_missing_match_arms.rs b/crates/ide-assists/src/handlers/add_missing_match_arms.rs similarity index 100% rename from crates/ide_assists/src/handlers/add_missing_match_arms.rs rename to crates/ide-assists/src/handlers/add_missing_match_arms.rs diff --git a/crates/ide_assists/src/handlers/add_return_type.rs b/crates/ide-assists/src/handlers/add_return_type.rs similarity index 100% rename from crates/ide_assists/src/handlers/add_return_type.rs rename to crates/ide-assists/src/handlers/add_return_type.rs diff --git a/crates/ide_assists/src/handlers/add_turbo_fish.rs b/crates/ide-assists/src/handlers/add_turbo_fish.rs similarity index 100% rename from crates/ide_assists/src/handlers/add_turbo_fish.rs rename to crates/ide-assists/src/handlers/add_turbo_fish.rs diff --git a/crates/ide_assists/src/handlers/apply_demorgan.rs b/crates/ide-assists/src/handlers/apply_demorgan.rs similarity index 100% rename from crates/ide_assists/src/handlers/apply_demorgan.rs rename to crates/ide-assists/src/handlers/apply_demorgan.rs diff --git a/crates/ide_assists/src/handlers/auto_import.rs b/crates/ide-assists/src/handlers/auto_import.rs similarity index 100% rename from crates/ide_assists/src/handlers/auto_import.rs rename to crates/ide-assists/src/handlers/auto_import.rs diff --git a/crates/ide_assists/src/handlers/change_visibility.rs b/crates/ide-assists/src/handlers/change_visibility.rs similarity index 100% rename from crates/ide_assists/src/handlers/change_visibility.rs rename to crates/ide-assists/src/handlers/change_visibility.rs diff --git a/crates/ide_assists/src/handlers/convert_bool_then.rs b/crates/ide-assists/src/handlers/convert_bool_then.rs similarity index 100% rename from crates/ide_assists/src/handlers/convert_bool_then.rs rename to crates/ide-assists/src/handlers/convert_bool_then.rs diff --git a/crates/ide_assists/src/handlers/convert_comment_block.rs b/crates/ide-assists/src/handlers/convert_comment_block.rs similarity index 100% rename from crates/ide_assists/src/handlers/convert_comment_block.rs rename to crates/ide-assists/src/handlers/convert_comment_block.rs diff --git a/crates/ide_assists/src/handlers/convert_integer_literal.rs b/crates/ide-assists/src/handlers/convert_integer_literal.rs similarity index 100% rename from crates/ide_assists/src/handlers/convert_integer_literal.rs rename to crates/ide-assists/src/handlers/convert_integer_literal.rs diff --git a/crates/ide_assists/src/handlers/convert_into_to_from.rs b/crates/ide-assists/src/handlers/convert_into_to_from.rs similarity index 100% rename from crates/ide_assists/src/handlers/convert_into_to_from.rs rename to crates/ide-assists/src/handlers/convert_into_to_from.rs diff --git a/crates/ide_assists/src/handlers/convert_iter_for_each_to_for.rs b/crates/ide-assists/src/handlers/convert_iter_for_each_to_for.rs similarity index 100% rename from crates/ide_assists/src/handlers/convert_iter_for_each_to_for.rs rename to crates/ide-assists/src/handlers/convert_iter_for_each_to_for.rs diff --git a/crates/ide_assists/src/handlers/convert_to_guarded_return.rs b/crates/ide-assists/src/handlers/convert_to_guarded_return.rs similarity index 100% rename from crates/ide_assists/src/handlers/convert_to_guarded_return.rs rename to crates/ide-assists/src/handlers/convert_to_guarded_return.rs diff --git a/crates/ide_assists/src/handlers/convert_tuple_struct_to_named_struct.rs b/crates/ide-assists/src/handlers/convert_tuple_struct_to_named_struct.rs similarity index 100% rename from crates/ide_assists/src/handlers/convert_tuple_struct_to_named_struct.rs rename to crates/ide-assists/src/handlers/convert_tuple_struct_to_named_struct.rs diff --git a/crates/ide_assists/src/handlers/convert_while_to_loop.rs b/crates/ide-assists/src/handlers/convert_while_to_loop.rs similarity index 100% rename from crates/ide_assists/src/handlers/convert_while_to_loop.rs rename to crates/ide-assists/src/handlers/convert_while_to_loop.rs diff --git a/crates/ide_assists/src/handlers/destructure_tuple_binding.rs b/crates/ide-assists/src/handlers/destructure_tuple_binding.rs similarity index 100% rename from crates/ide_assists/src/handlers/destructure_tuple_binding.rs rename to crates/ide-assists/src/handlers/destructure_tuple_binding.rs diff --git a/crates/ide_assists/src/handlers/expand_glob_import.rs b/crates/ide-assists/src/handlers/expand_glob_import.rs similarity index 100% rename from crates/ide_assists/src/handlers/expand_glob_import.rs rename to crates/ide-assists/src/handlers/expand_glob_import.rs diff --git a/crates/ide_assists/src/handlers/extract_function.rs b/crates/ide-assists/src/handlers/extract_function.rs similarity index 100% rename from crates/ide_assists/src/handlers/extract_function.rs rename to crates/ide-assists/src/handlers/extract_function.rs diff --git a/crates/ide_assists/src/handlers/extract_module.rs b/crates/ide-assists/src/handlers/extract_module.rs similarity index 100% rename from crates/ide_assists/src/handlers/extract_module.rs rename to crates/ide-assists/src/handlers/extract_module.rs diff --git a/crates/ide_assists/src/handlers/extract_struct_from_enum_variant.rs b/crates/ide-assists/src/handlers/extract_struct_from_enum_variant.rs similarity index 100% rename from crates/ide_assists/src/handlers/extract_struct_from_enum_variant.rs rename to crates/ide-assists/src/handlers/extract_struct_from_enum_variant.rs diff --git a/crates/ide_assists/src/handlers/extract_type_alias.rs b/crates/ide-assists/src/handlers/extract_type_alias.rs similarity index 100% rename from crates/ide_assists/src/handlers/extract_type_alias.rs rename to crates/ide-assists/src/handlers/extract_type_alias.rs diff --git a/crates/ide_assists/src/handlers/extract_variable.rs b/crates/ide-assists/src/handlers/extract_variable.rs similarity index 100% rename from crates/ide_assists/src/handlers/extract_variable.rs rename to crates/ide-assists/src/handlers/extract_variable.rs diff --git a/crates/ide_assists/src/handlers/fix_visibility.rs b/crates/ide-assists/src/handlers/fix_visibility.rs similarity index 100% rename from crates/ide_assists/src/handlers/fix_visibility.rs rename to crates/ide-assists/src/handlers/fix_visibility.rs diff --git a/crates/ide_assists/src/handlers/flip_binexpr.rs b/crates/ide-assists/src/handlers/flip_binexpr.rs similarity index 100% rename from crates/ide_assists/src/handlers/flip_binexpr.rs rename to crates/ide-assists/src/handlers/flip_binexpr.rs diff --git a/crates/ide_assists/src/handlers/flip_comma.rs b/crates/ide-assists/src/handlers/flip_comma.rs similarity index 100% rename from crates/ide_assists/src/handlers/flip_comma.rs rename to crates/ide-assists/src/handlers/flip_comma.rs diff --git a/crates/ide_assists/src/handlers/flip_trait_bound.rs b/crates/ide-assists/src/handlers/flip_trait_bound.rs similarity index 100% rename from crates/ide_assists/src/handlers/flip_trait_bound.rs rename to crates/ide-assists/src/handlers/flip_trait_bound.rs diff --git a/crates/ide_assists/src/handlers/generate_constant.rs b/crates/ide-assists/src/handlers/generate_constant.rs similarity index 100% rename from crates/ide_assists/src/handlers/generate_constant.rs rename to crates/ide-assists/src/handlers/generate_constant.rs diff --git a/crates/ide_assists/src/handlers/generate_default_from_enum_variant.rs b/crates/ide-assists/src/handlers/generate_default_from_enum_variant.rs similarity index 100% rename from crates/ide_assists/src/handlers/generate_default_from_enum_variant.rs rename to crates/ide-assists/src/handlers/generate_default_from_enum_variant.rs diff --git a/crates/ide_assists/src/handlers/generate_default_from_new.rs b/crates/ide-assists/src/handlers/generate_default_from_new.rs similarity index 100% rename from crates/ide_assists/src/handlers/generate_default_from_new.rs rename to crates/ide-assists/src/handlers/generate_default_from_new.rs diff --git a/crates/ide_assists/src/handlers/generate_delegate_methods.rs b/crates/ide-assists/src/handlers/generate_delegate_methods.rs similarity index 100% rename from crates/ide_assists/src/handlers/generate_delegate_methods.rs rename to crates/ide-assists/src/handlers/generate_delegate_methods.rs diff --git a/crates/ide_assists/src/handlers/generate_deref.rs b/crates/ide-assists/src/handlers/generate_deref.rs similarity index 100% rename from crates/ide_assists/src/handlers/generate_deref.rs rename to crates/ide-assists/src/handlers/generate_deref.rs diff --git a/crates/ide_assists/src/handlers/generate_derive.rs b/crates/ide-assists/src/handlers/generate_derive.rs similarity index 100% rename from crates/ide_assists/src/handlers/generate_derive.rs rename to crates/ide-assists/src/handlers/generate_derive.rs diff --git a/crates/ide_assists/src/handlers/generate_documentation_template.rs b/crates/ide-assists/src/handlers/generate_documentation_template.rs similarity index 100% rename from crates/ide_assists/src/handlers/generate_documentation_template.rs rename to crates/ide-assists/src/handlers/generate_documentation_template.rs diff --git a/crates/ide_assists/src/handlers/generate_enum_is_method.rs b/crates/ide-assists/src/handlers/generate_enum_is_method.rs similarity index 100% rename from crates/ide_assists/src/handlers/generate_enum_is_method.rs rename to crates/ide-assists/src/handlers/generate_enum_is_method.rs diff --git a/crates/ide_assists/src/handlers/generate_enum_projection_method.rs b/crates/ide-assists/src/handlers/generate_enum_projection_method.rs similarity index 100% rename from crates/ide_assists/src/handlers/generate_enum_projection_method.rs rename to crates/ide-assists/src/handlers/generate_enum_projection_method.rs diff --git a/crates/ide_assists/src/handlers/generate_from_impl_for_enum.rs b/crates/ide-assists/src/handlers/generate_from_impl_for_enum.rs similarity index 100% rename from crates/ide_assists/src/handlers/generate_from_impl_for_enum.rs rename to crates/ide-assists/src/handlers/generate_from_impl_for_enum.rs diff --git a/crates/ide_assists/src/handlers/generate_function.rs b/crates/ide-assists/src/handlers/generate_function.rs similarity index 100% rename from crates/ide_assists/src/handlers/generate_function.rs rename to crates/ide-assists/src/handlers/generate_function.rs diff --git a/crates/ide_assists/src/handlers/generate_getter.rs b/crates/ide-assists/src/handlers/generate_getter.rs similarity index 100% rename from crates/ide_assists/src/handlers/generate_getter.rs rename to crates/ide-assists/src/handlers/generate_getter.rs diff --git a/crates/ide_assists/src/handlers/generate_impl.rs b/crates/ide-assists/src/handlers/generate_impl.rs similarity index 100% rename from crates/ide_assists/src/handlers/generate_impl.rs rename to crates/ide-assists/src/handlers/generate_impl.rs diff --git a/crates/ide_assists/src/handlers/generate_is_empty_from_len.rs b/crates/ide-assists/src/handlers/generate_is_empty_from_len.rs similarity index 100% rename from crates/ide_assists/src/handlers/generate_is_empty_from_len.rs rename to crates/ide-assists/src/handlers/generate_is_empty_from_len.rs diff --git a/crates/ide_assists/src/handlers/generate_new.rs b/crates/ide-assists/src/handlers/generate_new.rs similarity index 100% rename from crates/ide_assists/src/handlers/generate_new.rs rename to crates/ide-assists/src/handlers/generate_new.rs diff --git a/crates/ide_assists/src/handlers/generate_setter.rs b/crates/ide-assists/src/handlers/generate_setter.rs similarity index 100% rename from crates/ide_assists/src/handlers/generate_setter.rs rename to crates/ide-assists/src/handlers/generate_setter.rs diff --git a/crates/ide_assists/src/handlers/inline_call.rs b/crates/ide-assists/src/handlers/inline_call.rs similarity index 100% rename from crates/ide_assists/src/handlers/inline_call.rs rename to crates/ide-assists/src/handlers/inline_call.rs diff --git a/crates/ide_assists/src/handlers/inline_local_variable.rs b/crates/ide-assists/src/handlers/inline_local_variable.rs similarity index 100% rename from crates/ide_assists/src/handlers/inline_local_variable.rs rename to crates/ide-assists/src/handlers/inline_local_variable.rs diff --git a/crates/ide_assists/src/handlers/inline_type_alias.rs b/crates/ide-assists/src/handlers/inline_type_alias.rs similarity index 100% rename from crates/ide_assists/src/handlers/inline_type_alias.rs rename to crates/ide-assists/src/handlers/inline_type_alias.rs diff --git a/crates/ide_assists/src/handlers/introduce_named_generic.rs b/crates/ide-assists/src/handlers/introduce_named_generic.rs similarity index 100% rename from crates/ide_assists/src/handlers/introduce_named_generic.rs rename to crates/ide-assists/src/handlers/introduce_named_generic.rs diff --git a/crates/ide_assists/src/handlers/introduce_named_lifetime.rs b/crates/ide-assists/src/handlers/introduce_named_lifetime.rs similarity index 100% rename from crates/ide_assists/src/handlers/introduce_named_lifetime.rs rename to crates/ide-assists/src/handlers/introduce_named_lifetime.rs diff --git a/crates/ide_assists/src/handlers/invert_if.rs b/crates/ide-assists/src/handlers/invert_if.rs similarity index 100% rename from crates/ide_assists/src/handlers/invert_if.rs rename to crates/ide-assists/src/handlers/invert_if.rs diff --git a/crates/ide_assists/src/handlers/merge_imports.rs b/crates/ide-assists/src/handlers/merge_imports.rs similarity index 100% rename from crates/ide_assists/src/handlers/merge_imports.rs rename to crates/ide-assists/src/handlers/merge_imports.rs diff --git a/crates/ide_assists/src/handlers/merge_match_arms.rs b/crates/ide-assists/src/handlers/merge_match_arms.rs similarity index 100% rename from crates/ide_assists/src/handlers/merge_match_arms.rs rename to crates/ide-assists/src/handlers/merge_match_arms.rs diff --git a/crates/ide_assists/src/handlers/move_bounds.rs b/crates/ide-assists/src/handlers/move_bounds.rs similarity index 100% rename from crates/ide_assists/src/handlers/move_bounds.rs rename to crates/ide-assists/src/handlers/move_bounds.rs diff --git a/crates/ide_assists/src/handlers/move_from_mod_rs.rs b/crates/ide-assists/src/handlers/move_from_mod_rs.rs similarity index 100% rename from crates/ide_assists/src/handlers/move_from_mod_rs.rs rename to crates/ide-assists/src/handlers/move_from_mod_rs.rs diff --git a/crates/ide_assists/src/handlers/move_guard.rs b/crates/ide-assists/src/handlers/move_guard.rs similarity index 100% rename from crates/ide_assists/src/handlers/move_guard.rs rename to crates/ide-assists/src/handlers/move_guard.rs diff --git a/crates/ide_assists/src/handlers/move_module_to_file.rs b/crates/ide-assists/src/handlers/move_module_to_file.rs similarity index 100% rename from crates/ide_assists/src/handlers/move_module_to_file.rs rename to crates/ide-assists/src/handlers/move_module_to_file.rs diff --git a/crates/ide_assists/src/handlers/move_to_mod_rs.rs b/crates/ide-assists/src/handlers/move_to_mod_rs.rs similarity index 100% rename from crates/ide_assists/src/handlers/move_to_mod_rs.rs rename to crates/ide-assists/src/handlers/move_to_mod_rs.rs diff --git a/crates/ide_assists/src/handlers/number_representation.rs b/crates/ide-assists/src/handlers/number_representation.rs similarity index 100% rename from crates/ide_assists/src/handlers/number_representation.rs rename to crates/ide-assists/src/handlers/number_representation.rs diff --git a/crates/ide_assists/src/handlers/promote_local_to_const.rs b/crates/ide-assists/src/handlers/promote_local_to_const.rs similarity index 100% rename from crates/ide_assists/src/handlers/promote_local_to_const.rs rename to crates/ide-assists/src/handlers/promote_local_to_const.rs diff --git a/crates/ide_assists/src/handlers/pull_assignment_up.rs b/crates/ide-assists/src/handlers/pull_assignment_up.rs similarity index 100% rename from crates/ide_assists/src/handlers/pull_assignment_up.rs rename to crates/ide-assists/src/handlers/pull_assignment_up.rs diff --git a/crates/ide_assists/src/handlers/qualify_method_call.rs b/crates/ide-assists/src/handlers/qualify_method_call.rs similarity index 100% rename from crates/ide_assists/src/handlers/qualify_method_call.rs rename to crates/ide-assists/src/handlers/qualify_method_call.rs diff --git a/crates/ide_assists/src/handlers/qualify_path.rs b/crates/ide-assists/src/handlers/qualify_path.rs similarity index 100% rename from crates/ide_assists/src/handlers/qualify_path.rs rename to crates/ide-assists/src/handlers/qualify_path.rs diff --git a/crates/ide_assists/src/handlers/raw_string.rs b/crates/ide-assists/src/handlers/raw_string.rs similarity index 100% rename from crates/ide_assists/src/handlers/raw_string.rs rename to crates/ide-assists/src/handlers/raw_string.rs diff --git a/crates/ide_assists/src/handlers/remove_dbg.rs b/crates/ide-assists/src/handlers/remove_dbg.rs similarity index 100% rename from crates/ide_assists/src/handlers/remove_dbg.rs rename to crates/ide-assists/src/handlers/remove_dbg.rs diff --git a/crates/ide_assists/src/handlers/remove_mut.rs b/crates/ide-assists/src/handlers/remove_mut.rs similarity index 100% rename from crates/ide_assists/src/handlers/remove_mut.rs rename to crates/ide-assists/src/handlers/remove_mut.rs diff --git a/crates/ide_assists/src/handlers/remove_unused_param.rs b/crates/ide-assists/src/handlers/remove_unused_param.rs similarity index 100% rename from crates/ide_assists/src/handlers/remove_unused_param.rs rename to crates/ide-assists/src/handlers/remove_unused_param.rs diff --git a/crates/ide_assists/src/handlers/reorder_fields.rs b/crates/ide-assists/src/handlers/reorder_fields.rs similarity index 100% rename from crates/ide_assists/src/handlers/reorder_fields.rs rename to crates/ide-assists/src/handlers/reorder_fields.rs diff --git a/crates/ide_assists/src/handlers/reorder_impl.rs b/crates/ide-assists/src/handlers/reorder_impl.rs similarity index 100% rename from crates/ide_assists/src/handlers/reorder_impl.rs rename to crates/ide-assists/src/handlers/reorder_impl.rs diff --git a/crates/ide_assists/src/handlers/replace_derive_with_manual_impl.rs b/crates/ide-assists/src/handlers/replace_derive_with_manual_impl.rs similarity index 100% rename from crates/ide_assists/src/handlers/replace_derive_with_manual_impl.rs rename to crates/ide-assists/src/handlers/replace_derive_with_manual_impl.rs diff --git a/crates/ide_assists/src/handlers/replace_if_let_with_match.rs b/crates/ide-assists/src/handlers/replace_if_let_with_match.rs similarity index 100% rename from crates/ide_assists/src/handlers/replace_if_let_with_match.rs rename to crates/ide-assists/src/handlers/replace_if_let_with_match.rs diff --git a/crates/ide_assists/src/handlers/replace_let_with_if_let.rs b/crates/ide-assists/src/handlers/replace_let_with_if_let.rs similarity index 100% rename from crates/ide_assists/src/handlers/replace_let_with_if_let.rs rename to crates/ide-assists/src/handlers/replace_let_with_if_let.rs diff --git a/crates/ide_assists/src/handlers/replace_qualified_name_with_use.rs b/crates/ide-assists/src/handlers/replace_qualified_name_with_use.rs similarity index 100% rename from crates/ide_assists/src/handlers/replace_qualified_name_with_use.rs rename to crates/ide-assists/src/handlers/replace_qualified_name_with_use.rs diff --git a/crates/ide_assists/src/handlers/replace_string_with_char.rs b/crates/ide-assists/src/handlers/replace_string_with_char.rs similarity index 100% rename from crates/ide_assists/src/handlers/replace_string_with_char.rs rename to crates/ide-assists/src/handlers/replace_string_with_char.rs diff --git a/crates/ide_assists/src/handlers/replace_try_expr_with_match.rs b/crates/ide-assists/src/handlers/replace_try_expr_with_match.rs similarity index 100% rename from crates/ide_assists/src/handlers/replace_try_expr_with_match.rs rename to crates/ide-assists/src/handlers/replace_try_expr_with_match.rs diff --git a/crates/ide_assists/src/handlers/replace_turbofish_with_explicit_type.rs b/crates/ide-assists/src/handlers/replace_turbofish_with_explicit_type.rs similarity index 100% rename from crates/ide_assists/src/handlers/replace_turbofish_with_explicit_type.rs rename to crates/ide-assists/src/handlers/replace_turbofish_with_explicit_type.rs diff --git a/crates/ide_assists/src/handlers/sort_items.rs b/crates/ide-assists/src/handlers/sort_items.rs similarity index 100% rename from crates/ide_assists/src/handlers/sort_items.rs rename to crates/ide-assists/src/handlers/sort_items.rs diff --git a/crates/ide_assists/src/handlers/split_import.rs b/crates/ide-assists/src/handlers/split_import.rs similarity index 100% rename from crates/ide_assists/src/handlers/split_import.rs rename to crates/ide-assists/src/handlers/split_import.rs diff --git a/crates/ide_assists/src/handlers/toggle_ignore.rs b/crates/ide-assists/src/handlers/toggle_ignore.rs similarity index 100% rename from crates/ide_assists/src/handlers/toggle_ignore.rs rename to crates/ide-assists/src/handlers/toggle_ignore.rs diff --git a/crates/ide_assists/src/handlers/unmerge_use.rs b/crates/ide-assists/src/handlers/unmerge_use.rs similarity index 100% rename from crates/ide_assists/src/handlers/unmerge_use.rs rename to crates/ide-assists/src/handlers/unmerge_use.rs diff --git a/crates/ide_assists/src/handlers/unnecessary_async.rs b/crates/ide-assists/src/handlers/unnecessary_async.rs similarity index 100% rename from crates/ide_assists/src/handlers/unnecessary_async.rs rename to crates/ide-assists/src/handlers/unnecessary_async.rs diff --git a/crates/ide_assists/src/handlers/unwrap_block.rs b/crates/ide-assists/src/handlers/unwrap_block.rs similarity index 100% rename from crates/ide_assists/src/handlers/unwrap_block.rs rename to crates/ide-assists/src/handlers/unwrap_block.rs diff --git a/crates/ide_assists/src/handlers/unwrap_result_return_type.rs b/crates/ide-assists/src/handlers/unwrap_result_return_type.rs similarity index 100% rename from crates/ide_assists/src/handlers/unwrap_result_return_type.rs rename to crates/ide-assists/src/handlers/unwrap_result_return_type.rs diff --git a/crates/ide_assists/src/handlers/wrap_return_type_in_result.rs b/crates/ide-assists/src/handlers/wrap_return_type_in_result.rs similarity index 100% rename from crates/ide_assists/src/handlers/wrap_return_type_in_result.rs rename to crates/ide-assists/src/handlers/wrap_return_type_in_result.rs diff --git a/crates/ide_assists/src/lib.rs b/crates/ide-assists/src/lib.rs similarity index 100% rename from crates/ide_assists/src/lib.rs rename to crates/ide-assists/src/lib.rs diff --git a/crates/ide_assists/src/tests.rs b/crates/ide-assists/src/tests.rs similarity index 100% rename from crates/ide_assists/src/tests.rs rename to crates/ide-assists/src/tests.rs diff --git a/crates/ide_assists/src/tests/generated.rs b/crates/ide-assists/src/tests/generated.rs similarity index 100% rename from crates/ide_assists/src/tests/generated.rs rename to crates/ide-assists/src/tests/generated.rs diff --git a/crates/ide_assists/src/tests/sourcegen.rs b/crates/ide-assists/src/tests/sourcegen.rs similarity index 100% rename from crates/ide_assists/src/tests/sourcegen.rs rename to crates/ide-assists/src/tests/sourcegen.rs diff --git a/crates/ide_assists/src/utils.rs b/crates/ide-assists/src/utils.rs similarity index 100% rename from crates/ide_assists/src/utils.rs rename to crates/ide-assists/src/utils.rs diff --git a/crates/ide_assists/src/utils/gen_trait_fn_body.rs b/crates/ide-assists/src/utils/gen_trait_fn_body.rs similarity index 100% rename from crates/ide_assists/src/utils/gen_trait_fn_body.rs rename to crates/ide-assists/src/utils/gen_trait_fn_body.rs diff --git a/crates/ide_assists/src/utils/suggest_name.rs b/crates/ide-assists/src/utils/suggest_name.rs similarity index 100% rename from crates/ide_assists/src/utils/suggest_name.rs rename to crates/ide-assists/src/utils/suggest_name.rs diff --git a/crates/ide_completion/Cargo.toml b/crates/ide-completion/Cargo.toml similarity index 66% rename from crates/ide_completion/Cargo.toml rename to crates/ide-completion/Cargo.toml index a82223ca900..4369e11bd71 100644 --- a/crates/ide_completion/Cargo.toml +++ b/crates/ide-completion/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "ide_completion" +name = "ide-completion" version = "0.0.0" description = "TBD" license = "MIT OR Apache-2.0" @@ -18,16 +18,16 @@ smallvec = "1.8.0" stdx = { path = "../stdx", version = "0.0.0" } syntax = { path = "../syntax", version = "0.0.0" } -text_edit = { path = "../text_edit", version = "0.0.0" } -base_db = { path = "../base_db", version = "0.0.0" } -ide_db = { path = "../ide_db", version = "0.0.0" } +text-edit = { path = "../text-edit", version = "0.0.0" } +base-db = { path = "../base-db", version = "0.0.0" } +ide-db = { path = "../ide-db", version = "0.0.0" } profile = { path = "../profile", version = "0.0.0" } # completions crate should depend only on the top-level `hir` package. if you need -# something from some `hir_xxx` subpackage, reexport the API via `hir`. +# something from some `hir-xxx` subpackage, reexport the API via `hir`. hir = { path = "../hir", version = "0.0.0" } [dev-dependencies] expect-test = "1.2.2" -test_utils = { path = "../test_utils" } +test-utils = { path = "../test-utils" } diff --git a/crates/ide_completion/src/completions.rs b/crates/ide-completion/src/completions.rs similarity index 100% rename from crates/ide_completion/src/completions.rs rename to crates/ide-completion/src/completions.rs diff --git a/crates/ide_completion/src/completions/attribute.rs b/crates/ide-completion/src/completions/attribute.rs similarity index 100% rename from crates/ide_completion/src/completions/attribute.rs rename to crates/ide-completion/src/completions/attribute.rs diff --git a/crates/ide_completion/src/completions/attribute/cfg.rs b/crates/ide-completion/src/completions/attribute/cfg.rs similarity index 100% rename from crates/ide_completion/src/completions/attribute/cfg.rs rename to crates/ide-completion/src/completions/attribute/cfg.rs diff --git a/crates/ide_completion/src/completions/attribute/derive.rs b/crates/ide-completion/src/completions/attribute/derive.rs similarity index 100% rename from crates/ide_completion/src/completions/attribute/derive.rs rename to crates/ide-completion/src/completions/attribute/derive.rs diff --git a/crates/ide_completion/src/completions/attribute/lint.rs b/crates/ide-completion/src/completions/attribute/lint.rs similarity index 100% rename from crates/ide_completion/src/completions/attribute/lint.rs rename to crates/ide-completion/src/completions/attribute/lint.rs diff --git a/crates/ide_completion/src/completions/attribute/repr.rs b/crates/ide-completion/src/completions/attribute/repr.rs similarity index 100% rename from crates/ide_completion/src/completions/attribute/repr.rs rename to crates/ide-completion/src/completions/attribute/repr.rs diff --git a/crates/ide_completion/src/completions/dot.rs b/crates/ide-completion/src/completions/dot.rs similarity index 100% rename from crates/ide_completion/src/completions/dot.rs rename to crates/ide-completion/src/completions/dot.rs diff --git a/crates/ide_completion/src/completions/extern_abi.rs b/crates/ide-completion/src/completions/extern_abi.rs similarity index 100% rename from crates/ide_completion/src/completions/extern_abi.rs rename to crates/ide-completion/src/completions/extern_abi.rs diff --git a/crates/ide_completion/src/completions/flyimport.rs b/crates/ide-completion/src/completions/flyimport.rs similarity index 100% rename from crates/ide_completion/src/completions/flyimport.rs rename to crates/ide-completion/src/completions/flyimport.rs diff --git a/crates/ide_completion/src/completions/fn_param.rs b/crates/ide-completion/src/completions/fn_param.rs similarity index 100% rename from crates/ide_completion/src/completions/fn_param.rs rename to crates/ide-completion/src/completions/fn_param.rs diff --git a/crates/ide_completion/src/completions/format_string.rs b/crates/ide-completion/src/completions/format_string.rs similarity index 100% rename from crates/ide_completion/src/completions/format_string.rs rename to crates/ide-completion/src/completions/format_string.rs diff --git a/crates/ide_completion/src/completions/keyword.rs b/crates/ide-completion/src/completions/keyword.rs similarity index 100% rename from crates/ide_completion/src/completions/keyword.rs rename to crates/ide-completion/src/completions/keyword.rs diff --git a/crates/ide_completion/src/completions/lifetime.rs b/crates/ide-completion/src/completions/lifetime.rs similarity index 100% rename from crates/ide_completion/src/completions/lifetime.rs rename to crates/ide-completion/src/completions/lifetime.rs diff --git a/crates/ide_completion/src/completions/mod_.rs b/crates/ide-completion/src/completions/mod_.rs similarity index 100% rename from crates/ide_completion/src/completions/mod_.rs rename to crates/ide-completion/src/completions/mod_.rs diff --git a/crates/ide_completion/src/completions/pattern.rs b/crates/ide-completion/src/completions/pattern.rs similarity index 100% rename from crates/ide_completion/src/completions/pattern.rs rename to crates/ide-completion/src/completions/pattern.rs diff --git a/crates/ide_completion/src/completions/postfix.rs b/crates/ide-completion/src/completions/postfix.rs similarity index 100% rename from crates/ide_completion/src/completions/postfix.rs rename to crates/ide-completion/src/completions/postfix.rs diff --git a/crates/ide_completion/src/completions/postfix/format_like.rs b/crates/ide-completion/src/completions/postfix/format_like.rs similarity index 100% rename from crates/ide_completion/src/completions/postfix/format_like.rs rename to crates/ide-completion/src/completions/postfix/format_like.rs diff --git a/crates/ide_completion/src/completions/qualified_path.rs b/crates/ide-completion/src/completions/qualified_path.rs similarity index 100% rename from crates/ide_completion/src/completions/qualified_path.rs rename to crates/ide-completion/src/completions/qualified_path.rs diff --git a/crates/ide_completion/src/completions/record.rs b/crates/ide-completion/src/completions/record.rs similarity index 100% rename from crates/ide_completion/src/completions/record.rs rename to crates/ide-completion/src/completions/record.rs diff --git a/crates/ide_completion/src/completions/snippet.rs b/crates/ide-completion/src/completions/snippet.rs similarity index 100% rename from crates/ide_completion/src/completions/snippet.rs rename to crates/ide-completion/src/completions/snippet.rs diff --git a/crates/ide_completion/src/completions/trait_impl.rs b/crates/ide-completion/src/completions/trait_impl.rs similarity index 100% rename from crates/ide_completion/src/completions/trait_impl.rs rename to crates/ide-completion/src/completions/trait_impl.rs diff --git a/crates/ide_completion/src/completions/unqualified_path.rs b/crates/ide-completion/src/completions/unqualified_path.rs similarity index 100% rename from crates/ide_completion/src/completions/unqualified_path.rs rename to crates/ide-completion/src/completions/unqualified_path.rs diff --git a/crates/ide_completion/src/completions/use_.rs b/crates/ide-completion/src/completions/use_.rs similarity index 100% rename from crates/ide_completion/src/completions/use_.rs rename to crates/ide-completion/src/completions/use_.rs diff --git a/crates/ide_completion/src/completions/vis.rs b/crates/ide-completion/src/completions/vis.rs similarity index 100% rename from crates/ide_completion/src/completions/vis.rs rename to crates/ide-completion/src/completions/vis.rs diff --git a/crates/ide_completion/src/config.rs b/crates/ide-completion/src/config.rs similarity index 100% rename from crates/ide_completion/src/config.rs rename to crates/ide-completion/src/config.rs diff --git a/crates/ide_completion/src/context.rs b/crates/ide-completion/src/context.rs similarity index 100% rename from crates/ide_completion/src/context.rs rename to crates/ide-completion/src/context.rs diff --git a/crates/ide_completion/src/item.rs b/crates/ide-completion/src/item.rs similarity index 100% rename from crates/ide_completion/src/item.rs rename to crates/ide-completion/src/item.rs diff --git a/crates/ide_completion/src/lib.rs b/crates/ide-completion/src/lib.rs similarity index 100% rename from crates/ide_completion/src/lib.rs rename to crates/ide-completion/src/lib.rs diff --git a/crates/ide_completion/src/patterns.rs b/crates/ide-completion/src/patterns.rs similarity index 100% rename from crates/ide_completion/src/patterns.rs rename to crates/ide-completion/src/patterns.rs diff --git a/crates/ide_completion/src/render.rs b/crates/ide-completion/src/render.rs similarity index 100% rename from crates/ide_completion/src/render.rs rename to crates/ide-completion/src/render.rs diff --git a/crates/ide_completion/src/render/const_.rs b/crates/ide-completion/src/render/const_.rs similarity index 100% rename from crates/ide_completion/src/render/const_.rs rename to crates/ide-completion/src/render/const_.rs diff --git a/crates/ide_completion/src/render/function.rs b/crates/ide-completion/src/render/function.rs similarity index 100% rename from crates/ide_completion/src/render/function.rs rename to crates/ide-completion/src/render/function.rs diff --git a/crates/ide_completion/src/render/literal.rs b/crates/ide-completion/src/render/literal.rs similarity index 100% rename from crates/ide_completion/src/render/literal.rs rename to crates/ide-completion/src/render/literal.rs diff --git a/crates/ide_completion/src/render/macro_.rs b/crates/ide-completion/src/render/macro_.rs similarity index 100% rename from crates/ide_completion/src/render/macro_.rs rename to crates/ide-completion/src/render/macro_.rs diff --git a/crates/ide_completion/src/render/pattern.rs b/crates/ide-completion/src/render/pattern.rs similarity index 100% rename from crates/ide_completion/src/render/pattern.rs rename to crates/ide-completion/src/render/pattern.rs diff --git a/crates/ide_completion/src/render/type_alias.rs b/crates/ide-completion/src/render/type_alias.rs similarity index 100% rename from crates/ide_completion/src/render/type_alias.rs rename to crates/ide-completion/src/render/type_alias.rs diff --git a/crates/ide_completion/src/render/union_literal.rs b/crates/ide-completion/src/render/union_literal.rs similarity index 100% rename from crates/ide_completion/src/render/union_literal.rs rename to crates/ide-completion/src/render/union_literal.rs diff --git a/crates/ide_completion/src/render/variant.rs b/crates/ide-completion/src/render/variant.rs similarity index 100% rename from crates/ide_completion/src/render/variant.rs rename to crates/ide-completion/src/render/variant.rs diff --git a/crates/ide_completion/src/snippet.rs b/crates/ide-completion/src/snippet.rs similarity index 100% rename from crates/ide_completion/src/snippet.rs rename to crates/ide-completion/src/snippet.rs diff --git a/crates/ide_completion/src/tests.rs b/crates/ide-completion/src/tests.rs similarity index 100% rename from crates/ide_completion/src/tests.rs rename to crates/ide-completion/src/tests.rs diff --git a/crates/ide_completion/src/tests/attribute.rs b/crates/ide-completion/src/tests/attribute.rs similarity index 100% rename from crates/ide_completion/src/tests/attribute.rs rename to crates/ide-completion/src/tests/attribute.rs diff --git a/crates/ide_completion/src/tests/expression.rs b/crates/ide-completion/src/tests/expression.rs similarity index 100% rename from crates/ide_completion/src/tests/expression.rs rename to crates/ide-completion/src/tests/expression.rs diff --git a/crates/ide_completion/src/tests/flyimport.rs b/crates/ide-completion/src/tests/flyimport.rs similarity index 100% rename from crates/ide_completion/src/tests/flyimport.rs rename to crates/ide-completion/src/tests/flyimport.rs diff --git a/crates/ide_completion/src/tests/fn_param.rs b/crates/ide-completion/src/tests/fn_param.rs similarity index 100% rename from crates/ide_completion/src/tests/fn_param.rs rename to crates/ide-completion/src/tests/fn_param.rs diff --git a/crates/ide_completion/src/tests/item.rs b/crates/ide-completion/src/tests/item.rs similarity index 100% rename from crates/ide_completion/src/tests/item.rs rename to crates/ide-completion/src/tests/item.rs diff --git a/crates/ide_completion/src/tests/item_list.rs b/crates/ide-completion/src/tests/item_list.rs similarity index 100% rename from crates/ide_completion/src/tests/item_list.rs rename to crates/ide-completion/src/tests/item_list.rs diff --git a/crates/ide_completion/src/tests/pattern.rs b/crates/ide-completion/src/tests/pattern.rs similarity index 100% rename from crates/ide_completion/src/tests/pattern.rs rename to crates/ide-completion/src/tests/pattern.rs diff --git a/crates/ide_completion/src/tests/predicate.rs b/crates/ide-completion/src/tests/predicate.rs similarity index 100% rename from crates/ide_completion/src/tests/predicate.rs rename to crates/ide-completion/src/tests/predicate.rs diff --git a/crates/ide_completion/src/tests/proc_macros.rs b/crates/ide-completion/src/tests/proc_macros.rs similarity index 100% rename from crates/ide_completion/src/tests/proc_macros.rs rename to crates/ide-completion/src/tests/proc_macros.rs diff --git a/crates/ide_completion/src/tests/record.rs b/crates/ide-completion/src/tests/record.rs similarity index 100% rename from crates/ide_completion/src/tests/record.rs rename to crates/ide-completion/src/tests/record.rs diff --git a/crates/ide_completion/src/tests/type_pos.rs b/crates/ide-completion/src/tests/type_pos.rs similarity index 100% rename from crates/ide_completion/src/tests/type_pos.rs rename to crates/ide-completion/src/tests/type_pos.rs diff --git a/crates/ide_completion/src/tests/use_tree.rs b/crates/ide-completion/src/tests/use_tree.rs similarity index 100% rename from crates/ide_completion/src/tests/use_tree.rs rename to crates/ide-completion/src/tests/use_tree.rs diff --git a/crates/ide_completion/src/tests/visibility.rs b/crates/ide-completion/src/tests/visibility.rs similarity index 100% rename from crates/ide_completion/src/tests/visibility.rs rename to crates/ide-completion/src/tests/visibility.rs diff --git a/crates/ide_db/Cargo.toml b/crates/ide-db/Cargo.toml similarity index 78% rename from crates/ide_db/Cargo.toml rename to crates/ide-db/Cargo.toml index 8c4fe95de18..c5f0cb3c014 100644 --- a/crates/ide_db/Cargo.toml +++ b/crates/ide-db/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "ide_db" +name = "ide-db" version = "0.0.0" description = "TBD" license = "MIT OR Apache-2.0" @@ -24,16 +24,16 @@ indexmap = "1.8.0" stdx = { path = "../stdx", version = "0.0.0" } parser = { path = "../parser", version = "0.0.0" } syntax = { path = "../syntax", version = "0.0.0" } -text_edit = { path = "../text_edit", version = "0.0.0" } -base_db = { path = "../base_db", version = "0.0.0" } +text-edit = { path = "../text-edit", version = "0.0.0" } +base-db = { path = "../base-db", version = "0.0.0" } profile = { path = "../profile", version = "0.0.0" } # ide should depend only on the top-level `hir` package. if you need -# something from some `hir_xxx` subpackage, reexport the API via `hir`. +# something from some `hir-xxx` subpackage, reexport the API via `hir`. hir = { path = "../hir", version = "0.0.0" } limit = { path = "../limit", version = "0.0.0" } [dev-dependencies] -test_utils = { path = "../test_utils" } +test-utils = { path = "../test-utils" } sourcegen = { path = "../sourcegen" } xshell = "0.2.1" expect-test = "1.2.2" diff --git a/crates/ide_db/src/active_parameter.rs b/crates/ide-db/src/active_parameter.rs similarity index 100% rename from crates/ide_db/src/active_parameter.rs rename to crates/ide-db/src/active_parameter.rs diff --git a/crates/ide_db/src/apply_change.rs b/crates/ide-db/src/apply_change.rs similarity index 100% rename from crates/ide_db/src/apply_change.rs rename to crates/ide-db/src/apply_change.rs diff --git a/crates/ide_db/src/assists.rs b/crates/ide-db/src/assists.rs similarity index 100% rename from crates/ide_db/src/assists.rs rename to crates/ide-db/src/assists.rs diff --git a/crates/ide_db/src/defs.rs b/crates/ide-db/src/defs.rs similarity index 100% rename from crates/ide_db/src/defs.rs rename to crates/ide-db/src/defs.rs diff --git a/crates/ide_db/src/famous_defs.rs b/crates/ide-db/src/famous_defs.rs similarity index 100% rename from crates/ide_db/src/famous_defs.rs rename to crates/ide-db/src/famous_defs.rs diff --git a/crates/ide_db/src/generated/lints.rs b/crates/ide-db/src/generated/lints.rs similarity index 100% rename from crates/ide_db/src/generated/lints.rs rename to crates/ide-db/src/generated/lints.rs diff --git a/crates/ide_db/src/helpers.rs b/crates/ide-db/src/helpers.rs similarity index 100% rename from crates/ide_db/src/helpers.rs rename to crates/ide-db/src/helpers.rs diff --git a/crates/ide_db/src/imports/import_assets.rs b/crates/ide-db/src/imports/import_assets.rs similarity index 100% rename from crates/ide_db/src/imports/import_assets.rs rename to crates/ide-db/src/imports/import_assets.rs diff --git a/crates/ide_db/src/imports/insert_use.rs b/crates/ide-db/src/imports/insert_use.rs similarity index 100% rename from crates/ide_db/src/imports/insert_use.rs rename to crates/ide-db/src/imports/insert_use.rs diff --git a/crates/ide_db/src/imports/insert_use/tests.rs b/crates/ide-db/src/imports/insert_use/tests.rs similarity index 100% rename from crates/ide_db/src/imports/insert_use/tests.rs rename to crates/ide-db/src/imports/insert_use/tests.rs diff --git a/crates/ide_db/src/imports/merge_imports.rs b/crates/ide-db/src/imports/merge_imports.rs similarity index 100% rename from crates/ide_db/src/imports/merge_imports.rs rename to crates/ide-db/src/imports/merge_imports.rs diff --git a/crates/ide_db/src/items_locator.rs b/crates/ide-db/src/items_locator.rs similarity index 100% rename from crates/ide_db/src/items_locator.rs rename to crates/ide-db/src/items_locator.rs diff --git a/crates/ide_db/src/label.rs b/crates/ide-db/src/label.rs similarity index 100% rename from crates/ide_db/src/label.rs rename to crates/ide-db/src/label.rs diff --git a/crates/ide_db/src/lib.rs b/crates/ide-db/src/lib.rs similarity index 100% rename from crates/ide_db/src/lib.rs rename to crates/ide-db/src/lib.rs diff --git a/crates/ide_db/src/line_index.rs b/crates/ide-db/src/line_index.rs similarity index 100% rename from crates/ide_db/src/line_index.rs rename to crates/ide-db/src/line_index.rs diff --git a/crates/ide_db/src/path_transform.rs b/crates/ide-db/src/path_transform.rs similarity index 100% rename from crates/ide_db/src/path_transform.rs rename to crates/ide-db/src/path_transform.rs diff --git a/crates/ide_db/src/rename.rs b/crates/ide-db/src/rename.rs similarity index 100% rename from crates/ide_db/src/rename.rs rename to crates/ide-db/src/rename.rs diff --git a/crates/ide_db/src/rust_doc.rs b/crates/ide-db/src/rust_doc.rs similarity index 100% rename from crates/ide_db/src/rust_doc.rs rename to crates/ide-db/src/rust_doc.rs diff --git a/crates/ide_db/src/search.rs b/crates/ide-db/src/search.rs similarity index 100% rename from crates/ide_db/src/search.rs rename to crates/ide-db/src/search.rs diff --git a/crates/ide_db/src/source_change.rs b/crates/ide-db/src/source_change.rs similarity index 100% rename from crates/ide_db/src/source_change.rs rename to crates/ide-db/src/source_change.rs diff --git a/crates/ide_db/src/symbol_index.rs b/crates/ide-db/src/symbol_index.rs similarity index 100% rename from crates/ide_db/src/symbol_index.rs rename to crates/ide-db/src/symbol_index.rs diff --git a/crates/ide_db/src/syntax_helpers/format_string.rs b/crates/ide-db/src/syntax_helpers/format_string.rs similarity index 100% rename from crates/ide_db/src/syntax_helpers/format_string.rs rename to crates/ide-db/src/syntax_helpers/format_string.rs diff --git a/crates/ide_db/src/syntax_helpers/insert_whitespace_into_node.rs b/crates/ide-db/src/syntax_helpers/insert_whitespace_into_node.rs similarity index 100% rename from crates/ide_db/src/syntax_helpers/insert_whitespace_into_node.rs rename to crates/ide-db/src/syntax_helpers/insert_whitespace_into_node.rs diff --git a/crates/ide_db/src/syntax_helpers/node_ext.rs b/crates/ide-db/src/syntax_helpers/node_ext.rs similarity index 100% rename from crates/ide_db/src/syntax_helpers/node_ext.rs rename to crates/ide-db/src/syntax_helpers/node_ext.rs diff --git a/crates/ide_db/src/test_data/test_symbol_index_collection.txt b/crates/ide-db/src/test_data/test_symbol_index_collection.txt similarity index 100% rename from crates/ide_db/src/test_data/test_symbol_index_collection.txt rename to crates/ide-db/src/test_data/test_symbol_index_collection.txt diff --git a/crates/ide_db/src/tests/sourcegen_lints.rs b/crates/ide-db/src/tests/sourcegen_lints.rs similarity index 100% rename from crates/ide_db/src/tests/sourcegen_lints.rs rename to crates/ide-db/src/tests/sourcegen_lints.rs diff --git a/crates/ide_db/src/traits.rs b/crates/ide-db/src/traits.rs similarity index 100% rename from crates/ide_db/src/traits.rs rename to crates/ide-db/src/traits.rs diff --git a/crates/ide_db/src/ty_filter.rs b/crates/ide-db/src/ty_filter.rs similarity index 100% rename from crates/ide_db/src/ty_filter.rs rename to crates/ide-db/src/ty_filter.rs diff --git a/crates/ide_diagnostics/Cargo.toml b/crates/ide-diagnostics/Cargo.toml similarity index 75% rename from crates/ide_diagnostics/Cargo.toml rename to crates/ide-diagnostics/Cargo.toml index 20bd4a2ed24..f59da69dfb1 100644 --- a/crates/ide_diagnostics/Cargo.toml +++ b/crates/ide-diagnostics/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "ide_diagnostics" +name = "ide-diagnostics" version = "0.0.0" description = "TBD" license = "MIT OR Apache-2.0" @@ -19,13 +19,13 @@ either = "1.6.1" profile = { path = "../profile", version = "0.0.0" } stdx = { path = "../stdx", version = "0.0.0" } syntax = { path = "../syntax", version = "0.0.0" } -text_edit = { path = "../text_edit", version = "0.0.0" } +text-edit = { path = "../text-edit", version = "0.0.0" } cfg = { path = "../cfg", version = "0.0.0" } hir = { path = "../hir", version = "0.0.0" } -ide_db = { path = "../ide_db", version = "0.0.0" } +ide-db = { path = "../ide-db", version = "0.0.0" } [dev-dependencies] expect-test = "1.2.2" -test_utils = { path = "../test_utils" } +test-utils = { path = "../test-utils" } sourcegen = { path = "../sourcegen" } diff --git a/crates/ide_diagnostics/src/handlers/break_outside_of_loop.rs b/crates/ide-diagnostics/src/handlers/break_outside_of_loop.rs similarity index 100% rename from crates/ide_diagnostics/src/handlers/break_outside_of_loop.rs rename to crates/ide-diagnostics/src/handlers/break_outside_of_loop.rs diff --git a/crates/ide_diagnostics/src/handlers/field_shorthand.rs b/crates/ide-diagnostics/src/handlers/field_shorthand.rs similarity index 100% rename from crates/ide_diagnostics/src/handlers/field_shorthand.rs rename to crates/ide-diagnostics/src/handlers/field_shorthand.rs diff --git a/crates/ide_diagnostics/src/handlers/inactive_code.rs b/crates/ide-diagnostics/src/handlers/inactive_code.rs similarity index 100% rename from crates/ide_diagnostics/src/handlers/inactive_code.rs rename to crates/ide-diagnostics/src/handlers/inactive_code.rs diff --git a/crates/ide_diagnostics/src/handlers/incorrect_case.rs b/crates/ide-diagnostics/src/handlers/incorrect_case.rs similarity index 100% rename from crates/ide_diagnostics/src/handlers/incorrect_case.rs rename to crates/ide-diagnostics/src/handlers/incorrect_case.rs diff --git a/crates/ide_diagnostics/src/handlers/invalid_derive_target.rs b/crates/ide-diagnostics/src/handlers/invalid_derive_target.rs similarity index 100% rename from crates/ide_diagnostics/src/handlers/invalid_derive_target.rs rename to crates/ide-diagnostics/src/handlers/invalid_derive_target.rs diff --git a/crates/ide_diagnostics/src/handlers/macro_error.rs b/crates/ide-diagnostics/src/handlers/macro_error.rs similarity index 100% rename from crates/ide_diagnostics/src/handlers/macro_error.rs rename to crates/ide-diagnostics/src/handlers/macro_error.rs diff --git a/crates/ide_diagnostics/src/handlers/malformed_derive.rs b/crates/ide-diagnostics/src/handlers/malformed_derive.rs similarity index 100% rename from crates/ide_diagnostics/src/handlers/malformed_derive.rs rename to crates/ide-diagnostics/src/handlers/malformed_derive.rs diff --git a/crates/ide_diagnostics/src/handlers/mismatched_arg_count.rs b/crates/ide-diagnostics/src/handlers/mismatched_arg_count.rs similarity index 100% rename from crates/ide_diagnostics/src/handlers/mismatched_arg_count.rs rename to crates/ide-diagnostics/src/handlers/mismatched_arg_count.rs diff --git a/crates/ide_diagnostics/src/handlers/missing_fields.rs b/crates/ide-diagnostics/src/handlers/missing_fields.rs similarity index 100% rename from crates/ide_diagnostics/src/handlers/missing_fields.rs rename to crates/ide-diagnostics/src/handlers/missing_fields.rs diff --git a/crates/ide_diagnostics/src/handlers/missing_match_arms.rs b/crates/ide-diagnostics/src/handlers/missing_match_arms.rs similarity index 100% rename from crates/ide_diagnostics/src/handlers/missing_match_arms.rs rename to crates/ide-diagnostics/src/handlers/missing_match_arms.rs diff --git a/crates/ide_diagnostics/src/handlers/missing_unsafe.rs b/crates/ide-diagnostics/src/handlers/missing_unsafe.rs similarity index 100% rename from crates/ide_diagnostics/src/handlers/missing_unsafe.rs rename to crates/ide-diagnostics/src/handlers/missing_unsafe.rs diff --git a/crates/ide_diagnostics/src/handlers/no_such_field.rs b/crates/ide-diagnostics/src/handlers/no_such_field.rs similarity index 100% rename from crates/ide_diagnostics/src/handlers/no_such_field.rs rename to crates/ide-diagnostics/src/handlers/no_such_field.rs diff --git a/crates/ide_diagnostics/src/handlers/replace_filter_map_next_with_find_map.rs b/crates/ide-diagnostics/src/handlers/replace_filter_map_next_with_find_map.rs similarity index 100% rename from crates/ide_diagnostics/src/handlers/replace_filter_map_next_with_find_map.rs rename to crates/ide-diagnostics/src/handlers/replace_filter_map_next_with_find_map.rs diff --git a/crates/ide_diagnostics/src/handlers/type_mismatch.rs b/crates/ide-diagnostics/src/handlers/type_mismatch.rs similarity index 100% rename from crates/ide_diagnostics/src/handlers/type_mismatch.rs rename to crates/ide-diagnostics/src/handlers/type_mismatch.rs diff --git a/crates/ide_diagnostics/src/handlers/unimplemented_builtin_macro.rs b/crates/ide-diagnostics/src/handlers/unimplemented_builtin_macro.rs similarity index 100% rename from crates/ide_diagnostics/src/handlers/unimplemented_builtin_macro.rs rename to crates/ide-diagnostics/src/handlers/unimplemented_builtin_macro.rs diff --git a/crates/ide_diagnostics/src/handlers/unlinked_file.rs b/crates/ide-diagnostics/src/handlers/unlinked_file.rs similarity index 100% rename from crates/ide_diagnostics/src/handlers/unlinked_file.rs rename to crates/ide-diagnostics/src/handlers/unlinked_file.rs diff --git a/crates/ide_diagnostics/src/handlers/unresolved_extern_crate.rs b/crates/ide-diagnostics/src/handlers/unresolved_extern_crate.rs similarity index 100% rename from crates/ide_diagnostics/src/handlers/unresolved_extern_crate.rs rename to crates/ide-diagnostics/src/handlers/unresolved_extern_crate.rs diff --git a/crates/ide_diagnostics/src/handlers/unresolved_import.rs b/crates/ide-diagnostics/src/handlers/unresolved_import.rs similarity index 100% rename from crates/ide_diagnostics/src/handlers/unresolved_import.rs rename to crates/ide-diagnostics/src/handlers/unresolved_import.rs diff --git a/crates/ide_diagnostics/src/handlers/unresolved_macro_call.rs b/crates/ide-diagnostics/src/handlers/unresolved_macro_call.rs similarity index 100% rename from crates/ide_diagnostics/src/handlers/unresolved_macro_call.rs rename to crates/ide-diagnostics/src/handlers/unresolved_macro_call.rs diff --git a/crates/ide_diagnostics/src/handlers/unresolved_module.rs b/crates/ide-diagnostics/src/handlers/unresolved_module.rs similarity index 100% rename from crates/ide_diagnostics/src/handlers/unresolved_module.rs rename to crates/ide-diagnostics/src/handlers/unresolved_module.rs diff --git a/crates/ide_diagnostics/src/handlers/unresolved_proc_macro.rs b/crates/ide-diagnostics/src/handlers/unresolved_proc_macro.rs similarity index 100% rename from crates/ide_diagnostics/src/handlers/unresolved_proc_macro.rs rename to crates/ide-diagnostics/src/handlers/unresolved_proc_macro.rs diff --git a/crates/ide_diagnostics/src/handlers/useless_braces.rs b/crates/ide-diagnostics/src/handlers/useless_braces.rs similarity index 100% rename from crates/ide_diagnostics/src/handlers/useless_braces.rs rename to crates/ide-diagnostics/src/handlers/useless_braces.rs diff --git a/crates/ide_diagnostics/src/lib.rs b/crates/ide-diagnostics/src/lib.rs similarity index 100% rename from crates/ide_diagnostics/src/lib.rs rename to crates/ide-diagnostics/src/lib.rs diff --git a/crates/ide_diagnostics/src/tests.rs b/crates/ide-diagnostics/src/tests.rs similarity index 100% rename from crates/ide_diagnostics/src/tests.rs rename to crates/ide-diagnostics/src/tests.rs diff --git a/crates/ide_diagnostics/src/tests/sourcegen.rs b/crates/ide-diagnostics/src/tests/sourcegen.rs similarity index 100% rename from crates/ide_diagnostics/src/tests/sourcegen.rs rename to crates/ide-diagnostics/src/tests/sourcegen.rs diff --git a/crates/ide_ssr/Cargo.toml b/crates/ide-ssr/Cargo.toml similarity index 74% rename from crates/ide_ssr/Cargo.toml rename to crates/ide-ssr/Cargo.toml index a736b900ecb..a6ffa51b4e0 100644 --- a/crates/ide_ssr/Cargo.toml +++ b/crates/ide-ssr/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "ide_ssr" +name = "ide-ssr" version = "0.0.0" description = "Structural search and replace of Rust code" license = "MIT OR Apache-2.0" @@ -15,12 +15,12 @@ cov-mark = "2.0.0-pre.1" itertools = "0.10.3" -text_edit = { path = "../text_edit", version = "0.0.0" } +text-edit = { path = "../text-edit", version = "0.0.0" } parser = { path = "../parser", version = "0.0.0" } syntax = { path = "../syntax", version = "0.0.0" } -ide_db = { path = "../ide_db", version = "0.0.0" } +ide-db = { path = "../ide-db", version = "0.0.0" } hir = { path = "../hir", version = "0.0.0" } [dev-dependencies] -test_utils = { path = "../test_utils" } +test-utils = { path = "../test-utils" } expect-test = "1.2.2" diff --git a/crates/ide_ssr/src/errors.rs b/crates/ide-ssr/src/errors.rs similarity index 100% rename from crates/ide_ssr/src/errors.rs rename to crates/ide-ssr/src/errors.rs diff --git a/crates/ide_ssr/src/fragments.rs b/crates/ide-ssr/src/fragments.rs similarity index 100% rename from crates/ide_ssr/src/fragments.rs rename to crates/ide-ssr/src/fragments.rs diff --git a/crates/ide_ssr/src/from_comment.rs b/crates/ide-ssr/src/from_comment.rs similarity index 100% rename from crates/ide_ssr/src/from_comment.rs rename to crates/ide-ssr/src/from_comment.rs diff --git a/crates/ide_ssr/src/lib.rs b/crates/ide-ssr/src/lib.rs similarity index 100% rename from crates/ide_ssr/src/lib.rs rename to crates/ide-ssr/src/lib.rs diff --git a/crates/ide_ssr/src/matching.rs b/crates/ide-ssr/src/matching.rs similarity index 100% rename from crates/ide_ssr/src/matching.rs rename to crates/ide-ssr/src/matching.rs diff --git a/crates/ide_ssr/src/nester.rs b/crates/ide-ssr/src/nester.rs similarity index 100% rename from crates/ide_ssr/src/nester.rs rename to crates/ide-ssr/src/nester.rs diff --git a/crates/ide_ssr/src/parsing.rs b/crates/ide-ssr/src/parsing.rs similarity index 100% rename from crates/ide_ssr/src/parsing.rs rename to crates/ide-ssr/src/parsing.rs diff --git a/crates/ide_ssr/src/replacing.rs b/crates/ide-ssr/src/replacing.rs similarity index 100% rename from crates/ide_ssr/src/replacing.rs rename to crates/ide-ssr/src/replacing.rs diff --git a/crates/ide_ssr/src/resolving.rs b/crates/ide-ssr/src/resolving.rs similarity index 100% rename from crates/ide_ssr/src/resolving.rs rename to crates/ide-ssr/src/resolving.rs diff --git a/crates/ide_ssr/src/search.rs b/crates/ide-ssr/src/search.rs similarity index 100% rename from crates/ide_ssr/src/search.rs rename to crates/ide-ssr/src/search.rs diff --git a/crates/ide_ssr/src/tests.rs b/crates/ide-ssr/src/tests.rs similarity index 100% rename from crates/ide_ssr/src/tests.rs rename to crates/ide-ssr/src/tests.rs diff --git a/crates/ide/Cargo.toml b/crates/ide/Cargo.toml index f8bb1e4c015..23cd0f64433 100644 --- a/crates/ide/Cargo.toml +++ b/crates/ide/Cargo.toml @@ -23,22 +23,22 @@ dot = "0.1.4" stdx = { path = "../stdx", version = "0.0.0" } syntax = { path = "../syntax", version = "0.0.0" } -text_edit = { path = "../text_edit", version = "0.0.0" } -ide_db = { path = "../ide_db", version = "0.0.0" } +text-edit = { path = "../text-edit", version = "0.0.0" } +ide-db = { path = "../ide-db", version = "0.0.0" } cfg = { path = "../cfg", version = "0.0.0" } profile = { path = "../profile", version = "0.0.0" } -ide_assists = { path = "../ide_assists", version = "0.0.0" } -ide_diagnostics = { path = "../ide_diagnostics", version = "0.0.0" } -ide_ssr = { path = "../ide_ssr", version = "0.0.0" } -ide_completion = { path = "../ide_completion", version = "0.0.0" } +ide-assists = { path = "../ide-assists", version = "0.0.0" } +ide-diagnostics = { path = "../ide-diagnostics", version = "0.0.0" } +ide-ssr = { path = "../ide-ssr", version = "0.0.0" } +ide-completion = { path = "../ide-completion", version = "0.0.0" } # ide should depend only on the top-level `hir` package. if you need -# something from some `hir_xxx` subpackage, reexport the API via `hir`. +# something from some `hir-xxx` subpackage, reexport the API via `hir`. hir = { path = "../hir", version = "0.0.0" } [target.'cfg(not(any(target_arch = "wasm32", target_os = "emscripten")))'.dependencies] toolchain = { path = "../toolchain", version = "0.0.0" } [dev-dependencies] -test_utils = { path = "../test_utils" } +test-utils = { path = "../test-utils" } expect-test = "1.2.2" diff --git a/crates/mbe/Cargo.toml b/crates/mbe/Cargo.toml index 1453ec4c690..d6d15dd19d8 100644 --- a/crates/mbe/Cargo.toml +++ b/crates/mbe/Cargo.toml @@ -21,4 +21,4 @@ tt = { path = "../tt", version = "0.0.0" } stdx = { path = "../stdx", version = "0.0.0" } [dev-dependencies] -test_utils = { path = "../test_utils" } +test-utils = { path = "../test-utils" } diff --git a/crates/proc_macro_api/Cargo.toml b/crates/proc-macro-api/Cargo.toml similarity index 90% rename from crates/proc_macro_api/Cargo.toml rename to crates/proc-macro-api/Cargo.toml index 000c23dab61..df2cbcaf307 100644 --- a/crates/proc_macro_api/Cargo.toml +++ b/crates/proc-macro-api/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "proc_macro_api" +name = "proc-macro-api" version = "0.0.0" description = "TBD" license = "MIT OR Apache-2.0" @@ -28,4 +28,4 @@ tt = { path = "../tt", version = "0.0.0" } stdx = { path = "../stdx", version = "0.0.0" } profile = { path = "../profile", version = "0.0.0" } # Intentionally *not* depend on anything salsa-related -# base_db = { path = "../base_db", version = "0.0.0" } +# base-db = { path = "../base-db", version = "0.0.0" } diff --git a/crates/proc_macro_api/src/lib.rs b/crates/proc-macro-api/src/lib.rs similarity index 100% rename from crates/proc_macro_api/src/lib.rs rename to crates/proc-macro-api/src/lib.rs diff --git a/crates/proc_macro_api/src/msg.rs b/crates/proc-macro-api/src/msg.rs similarity index 100% rename from crates/proc_macro_api/src/msg.rs rename to crates/proc-macro-api/src/msg.rs diff --git a/crates/proc_macro_api/src/msg/flat.rs b/crates/proc-macro-api/src/msg/flat.rs similarity index 100% rename from crates/proc_macro_api/src/msg/flat.rs rename to crates/proc-macro-api/src/msg/flat.rs diff --git a/crates/proc_macro_api/src/process.rs b/crates/proc-macro-api/src/process.rs similarity index 100% rename from crates/proc_macro_api/src/process.rs rename to crates/proc-macro-api/src/process.rs diff --git a/crates/proc_macro_api/src/version.rs b/crates/proc-macro-api/src/version.rs similarity index 100% rename from crates/proc_macro_api/src/version.rs rename to crates/proc-macro-api/src/version.rs diff --git a/crates/proc_macro_srv/Cargo.toml b/crates/proc-macro-srv/Cargo.toml similarity index 79% rename from crates/proc_macro_srv/Cargo.toml rename to crates/proc-macro-srv/Cargo.toml index 381d241b86a..01bc8878bb1 100644 --- a/crates/proc_macro_srv/Cargo.toml +++ b/crates/proc-macro-srv/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "proc_macro_srv" +name = "proc-macro-srv" version = "0.0.0" description = "TBD" license = "MIT OR Apache-2.0" @@ -23,10 +23,10 @@ memmap2 = "0.5.3" tt = { path = "../tt", version = "0.0.0" } mbe = { path = "../mbe", version = "0.0.0" } paths = { path = "../paths", version = "0.0.0" } -proc_macro_api = { path = "../proc_macro_api", version = "0.0.0" } +proc-macro-api = { path = "../proc-macro-api", version = "0.0.0" } [dev-dependencies] expect-test = "1.2.2" # used as proc macro test targets -proc_macro_test = { path = "../proc_macro_test" } +proc-macro-test = { path = "../proc-macro-test" } diff --git a/crates/proc_macro_srv/src/abis/abi_1_48/mod.rs b/crates/proc-macro-srv/src/abis/abi_1_48/mod.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_48/mod.rs rename to crates/proc-macro-srv/src/abis/abi_1_48/mod.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_48/proc_macro/bridge/buffer.rs b/crates/proc-macro-srv/src/abis/abi_1_48/proc_macro/bridge/buffer.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_48/proc_macro/bridge/buffer.rs rename to crates/proc-macro-srv/src/abis/abi_1_48/proc_macro/bridge/buffer.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_48/proc_macro/bridge/client.rs b/crates/proc-macro-srv/src/abis/abi_1_48/proc_macro/bridge/client.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_48/proc_macro/bridge/client.rs rename to crates/proc-macro-srv/src/abis/abi_1_48/proc_macro/bridge/client.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_48/proc_macro/bridge/closure.rs b/crates/proc-macro-srv/src/abis/abi_1_48/proc_macro/bridge/closure.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_48/proc_macro/bridge/closure.rs rename to crates/proc-macro-srv/src/abis/abi_1_48/proc_macro/bridge/closure.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_48/proc_macro/bridge/handle.rs b/crates/proc-macro-srv/src/abis/abi_1_48/proc_macro/bridge/handle.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_48/proc_macro/bridge/handle.rs rename to crates/proc-macro-srv/src/abis/abi_1_48/proc_macro/bridge/handle.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_48/proc_macro/bridge/mod.rs b/crates/proc-macro-srv/src/abis/abi_1_48/proc_macro/bridge/mod.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_48/proc_macro/bridge/mod.rs rename to crates/proc-macro-srv/src/abis/abi_1_48/proc_macro/bridge/mod.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_48/proc_macro/bridge/rpc.rs b/crates/proc-macro-srv/src/abis/abi_1_48/proc_macro/bridge/rpc.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_48/proc_macro/bridge/rpc.rs rename to crates/proc-macro-srv/src/abis/abi_1_48/proc_macro/bridge/rpc.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_48/proc_macro/bridge/scoped_cell.rs b/crates/proc-macro-srv/src/abis/abi_1_48/proc_macro/bridge/scoped_cell.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_48/proc_macro/bridge/scoped_cell.rs rename to crates/proc-macro-srv/src/abis/abi_1_48/proc_macro/bridge/scoped_cell.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_48/proc_macro/bridge/server.rs b/crates/proc-macro-srv/src/abis/abi_1_48/proc_macro/bridge/server.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_48/proc_macro/bridge/server.rs rename to crates/proc-macro-srv/src/abis/abi_1_48/proc_macro/bridge/server.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_48/proc_macro/diagnostic.rs b/crates/proc-macro-srv/src/abis/abi_1_48/proc_macro/diagnostic.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_48/proc_macro/diagnostic.rs rename to crates/proc-macro-srv/src/abis/abi_1_48/proc_macro/diagnostic.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_48/proc_macro/mod.rs b/crates/proc-macro-srv/src/abis/abi_1_48/proc_macro/mod.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_48/proc_macro/mod.rs rename to crates/proc-macro-srv/src/abis/abi_1_48/proc_macro/mod.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_48/rustc_server.rs b/crates/proc-macro-srv/src/abis/abi_1_48/rustc_server.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_48/rustc_server.rs rename to crates/proc-macro-srv/src/abis/abi_1_48/rustc_server.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_54/mod.rs b/crates/proc-macro-srv/src/abis/abi_1_54/mod.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_54/mod.rs rename to crates/proc-macro-srv/src/abis/abi_1_54/mod.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_54/proc_macro/bridge/buffer.rs b/crates/proc-macro-srv/src/abis/abi_1_54/proc_macro/bridge/buffer.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_54/proc_macro/bridge/buffer.rs rename to crates/proc-macro-srv/src/abis/abi_1_54/proc_macro/bridge/buffer.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_54/proc_macro/bridge/client.rs b/crates/proc-macro-srv/src/abis/abi_1_54/proc_macro/bridge/client.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_54/proc_macro/bridge/client.rs rename to crates/proc-macro-srv/src/abis/abi_1_54/proc_macro/bridge/client.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_54/proc_macro/bridge/closure.rs b/crates/proc-macro-srv/src/abis/abi_1_54/proc_macro/bridge/closure.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_54/proc_macro/bridge/closure.rs rename to crates/proc-macro-srv/src/abis/abi_1_54/proc_macro/bridge/closure.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_54/proc_macro/bridge/handle.rs b/crates/proc-macro-srv/src/abis/abi_1_54/proc_macro/bridge/handle.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_54/proc_macro/bridge/handle.rs rename to crates/proc-macro-srv/src/abis/abi_1_54/proc_macro/bridge/handle.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_54/proc_macro/bridge/mod.rs b/crates/proc-macro-srv/src/abis/abi_1_54/proc_macro/bridge/mod.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_54/proc_macro/bridge/mod.rs rename to crates/proc-macro-srv/src/abis/abi_1_54/proc_macro/bridge/mod.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_54/proc_macro/bridge/rpc.rs b/crates/proc-macro-srv/src/abis/abi_1_54/proc_macro/bridge/rpc.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_54/proc_macro/bridge/rpc.rs rename to crates/proc-macro-srv/src/abis/abi_1_54/proc_macro/bridge/rpc.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_54/proc_macro/bridge/scoped_cell.rs b/crates/proc-macro-srv/src/abis/abi_1_54/proc_macro/bridge/scoped_cell.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_54/proc_macro/bridge/scoped_cell.rs rename to crates/proc-macro-srv/src/abis/abi_1_54/proc_macro/bridge/scoped_cell.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_54/proc_macro/bridge/server.rs b/crates/proc-macro-srv/src/abis/abi_1_54/proc_macro/bridge/server.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_54/proc_macro/bridge/server.rs rename to crates/proc-macro-srv/src/abis/abi_1_54/proc_macro/bridge/server.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_54/proc_macro/diagnostic.rs b/crates/proc-macro-srv/src/abis/abi_1_54/proc_macro/diagnostic.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_54/proc_macro/diagnostic.rs rename to crates/proc-macro-srv/src/abis/abi_1_54/proc_macro/diagnostic.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_54/proc_macro/mod.rs b/crates/proc-macro-srv/src/abis/abi_1_54/proc_macro/mod.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_54/proc_macro/mod.rs rename to crates/proc-macro-srv/src/abis/abi_1_54/proc_macro/mod.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_54/rustc_server.rs b/crates/proc-macro-srv/src/abis/abi_1_54/rustc_server.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_54/rustc_server.rs rename to crates/proc-macro-srv/src/abis/abi_1_54/rustc_server.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_56/mod.rs b/crates/proc-macro-srv/src/abis/abi_1_56/mod.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_56/mod.rs rename to crates/proc-macro-srv/src/abis/abi_1_56/mod.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_56/proc_macro/bridge/buffer.rs b/crates/proc-macro-srv/src/abis/abi_1_56/proc_macro/bridge/buffer.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_56/proc_macro/bridge/buffer.rs rename to crates/proc-macro-srv/src/abis/abi_1_56/proc_macro/bridge/buffer.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_56/proc_macro/bridge/client.rs b/crates/proc-macro-srv/src/abis/abi_1_56/proc_macro/bridge/client.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_56/proc_macro/bridge/client.rs rename to crates/proc-macro-srv/src/abis/abi_1_56/proc_macro/bridge/client.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_56/proc_macro/bridge/closure.rs b/crates/proc-macro-srv/src/abis/abi_1_56/proc_macro/bridge/closure.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_56/proc_macro/bridge/closure.rs rename to crates/proc-macro-srv/src/abis/abi_1_56/proc_macro/bridge/closure.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_56/proc_macro/bridge/handle.rs b/crates/proc-macro-srv/src/abis/abi_1_56/proc_macro/bridge/handle.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_56/proc_macro/bridge/handle.rs rename to crates/proc-macro-srv/src/abis/abi_1_56/proc_macro/bridge/handle.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_56/proc_macro/bridge/mod.rs b/crates/proc-macro-srv/src/abis/abi_1_56/proc_macro/bridge/mod.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_56/proc_macro/bridge/mod.rs rename to crates/proc-macro-srv/src/abis/abi_1_56/proc_macro/bridge/mod.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_56/proc_macro/bridge/rpc.rs b/crates/proc-macro-srv/src/abis/abi_1_56/proc_macro/bridge/rpc.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_56/proc_macro/bridge/rpc.rs rename to crates/proc-macro-srv/src/abis/abi_1_56/proc_macro/bridge/rpc.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_56/proc_macro/bridge/scoped_cell.rs b/crates/proc-macro-srv/src/abis/abi_1_56/proc_macro/bridge/scoped_cell.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_56/proc_macro/bridge/scoped_cell.rs rename to crates/proc-macro-srv/src/abis/abi_1_56/proc_macro/bridge/scoped_cell.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_56/proc_macro/bridge/server.rs b/crates/proc-macro-srv/src/abis/abi_1_56/proc_macro/bridge/server.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_56/proc_macro/bridge/server.rs rename to crates/proc-macro-srv/src/abis/abi_1_56/proc_macro/bridge/server.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_56/proc_macro/diagnostic.rs b/crates/proc-macro-srv/src/abis/abi_1_56/proc_macro/diagnostic.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_56/proc_macro/diagnostic.rs rename to crates/proc-macro-srv/src/abis/abi_1_56/proc_macro/diagnostic.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_56/proc_macro/mod.rs b/crates/proc-macro-srv/src/abis/abi_1_56/proc_macro/mod.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_56/proc_macro/mod.rs rename to crates/proc-macro-srv/src/abis/abi_1_56/proc_macro/mod.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_56/proc_macro/quote.rs b/crates/proc-macro-srv/src/abis/abi_1_56/proc_macro/quote.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_56/proc_macro/quote.rs rename to crates/proc-macro-srv/src/abis/abi_1_56/proc_macro/quote.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_56/rustc_server.rs b/crates/proc-macro-srv/src/abis/abi_1_56/rustc_server.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_56/rustc_server.rs rename to crates/proc-macro-srv/src/abis/abi_1_56/rustc_server.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_57/mod.rs b/crates/proc-macro-srv/src/abis/abi_1_57/mod.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_57/mod.rs rename to crates/proc-macro-srv/src/abis/abi_1_57/mod.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_57/proc_macro/bridge/buffer.rs b/crates/proc-macro-srv/src/abis/abi_1_57/proc_macro/bridge/buffer.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_57/proc_macro/bridge/buffer.rs rename to crates/proc-macro-srv/src/abis/abi_1_57/proc_macro/bridge/buffer.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_57/proc_macro/bridge/client.rs b/crates/proc-macro-srv/src/abis/abi_1_57/proc_macro/bridge/client.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_57/proc_macro/bridge/client.rs rename to crates/proc-macro-srv/src/abis/abi_1_57/proc_macro/bridge/client.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_57/proc_macro/bridge/closure.rs b/crates/proc-macro-srv/src/abis/abi_1_57/proc_macro/bridge/closure.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_57/proc_macro/bridge/closure.rs rename to crates/proc-macro-srv/src/abis/abi_1_57/proc_macro/bridge/closure.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_57/proc_macro/bridge/handle.rs b/crates/proc-macro-srv/src/abis/abi_1_57/proc_macro/bridge/handle.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_57/proc_macro/bridge/handle.rs rename to crates/proc-macro-srv/src/abis/abi_1_57/proc_macro/bridge/handle.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_57/proc_macro/bridge/mod.rs b/crates/proc-macro-srv/src/abis/abi_1_57/proc_macro/bridge/mod.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_57/proc_macro/bridge/mod.rs rename to crates/proc-macro-srv/src/abis/abi_1_57/proc_macro/bridge/mod.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_57/proc_macro/bridge/rpc.rs b/crates/proc-macro-srv/src/abis/abi_1_57/proc_macro/bridge/rpc.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_57/proc_macro/bridge/rpc.rs rename to crates/proc-macro-srv/src/abis/abi_1_57/proc_macro/bridge/rpc.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_57/proc_macro/bridge/scoped_cell.rs b/crates/proc-macro-srv/src/abis/abi_1_57/proc_macro/bridge/scoped_cell.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_57/proc_macro/bridge/scoped_cell.rs rename to crates/proc-macro-srv/src/abis/abi_1_57/proc_macro/bridge/scoped_cell.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_57/proc_macro/bridge/server.rs b/crates/proc-macro-srv/src/abis/abi_1_57/proc_macro/bridge/server.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_57/proc_macro/bridge/server.rs rename to crates/proc-macro-srv/src/abis/abi_1_57/proc_macro/bridge/server.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_57/proc_macro/diagnostic.rs b/crates/proc-macro-srv/src/abis/abi_1_57/proc_macro/diagnostic.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_57/proc_macro/diagnostic.rs rename to crates/proc-macro-srv/src/abis/abi_1_57/proc_macro/diagnostic.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_57/proc_macro/mod.rs b/crates/proc-macro-srv/src/abis/abi_1_57/proc_macro/mod.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_57/proc_macro/mod.rs rename to crates/proc-macro-srv/src/abis/abi_1_57/proc_macro/mod.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_57/proc_macro/quote.rs b/crates/proc-macro-srv/src/abis/abi_1_57/proc_macro/quote.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_57/proc_macro/quote.rs rename to crates/proc-macro-srv/src/abis/abi_1_57/proc_macro/quote.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_57/rustc_server.rs b/crates/proc-macro-srv/src/abis/abi_1_57/rustc_server.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_57/rustc_server.rs rename to crates/proc-macro-srv/src/abis/abi_1_57/rustc_server.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_58/mod.rs b/crates/proc-macro-srv/src/abis/abi_1_58/mod.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_58/mod.rs rename to crates/proc-macro-srv/src/abis/abi_1_58/mod.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_58/proc_macro/bridge/buffer.rs b/crates/proc-macro-srv/src/abis/abi_1_58/proc_macro/bridge/buffer.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_58/proc_macro/bridge/buffer.rs rename to crates/proc-macro-srv/src/abis/abi_1_58/proc_macro/bridge/buffer.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_58/proc_macro/bridge/client.rs b/crates/proc-macro-srv/src/abis/abi_1_58/proc_macro/bridge/client.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_58/proc_macro/bridge/client.rs rename to crates/proc-macro-srv/src/abis/abi_1_58/proc_macro/bridge/client.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_58/proc_macro/bridge/closure.rs b/crates/proc-macro-srv/src/abis/abi_1_58/proc_macro/bridge/closure.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_58/proc_macro/bridge/closure.rs rename to crates/proc-macro-srv/src/abis/abi_1_58/proc_macro/bridge/closure.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_58/proc_macro/bridge/handle.rs b/crates/proc-macro-srv/src/abis/abi_1_58/proc_macro/bridge/handle.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_58/proc_macro/bridge/handle.rs rename to crates/proc-macro-srv/src/abis/abi_1_58/proc_macro/bridge/handle.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_58/proc_macro/bridge/mod.rs b/crates/proc-macro-srv/src/abis/abi_1_58/proc_macro/bridge/mod.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_58/proc_macro/bridge/mod.rs rename to crates/proc-macro-srv/src/abis/abi_1_58/proc_macro/bridge/mod.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_58/proc_macro/bridge/rpc.rs b/crates/proc-macro-srv/src/abis/abi_1_58/proc_macro/bridge/rpc.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_58/proc_macro/bridge/rpc.rs rename to crates/proc-macro-srv/src/abis/abi_1_58/proc_macro/bridge/rpc.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_58/proc_macro/bridge/scoped_cell.rs b/crates/proc-macro-srv/src/abis/abi_1_58/proc_macro/bridge/scoped_cell.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_58/proc_macro/bridge/scoped_cell.rs rename to crates/proc-macro-srv/src/abis/abi_1_58/proc_macro/bridge/scoped_cell.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_58/proc_macro/bridge/server.rs b/crates/proc-macro-srv/src/abis/abi_1_58/proc_macro/bridge/server.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_58/proc_macro/bridge/server.rs rename to crates/proc-macro-srv/src/abis/abi_1_58/proc_macro/bridge/server.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_58/proc_macro/diagnostic.rs b/crates/proc-macro-srv/src/abis/abi_1_58/proc_macro/diagnostic.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_58/proc_macro/diagnostic.rs rename to crates/proc-macro-srv/src/abis/abi_1_58/proc_macro/diagnostic.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_58/proc_macro/mod.rs b/crates/proc-macro-srv/src/abis/abi_1_58/proc_macro/mod.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_58/proc_macro/mod.rs rename to crates/proc-macro-srv/src/abis/abi_1_58/proc_macro/mod.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_58/proc_macro/quote.rs b/crates/proc-macro-srv/src/abis/abi_1_58/proc_macro/quote.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_58/proc_macro/quote.rs rename to crates/proc-macro-srv/src/abis/abi_1_58/proc_macro/quote.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_58/rustc_server.rs b/crates/proc-macro-srv/src/abis/abi_1_58/rustc_server.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_58/rustc_server.rs rename to crates/proc-macro-srv/src/abis/abi_1_58/rustc_server.rs diff --git a/crates/proc_macro_srv/src/abis/mod.rs b/crates/proc-macro-srv/src/abis/mod.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/mod.rs rename to crates/proc-macro-srv/src/abis/mod.rs diff --git a/crates/proc_macro_srv/src/cli.rs b/crates/proc-macro-srv/src/cli.rs similarity index 100% rename from crates/proc_macro_srv/src/cli.rs rename to crates/proc-macro-srv/src/cli.rs diff --git a/crates/proc_macro_srv/src/dylib.rs b/crates/proc-macro-srv/src/dylib.rs similarity index 100% rename from crates/proc_macro_srv/src/dylib.rs rename to crates/proc-macro-srv/src/dylib.rs diff --git a/crates/proc_macro_srv/src/lib.rs b/crates/proc-macro-srv/src/lib.rs similarity index 100% rename from crates/proc_macro_srv/src/lib.rs rename to crates/proc-macro-srv/src/lib.rs diff --git a/crates/proc_macro_srv/src/tests/mod.rs b/crates/proc-macro-srv/src/tests/mod.rs similarity index 100% rename from crates/proc_macro_srv/src/tests/mod.rs rename to crates/proc-macro-srv/src/tests/mod.rs diff --git a/crates/proc_macro_srv/src/tests/utils.rs b/crates/proc-macro-srv/src/tests/utils.rs similarity index 100% rename from crates/proc_macro_srv/src/tests/utils.rs rename to crates/proc-macro-srv/src/tests/utils.rs diff --git a/crates/proc-macro-test/.build.rs.swp b/crates/proc-macro-test/.build.rs.swp new file mode 100644 index 0000000000000000000000000000000000000000..e9252a02f526706f8ce009973225ed9e784ea1a6 GIT binary patch literal 12288 zcmeHN%Z}Vc6s-XvAR&Orie1G>gIj95hkzh*6i`Salqex6uT6y9HSX%^%GfTesyv;} zFu;Nj03?0@!4B~O2-dJ*1!953hV0nz3*lVb{g@#US+D_>qtmwQaeeQ(=T>Qy+T6Ht z{t`bCA7{9pW$eh;+neIvr;q)ywZ^K98vpq!W>Kb#s&>-Exz0rXfGO`++2E|s>Oz*z z4oq!bBubIb?npDpjBwHpDxDT{y3H_q7A} z?$zHs1D*lTfM>un;2H1?cm_NJo&nE*XTUSy8Tbz}AV!Scc$~2dPr!Nn|Ns2&|1X|l z>@(mK;1X~VI1Ri4JP$kyFyP+PjNJu(2YvxQ2X=uwz*XP`a2WXY2xH#?3OEG(_7r0u z0vCV?I0~!*e;#J+2jF|)OJE4R0UQFpJ;d01z-z$WCmH(@_y+h2_z1WIIKTpZ;Ah12 z6Yw!`5ug~)1OD<1cm_NJo&nE*XW-vrV2^QJW1A#Xqnr#?Io4?<+@#NiacV3w*Sy9~ zr`DOU7uV&~h$`$YpH4P5a_RVDHb2F6?b4Al@hz>&FrXuXX>&v{r6YnVoj7z#m$AF; zg5F8CFtP8eFthJHmbWXJxiBa-AI);L$;aC81IG^|Ra7}T>T*Pu5gs25__c|$e5`WG zaYvUleCUMPl8u)`F3J)0h}=jqn$1UCzJ4t|d;ZEWZXImdB8$r>dQ17K*Lm3M(}%8? z+ohhCypYz4Ey<{Ve(j${t$%NMa4YrfqXYC@)rAb-LB8Is$4N3ax(L_jV`2)o6maC` z#=E_a3No^Ksqw;QT#0NOE~g5IH)UmF3xb?Yr^-#jb!zGHUA8)T{!F>2emI1L6v7<~ zgWWy8yBG91Ind`j(paSXK2EGU&?Y3_R^=$pbm@dDZMfcur#)X9bUIY!78H2En@cU@ zNpc3~S`oTA-6=SnGt#3xEkl5#*<_xmg|NE;q^vH7&^2EeuY|FZYC(!3gvfD%7DSEk z6bqZ$TxD|U8WB^}Zb5NVOJM13UCK`M!dhuS*us=>wT*3^We5kBS_Ko+3lCSC+F4Q=5dMb44mvDzZNAW+mDTHv}~wcRu{ z^=gsuK24s=7cp{#8pR5-z0Z?#w=0mZ@C}H~s8JiiLFXwtv7^-pF~aCFN@N7iD+q!D zN0xEkdEpGP3MJkQnxoB7br4nbd%vZp>5V$+L~T7#+byfh;N2zVaaJ4p2(6M~fJLiI z2Wh5FD}(|m7g(B-q?FUpX`N>i6h)FW)Ic4LhcsiEam>Q>m9@9+ny-a4xT{8t3^ro? z3tB}{7nLiu-#4OsSar4y+