Skip to content

Commit 1f011fa

Browse files
committed
style: rename crates to kebab case
1 parent e025b37 commit 1f011fa

File tree

462 files changed

+158
-158
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

462 files changed

+158
-158
lines changed

Cargo.lock

+82-82
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[workspace]
22
members = ["xtask/", "lib/*", "crates/*"]
3-
exclude = ["crates/proc_macro_test/imp"]
3+
exclude = ["crates/proc-macro-test/imp"]
44

55
[profile.dev]
66
# Disabling debug info speeds up builds a bunch,

crates/base_db/Cargo.toml crates/base-db/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "base_db"
2+
name = "base-db"
33
version = "0.0.0"
44
description = "TBD"
55
license = "MIT OR Apache-2.0"
@@ -18,5 +18,5 @@ stdx = { path = "../stdx", version = "0.0.0" }
1818
cfg = { path = "../cfg", version = "0.0.0" }
1919
profile = { path = "../profile", version = "0.0.0" }
2020
tt = { path = "../tt", version = "0.0.0" }
21-
test_utils = { path = "../test_utils", version = "0.0.0" }
21+
test-utils = { path = "../test-utils", version = "0.0.0" }
2222
vfs = { path = "../vfs", version = "0.0.0" }
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

crates/hir_def/Cargo.toml crates/hir-def/Cargo.toml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "hir_def"
2+
name = "hir-def"
33
version = "0.0.0"
44
description = "TBD"
55
license = "MIT OR Apache-2.0"
@@ -29,15 +29,15 @@ arrayvec = "0.7.2"
2929
la-arena = { version = "0.3.0", path = "../../lib/arena" }
3030

3131
stdx = { path = "../stdx", version = "0.0.0" }
32-
base_db = { path = "../base_db", version = "0.0.0" }
32+
base-db = { path = "../base-db", version = "0.0.0" }
3333
syntax = { path = "../syntax", version = "0.0.0" }
3434
profile = { path = "../profile", version = "0.0.0" }
35-
hir_expand = { path = "../hir_expand", version = "0.0.0" }
35+
hir-expand = { path = "../hir-expand", version = "0.0.0" }
3636
mbe = { path = "../mbe", version = "0.0.0" }
3737
cfg = { path = "../cfg", version = "0.0.0" }
3838
tt = { path = "../tt", version = "0.0.0" }
3939
limit = { path = "../limit", version = "0.0.0" }
4040

4141
[dev-dependencies]
42-
test_utils = { path = "../test_utils" }
42+
test-utils = { path = "../test-utils" }
4343
expect-test = "1.2.2"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

crates/hir_expand/Cargo.toml crates/hir-expand/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "hir_expand"
2+
name = "hir-expand"
33
version = "0.0.0"
44
description = "TBD"
55
license = "MIT OR Apache-2.0"
@@ -20,7 +20,7 @@ hashbrown = { version = "0.12.0", features = [
2020
"inline-more",
2121
], default-features = false }
2222

23-
base_db = { path = "../base_db", version = "0.0.0" }
23+
base-db = { path = "../base-db", version = "0.0.0" }
2424
cfg = { path = "../cfg", version = "0.0.0" }
2525
syntax = { path = "../syntax", version = "0.0.0" }
2626
profile = { path = "../profile", version = "0.0.0" }
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

crates/hir_ty/Cargo.toml crates/hir-ty/Cargo.toml

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "hir_ty"
2+
name = "hir-ty"
33
version = "0.0.0"
44
description = "TBD"
55
license = "MIT OR Apache-2.0"
@@ -26,15 +26,15 @@ once_cell = "1.10.0"
2626
typed-arena = "2.0.1"
2727

2828
stdx = { path = "../stdx", version = "0.0.0" }
29-
hir_def = { path = "../hir_def", version = "0.0.0" }
30-
hir_expand = { path = "../hir_expand", version = "0.0.0" }
31-
base_db = { path = "../base_db", version = "0.0.0" }
29+
hir-def = { path = "../hir-def", version = "0.0.0" }
30+
hir-expand = { path = "../hir-expand", version = "0.0.0" }
31+
base-db = { path = "../base-db", version = "0.0.0" }
3232
profile = { path = "../profile", version = "0.0.0" }
3333
syntax = { path = "../syntax", version = "0.0.0" }
3434
limit = { path = "../limit", version = "0.0.0" }
3535

3636
[dev-dependencies]
37-
test_utils = { path = "../test_utils" }
37+
test-utils = { path = "../test-utils" }
3838
expect-test = "1.2.2"
3939
tracing = "0.1.32"
4040
tracing-subscriber = { version = "0.3.9", default-features = false, features = [
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

crates/hir/Cargo.toml

+4-4
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ once_cell = "1.10.0"
1919

2020
stdx = { path = "../stdx", version = "0.0.0" }
2121
syntax = { path = "../syntax", version = "0.0.0" }
22-
base_db = { path = "../base_db", version = "0.0.0" }
22+
base-db = { path = "../base-db", version = "0.0.0" }
2323
profile = { path = "../profile", version = "0.0.0" }
24-
hir_expand = { path = "../hir_expand", version = "0.0.0" }
25-
hir_def = { path = "../hir_def", version = "0.0.0" }
26-
hir_ty = { path = "../hir_ty", version = "0.0.0" }
24+
hir-expand = { path = "../hir-expand", version = "0.0.0" }
25+
hir-def = { path = "../hir-def", version = "0.0.0" }
26+
hir-ty = { path = "../hir-ty", version = "0.0.0" }
2727
tt = { path = "../tt", version = "0.0.0" }
2828
cfg = { path = "../cfg", version = "0.0.0" }

crates/ide_assists/Cargo.toml crates/ide-assists/Cargo.toml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "ide_assists"
2+
name = "ide-assists"
33
version = "0.0.0"
44
description = "TBD"
55
license = "MIT OR Apache-2.0"
@@ -17,12 +17,12 @@ either = "1.6.1"
1717

1818
stdx = { path = "../stdx", version = "0.0.0" }
1919
syntax = { path = "../syntax", version = "0.0.0" }
20-
text_edit = { path = "../text_edit", version = "0.0.0" }
20+
text-edit = { path = "../text-edit", version = "0.0.0" }
2121
profile = { path = "../profile", version = "0.0.0" }
22-
ide_db = { path = "../ide_db", version = "0.0.0" }
22+
ide-db = { path = "../ide-db", version = "0.0.0" }
2323
hir = { path = "../hir", version = "0.0.0" }
2424

2525
[dev-dependencies]
26-
test_utils = { path = "../test_utils" }
26+
test-utils = { path = "../test-utils" }
2727
sourcegen = { path = "../sourcegen" }
2828
expect-test = "1.2.2"
File renamed without changes.
File renamed without changes.
File renamed without changes.

crates/ide_completion/Cargo.toml crates/ide-completion/Cargo.toml

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "ide_completion"
2+
name = "ide-completion"
33
version = "0.0.0"
44
description = "TBD"
55
license = "MIT OR Apache-2.0"
@@ -18,16 +18,16 @@ smallvec = "1.8.0"
1818

1919
stdx = { path = "../stdx", version = "0.0.0" }
2020
syntax = { path = "../syntax", version = "0.0.0" }
21-
text_edit = { path = "../text_edit", version = "0.0.0" }
22-
base_db = { path = "../base_db", version = "0.0.0" }
23-
ide_db = { path = "../ide_db", version = "0.0.0" }
21+
text-edit = { path = "../text-edit", version = "0.0.0" }
22+
base-db = { path = "../base-db", version = "0.0.0" }
23+
ide-db = { path = "../ide-db", version = "0.0.0" }
2424
profile = { path = "../profile", version = "0.0.0" }
2525

2626
# completions crate should depend only on the top-level `hir` package. if you need
27-
# something from some `hir_xxx` subpackage, reexport the API via `hir`.
27+
# something from some `hir-xxx` subpackage, reexport the API via `hir`.
2828
hir = { path = "../hir", version = "0.0.0" }
2929

3030
[dev-dependencies]
3131
expect-test = "1.2.2"
3232

33-
test_utils = { path = "../test_utils" }
33+
test-utils = { path = "../test-utils" }
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

crates/ide_db/Cargo.toml crates/ide-db/Cargo.toml

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "ide_db"
2+
name = "ide-db"
33
version = "0.0.0"
44
description = "TBD"
55
license = "MIT OR Apache-2.0"
@@ -24,16 +24,16 @@ indexmap = "1.8.0"
2424
stdx = { path = "../stdx", version = "0.0.0" }
2525
parser = { path = "../parser", version = "0.0.0" }
2626
syntax = { path = "../syntax", version = "0.0.0" }
27-
text_edit = { path = "../text_edit", version = "0.0.0" }
28-
base_db = { path = "../base_db", version = "0.0.0" }
27+
text-edit = { path = "../text-edit", version = "0.0.0" }
28+
base-db = { path = "../base-db", version = "0.0.0" }
2929
profile = { path = "../profile", version = "0.0.0" }
3030
# ide should depend only on the top-level `hir` package. if you need
31-
# something from some `hir_xxx` subpackage, reexport the API via `hir`.
31+
# something from some `hir-xxx` subpackage, reexport the API via `hir`.
3232
hir = { path = "../hir", version = "0.0.0" }
3333
limit = { path = "../limit", version = "0.0.0" }
3434

3535
[dev-dependencies]
36-
test_utils = { path = "../test_utils" }
36+
test-utils = { path = "../test-utils" }
3737
sourcegen = { path = "../sourcegen" }
3838
xshell = "0.2.1"
3939
expect-test = "1.2.2"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)