diff options
29 files changed, 168 insertions, 98 deletions
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 000000000..be2c7a8ca --- /dev/null +++ b/.github/workflows/publish.yml | |||
@@ -0,0 +1,44 @@ | |||
1 | name: publish | ||
2 | on: | ||
3 | workflow_dispatch: # We can add version input when 1.0 is released and scheduled releases are removed | ||
4 | |||
5 | schedule: | ||
6 | - cron: "0 0 * * *" # midnight UTC | ||
7 | |||
8 | push: | ||
9 | branches: | ||
10 | - release | ||
11 | |||
12 | jobs: | ||
13 | publish: | ||
14 | name: publish | ||
15 | runs-on: ubuntu-16.04 | ||
16 | steps: | ||
17 | - name: Checkout repository | ||
18 | uses: actions/checkout@v2 | ||
19 | with: | ||
20 | fetch-depth: 0 | ||
21 | |||
22 | - name: Install Rust toolchain | ||
23 | uses: actions-rs/toolchain@v1 | ||
24 | with: | ||
25 | toolchain: stable | ||
26 | profile: minimal | ||
27 | override: true | ||
28 | |||
29 | - name: Install cargo-workspaces | ||
30 | uses: actions-rs/[email protected] | ||
31 | with: | ||
32 | crate: cargo-workspaces | ||
33 | |||
34 | - name: Release | ||
35 | env: | ||
36 | CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} | ||
37 | PATCH: ${{ github.run_number }} | ||
38 | shell: bash | ||
39 | run: | | ||
40 | git config --global user.email "[email protected]" | ||
41 | git config --global user.name "Github Action" | ||
42 | rm Cargo.lock | ||
43 | cargo workspaces rename ra_ap_%n | ||
44 | cargo workspaces publish --yes --force '*' --exact --no-git-commit --allow-dirty --skip-published custom 0.0.$PATCH | ||
diff --git a/crates/assists/Cargo.toml b/crates/assists/Cargo.toml index a560a35c7..264125651 100644 --- a/crates/assists/Cargo.toml +++ b/crates/assists/Cargo.toml | |||
@@ -1,6 +1,7 @@ | |||
1 | [package] | 1 | [package] |
2 | name = "assists" | 2 | name = "assists" |
3 | version = "0.0.0" | 3 | version = "0.0.0" |
4 | description = "TBD" | ||
4 | license = "MIT OR Apache-2.0" | 5 | license = "MIT OR Apache-2.0" |
5 | authors = ["rust-analyzer developers"] | 6 | authors = ["rust-analyzer developers"] |
6 | edition = "2018" | 7 | edition = "2018" |
@@ -13,11 +14,11 @@ rustc-hash = "1.1.0" | |||
13 | itertools = "0.9.0" | 14 | itertools = "0.9.0" |
14 | either = "1.5.3" | 15 | either = "1.5.3" |
15 | 16 | ||
16 | stdx = { path = "../stdx" } | 17 | stdx = { path = "../stdx", version = "0.0.0" } |
17 | syntax = { path = "../syntax" } | 18 | syntax = { path = "../syntax", version = "0.0.0" } |
18 | text_edit = { path = "../text_edit" } | 19 | text_edit = { path = "../text_edit", version = "0.0.0" } |
19 | profile = { path = "../profile" } | 20 | profile = { path = "../profile", version = "0.0.0" } |
20 | base_db = { path = "../base_db" } | 21 | base_db = { path = "../base_db", version = "0.0.0" } |
21 | ide_db = { path = "../ide_db" } | 22 | ide_db = { path = "../ide_db", version = "0.0.0" } |
22 | hir = { path = "../hir" } | 23 | hir = { path = "../hir", version = "0.0.0" } |
23 | test_utils = { path = "../test_utils" } | 24 | test_utils = { path = "../test_utils", version = "0.0.0" } |
diff --git a/crates/base_db/Cargo.toml b/crates/base_db/Cargo.toml index 7347d7528..f7bfcb0d7 100644 --- a/crates/base_db/Cargo.toml +++ b/crates/base_db/Cargo.toml | |||
@@ -1,6 +1,7 @@ | |||
1 | [package] | 1 | [package] |
2 | name = "base_db" | 2 | name = "base_db" |
3 | version = "0.0.0" | 3 | version = "0.0.0" |
4 | description = "TBD" | ||
4 | license = "MIT OR Apache-2.0" | 5 | license = "MIT OR Apache-2.0" |
5 | authors = ["rust-analyzer developers"] | 6 | authors = ["rust-analyzer developers"] |
6 | edition = "2018" | 7 | edition = "2018" |
@@ -12,10 +13,10 @@ doctest = false | |||
12 | salsa = "0.15.2" | 13 | salsa = "0.15.2" |
13 | rustc-hash = "1.1.0" | 14 | rustc-hash = "1.1.0" |
14 | 15 | ||
15 | syntax = { path = "../syntax" } | 16 | syntax = { path = "../syntax", version = "0.0.0" } |
16 | cfg = { path = "../cfg" } | 17 | cfg = { path = "../cfg", version = "0.0.0" } |
17 | profile = { path = "../profile" } | 18 | profile = { path = "../profile", version = "0.0.0" } |
18 | tt = { path = "../tt" } | 19 | tt = { path = "../tt", version = "0.0.0" } |
19 | test_utils = { path = "../test_utils" } | 20 | test_utils = { path = "../test_utils", version = "0.0.0" } |
20 | vfs = { path = "../vfs" } | 21 | vfs = { path = "../vfs", version = "0.0.0" } |
21 | stdx = { path = "../stdx" } | 22 | stdx = { path = "../stdx", version = "0.0.0" } |
diff --git a/crates/cfg/Cargo.toml b/crates/cfg/Cargo.toml index d2ea551d1..a6785ee8e 100644 --- a/crates/cfg/Cargo.toml +++ b/crates/cfg/Cargo.toml | |||
@@ -1,6 +1,7 @@ | |||
1 | [package] | 1 | [package] |
2 | name = "cfg" | 2 | name = "cfg" |
3 | version = "0.0.0" | 3 | version = "0.0.0" |
4 | description = "TBD" | ||
4 | license = "MIT OR Apache-2.0" | 5 | license = "MIT OR Apache-2.0" |
5 | authors = ["rust-analyzer developers"] | 6 | authors = ["rust-analyzer developers"] |
6 | edition = "2018" | 7 | edition = "2018" |
@@ -11,7 +12,7 @@ doctest = false | |||
11 | [dependencies] | 12 | [dependencies] |
12 | rustc-hash = "1.1.0" | 13 | rustc-hash = "1.1.0" |
13 | 14 | ||
14 | tt = { path = "../tt" } | 15 | tt = { path = "../tt", version = "0.0.0" } |
15 | 16 | ||
16 | [dev-dependencies] | 17 | [dev-dependencies] |
17 | mbe = { path = "../mbe" } | 18 | mbe = { path = "../mbe" } |
diff --git a/crates/flycheck/Cargo.toml b/crates/flycheck/Cargo.toml index 262a66e4e..c230fc1e2 100644 --- a/crates/flycheck/Cargo.toml +++ b/crates/flycheck/Cargo.toml | |||
@@ -1,6 +1,7 @@ | |||
1 | [package] | 1 | [package] |
2 | name = "flycheck" | 2 | name = "flycheck" |
3 | version = "0.0.0" | 3 | version = "0.0.0" |
4 | description = "TBD" | ||
4 | license = "MIT OR Apache-2.0" | 5 | license = "MIT OR Apache-2.0" |
5 | authors = ["rust-analyzer developers"] | 6 | authors = ["rust-analyzer developers"] |
6 | edition = "2018" | 7 | edition = "2018" |
@@ -15,4 +16,4 @@ cargo_metadata = "0.11.1" | |||
15 | serde_json = "1.0.48" | 16 | serde_json = "1.0.48" |
16 | jod-thread = "0.1.1" | 17 | jod-thread = "0.1.1" |
17 | 18 | ||
18 | toolchain = { path = "../toolchain" } | 19 | toolchain = { path = "../toolchain", version = "0.0.0" } |
diff --git a/crates/hir/Cargo.toml b/crates/hir/Cargo.toml index dbb2986b6..60a48170e 100644 --- a/crates/hir/Cargo.toml +++ b/crates/hir/Cargo.toml | |||
@@ -1,6 +1,7 @@ | |||
1 | [package] | 1 | [package] |
2 | name = "hir" | 2 | name = "hir" |
3 | version = "0.0.0" | 3 | version = "0.0.0" |
4 | description = "TBD" | ||
4 | license = "MIT OR Apache-2.0" | 5 | license = "MIT OR Apache-2.0" |
5 | authors = ["rust-analyzer developers"] | 6 | authors = ["rust-analyzer developers"] |
6 | edition = "2018" | 7 | edition = "2018" |
@@ -15,10 +16,10 @@ either = "1.5.3" | |||
15 | arrayvec = "0.5.1" | 16 | arrayvec = "0.5.1" |
16 | itertools = "0.9.0" | 17 | itertools = "0.9.0" |
17 | 18 | ||
18 | stdx = { path = "../stdx" } | 19 | stdx = { path = "../stdx", version = "0.0.0" } |
19 | syntax = { path = "../syntax" } | 20 | syntax = { path = "../syntax", version = "0.0.0" } |
20 | base_db = { path = "../base_db" } | 21 | base_db = { path = "../base_db", version = "0.0.0" } |
21 | profile = { path = "../profile" } | 22 | profile = { path = "../profile", version = "0.0.0" } |
22 | hir_expand = { path = "../hir_expand" } | 23 | hir_expand = { path = "../hir_expand", version = "0.0.0" } |
23 | hir_def = { path = "../hir_def" } | 24 | hir_def = { path = "../hir_def", version = "0.0.0" } |
24 | hir_ty = { path = "../hir_ty" } | 25 | hir_ty = { path = "../hir_ty", version = "0.0.0" } |
diff --git a/crates/hir_def/Cargo.toml b/crates/hir_def/Cargo.toml index 57745322f..011e4612c 100644 --- a/crates/hir_def/Cargo.toml +++ b/crates/hir_def/Cargo.toml | |||
@@ -1,6 +1,7 @@ | |||
1 | [package] | 1 | [package] |
2 | name = "hir_def" | 2 | name = "hir_def" |
3 | version = "0.0.0" | 3 | version = "0.0.0" |
4 | description = "TBD" | ||
4 | license = "MIT OR Apache-2.0" | 5 | license = "MIT OR Apache-2.0" |
5 | authors = ["rust-analyzer developers"] | 6 | authors = ["rust-analyzer developers"] |
6 | edition = "2018" | 7 | edition = "2018" |
@@ -20,16 +21,16 @@ itertools = "0.9.0" | |||
20 | indexmap = "1.4.0" | 21 | indexmap = "1.4.0" |
21 | smallvec = "1.4.0" | 22 | smallvec = "1.4.0" |
22 | 23 | ||
23 | stdx = { path = "../stdx" } | 24 | stdx = { path = "../stdx", version = "0.0.0" } |
24 | arena = { path = "../arena" } | 25 | arena = { path = "../arena", version = "0.0.0" } |
25 | base_db = { path = "../base_db" } | 26 | base_db = { path = "../base_db", version = "0.0.0" } |
26 | syntax = { path = "../syntax" } | 27 | syntax = { path = "../syntax", version = "0.0.0" } |
27 | profile = { path = "../profile" } | 28 | profile = { path = "../profile", version = "0.0.0" } |
28 | hir_expand = { path = "../hir_expand" } | 29 | hir_expand = { path = "../hir_expand", version = "0.0.0" } |
29 | test_utils = { path = "../test_utils" } | 30 | test_utils = { path = "../test_utils", version = "0.0.0" } |
30 | mbe = { path = "../mbe" } | 31 | mbe = { path = "../mbe", version = "0.0.0" } |
31 | cfg = { path = "../cfg" } | 32 | cfg = { path = "../cfg", version = "0.0.0" } |
32 | tt = { path = "../tt" } | 33 | tt = { path = "../tt", version = "0.0.0" } |
33 | 34 | ||
34 | [dev-dependencies] | 35 | [dev-dependencies] |
35 | expect-test = "0.1" | 36 | expect-test = "0.1" |
diff --git a/crates/hir_expand/Cargo.toml b/crates/hir_expand/Cargo.toml index 1c4699291..9fad2ab94 100644 --- a/crates/hir_expand/Cargo.toml +++ b/crates/hir_expand/Cargo.toml | |||
@@ -1,6 +1,7 @@ | |||
1 | [package] | 1 | [package] |
2 | name = "hir_expand" | 2 | name = "hir_expand" |
3 | version = "0.0.0" | 3 | version = "0.0.0" |
4 | description = "TBD" | ||
4 | license = "MIT OR Apache-2.0" | 5 | license = "MIT OR Apache-2.0" |
5 | authors = ["rust-analyzer developers"] | 6 | authors = ["rust-analyzer developers"] |
6 | edition = "2018" | 7 | edition = "2018" |
@@ -13,11 +14,11 @@ log = "0.4.8" | |||
13 | either = "1.5.3" | 14 | either = "1.5.3" |
14 | rustc-hash = "1.0.0" | 15 | rustc-hash = "1.0.0" |
15 | 16 | ||
16 | arena = { path = "../arena" } | 17 | arena = { path = "../arena", version = "0.0.0" } |
17 | base_db = { path = "../base_db" } | 18 | base_db = { path = "../base_db", version = "0.0.0" } |
18 | syntax = { path = "../syntax" } | 19 | syntax = { path = "../syntax", version = "0.0.0" } |
19 | parser = { path = "../parser" } | 20 | parser = { path = "../parser", version = "0.0.0" } |
20 | profile = { path = "../profile" } | 21 | profile = { path = "../profile", version = "0.0.0" } |
21 | tt = { path = "../tt" } | 22 | tt = { path = "../tt", version = "0.0.0" } |
22 | mbe = { path = "../mbe" } | 23 | mbe = { path = "../mbe", version = "0.0.0" } |
23 | test_utils = { path = "../test_utils"} | 24 | test_utils = { path = "../test_utils", version = "0.0.0" } |
diff --git a/crates/hir_ty/Cargo.toml b/crates/hir_ty/Cargo.toml index 06da0d0ec..33e155a70 100644 --- a/crates/hir_ty/Cargo.toml +++ b/crates/hir_ty/Cargo.toml | |||
@@ -1,6 +1,7 @@ | |||
1 | [package] | 1 | [package] |
2 | name = "hir_ty" | 2 | name = "hir_ty" |
3 | version = "0.0.0" | 3 | version = "0.0.0" |
4 | description = "TBD" | ||
4 | license = "MIT OR Apache-2.0" | 5 | license = "MIT OR Apache-2.0" |
5 | authors = ["rust-analyzer developers"] | 6 | authors = ["rust-analyzer developers"] |
6 | edition = "2018" | 7 | edition = "2018" |
@@ -20,14 +21,14 @@ chalk-solve = { version = "0.23.0" } | |||
20 | chalk-ir = { version = "0.23.0" } | 21 | chalk-ir = { version = "0.23.0" } |
21 | chalk-recursive = { version = "0.23.0" } | 22 | chalk-recursive = { version = "0.23.0" } |
22 | 23 | ||
23 | stdx = { path = "../stdx" } | 24 | stdx = { path = "../stdx", version = "0.0.0" } |
24 | hir_def = { path = "../hir_def" } | 25 | hir_def = { path = "../hir_def", version = "0.0.0" } |
25 | hir_expand = { path = "../hir_expand" } | 26 | hir_expand = { path = "../hir_expand", version = "0.0.0" } |
26 | arena = { path = "../arena" } | 27 | arena = { path = "../arena", version = "0.0.0" } |
27 | base_db = { path = "../base_db" } | 28 | base_db = { path = "../base_db", version = "0.0.0" } |
28 | profile = { path = "../profile" } | 29 | profile = { path = "../profile", version = "0.0.0" } |
29 | syntax = { path = "../syntax" } | 30 | syntax = { path = "../syntax", version = "0.0.0" } |
30 | test_utils = { path = "../test_utils" } | 31 | test_utils = { path = "../test_utils", version = "0.0.0" } |
31 | 32 | ||
32 | [dev-dependencies] | 33 | [dev-dependencies] |
33 | expect-test = "0.1" | 34 | expect-test = "0.1" |
diff --git a/crates/ide/Cargo.toml b/crates/ide/Cargo.toml index 700944430..336e9d2aa 100644 --- a/crates/ide/Cargo.toml +++ b/crates/ide/Cargo.toml | |||
@@ -1,6 +1,7 @@ | |||
1 | [package] | 1 | [package] |
2 | name = "ide" | 2 | name = "ide" |
3 | version = "0.0.0" | 3 | version = "0.0.0" |
4 | description = "TBD" | ||
4 | license = "MIT OR Apache-2.0" | 5 | license = "MIT OR Apache-2.0" |
5 | authors = ["rust-analyzer developers"] | 6 | authors = ["rust-analyzer developers"] |
6 | edition = "2018" | 7 | edition = "2018" |
@@ -16,20 +17,20 @@ log = "0.4.8" | |||
16 | rustc-hash = "1.1.0" | 17 | rustc-hash = "1.1.0" |
17 | oorandom = "11.1.2" | 18 | oorandom = "11.1.2" |
18 | 19 | ||
19 | stdx = { path = "../stdx" } | 20 | stdx = { path = "../stdx", version = "0.0.0" } |
20 | syntax = { path = "../syntax" } | 21 | syntax = { path = "../syntax", version = "0.0.0" } |
21 | text_edit = { path = "../text_edit" } | 22 | text_edit = { path = "../text_edit", version = "0.0.0" } |
22 | base_db = { path = "../base_db" } | 23 | base_db = { path = "../base_db", version = "0.0.0" } |
23 | ide_db = { path = "../ide_db" } | 24 | ide_db = { path = "../ide_db", version = "0.0.0" } |
24 | cfg = { path = "../cfg" } | 25 | cfg = { path = "../cfg", version = "0.0.0" } |
25 | profile = { path = "../profile" } | 26 | profile = { path = "../profile", version = "0.0.0" } |
26 | test_utils = { path = "../test_utils" } | 27 | test_utils = { path = "../test_utils", version = "0.0.0" } |
27 | assists = { path = "../assists" } | 28 | assists = { path = "../assists", version = "0.0.0" } |
28 | ssr = { path = "../ssr" } | 29 | ssr = { path = "../ssr", version = "0.0.0" } |
29 | 30 | ||
30 | # ide should depend only on the top-level `hir` package. if you need | 31 | # 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`. | 32 | # something from some `hir_xxx` subpackage, reexport the API via `hir`. |
32 | hir = { path = "../hir" } | 33 | hir = { path = "../hir", version = "0.0.0" } |
33 | 34 | ||
34 | [dev-dependencies] | 35 | [dev-dependencies] |
35 | expect-test = "0.1" | 36 | expect-test = "0.1" |
diff --git a/crates/ide_db/Cargo.toml b/crates/ide_db/Cargo.toml index 692fb6415..320fb15e5 100644 --- a/crates/ide_db/Cargo.toml +++ b/crates/ide_db/Cargo.toml | |||
@@ -1,6 +1,7 @@ | |||
1 | [package] | 1 | [package] |
2 | name = "ide_db" | 2 | name = "ide_db" |
3 | version = "0.0.0" | 3 | version = "0.0.0" |
4 | description = "TBD" | ||
4 | license = "MIT OR Apache-2.0" | 5 | license = "MIT OR Apache-2.0" |
5 | authors = ["rust-analyzer developers"] | 6 | authors = ["rust-analyzer developers"] |
6 | edition = "2018" | 7 | edition = "2018" |
@@ -19,12 +20,12 @@ rustc-hash = "1.1.0" | |||
19 | once_cell = "1.3.1" | 20 | once_cell = "1.3.1" |
20 | either = "1.5.3" | 21 | either = "1.5.3" |
21 | 22 | ||
22 | stdx = { path = "../stdx" } | 23 | stdx = { path = "../stdx", version = "0.0.0" } |
23 | syntax = { path = "../syntax" } | 24 | syntax = { path = "../syntax", version = "0.0.0" } |
24 | text_edit = { path = "../text_edit" } | 25 | text_edit = { path = "../text_edit", version = "0.0.0" } |
25 | base_db = { path = "../base_db" } | 26 | base_db = { path = "../base_db", version = "0.0.0" } |
26 | profile = { path = "../profile" } | 27 | profile = { path = "../profile", version = "0.0.0" } |
27 | test_utils = { path = "../test_utils" } | 28 | test_utils = { path = "../test_utils", version = "0.0.0" } |
28 | # ide should depend only on the top-level `hir` package. if you need | 29 | # ide should depend only on the top-level `hir` package. if you need |
29 | # something from some `hir_xxx` subpackage, reexport the API via `hir`. | 30 | # something from some `hir_xxx` subpackage, reexport the API via `hir`. |
30 | hir = { path = "../hir" } | 31 | hir = { path = "../hir", version = "0.0.0" } |
diff --git a/crates/mbe/Cargo.toml b/crates/mbe/Cargo.toml index 1aba8b7c4..af80e2be3 100644 --- a/crates/mbe/Cargo.toml +++ b/crates/mbe/Cargo.toml | |||
@@ -1,6 +1,7 @@ | |||
1 | [package] | 1 | [package] |
2 | name = "mbe" | 2 | name = "mbe" |
3 | version = "0.0.0" | 3 | version = "0.0.0" |
4 | description = "TBD" | ||
4 | license = "MIT OR Apache-2.0" | 5 | license = "MIT OR Apache-2.0" |
5 | authors = ["rust-analyzer developers"] | 6 | authors = ["rust-analyzer developers"] |
6 | edition = "2018" | 7 | edition = "2018" |
@@ -13,9 +14,9 @@ rustc-hash = "1.1.0" | |||
13 | smallvec = "1.2.0" | 14 | smallvec = "1.2.0" |
14 | log = "0.4.8" | 15 | log = "0.4.8" |
15 | 16 | ||
16 | syntax = { path = "../syntax" } | 17 | syntax = { path = "../syntax", version = "0.0.0" } |
17 | parser = { path = "../parser" } | 18 | parser = { path = "../parser", version = "0.0.0" } |
18 | tt = { path = "../tt" } | 19 | tt = { path = "../tt", version = "0.0.0" } |
19 | 20 | ||
20 | [dev-dependencies] | 21 | [dev-dependencies] |
21 | test_utils = { path = "../test_utils" } | 22 | test_utils = { path = "../test_utils" } |
diff --git a/crates/parser/Cargo.toml b/crates/parser/Cargo.toml index 358be92d1..1610e0d23 100644 --- a/crates/parser/Cargo.toml +++ b/crates/parser/Cargo.toml | |||
@@ -1,6 +1,7 @@ | |||
1 | [package] | 1 | [package] |
2 | name = "parser" | 2 | name = "parser" |
3 | version = "0.0.0" | 3 | version = "0.0.0" |
4 | description = "TBD" | ||
4 | license = "MIT OR Apache-2.0" | 5 | license = "MIT OR Apache-2.0" |
5 | authors = ["rust-analyzer developers"] | 6 | authors = ["rust-analyzer developers"] |
6 | edition = "2018" | 7 | edition = "2018" |
diff --git a/crates/paths/Cargo.toml b/crates/paths/Cargo.toml index 5ac18d63b..da26938c1 100644 --- a/crates/paths/Cargo.toml +++ b/crates/paths/Cargo.toml | |||
@@ -1,6 +1,7 @@ | |||
1 | [package] | 1 | [package] |
2 | name = "paths" | 2 | name = "paths" |
3 | version = "0.0.0" | 3 | version = "0.0.0" |
4 | description = "TBD" | ||
4 | license = "MIT OR Apache-2.0" | 5 | license = "MIT OR Apache-2.0" |
5 | authors = ["rust-analyzer developers"] | 6 | authors = ["rust-analyzer developers"] |
6 | edition = "2018" | 7 | edition = "2018" |
diff --git a/crates/proc_macro_api/Cargo.toml b/crates/proc_macro_api/Cargo.toml index a3a4c1103..75f67a22e 100644 --- a/crates/proc_macro_api/Cargo.toml +++ b/crates/proc_macro_api/Cargo.toml | |||
@@ -1,6 +1,7 @@ | |||
1 | [package] | 1 | [package] |
2 | name = "proc_macro_api" | 2 | name = "proc_macro_api" |
3 | version = "0.0.0" | 3 | version = "0.0.0" |
4 | description = "TBD" | ||
4 | license = "MIT OR Apache-2.0" | 5 | license = "MIT OR Apache-2.0" |
5 | authors = ["rust-analyzer developers"] | 6 | authors = ["rust-analyzer developers"] |
6 | edition = "2018" | 7 | edition = "2018" |
@@ -15,4 +16,4 @@ log = "0.4.8" | |||
15 | crossbeam-channel = "0.4.0" | 16 | crossbeam-channel = "0.4.0" |
16 | jod-thread = "0.1.1" | 17 | jod-thread = "0.1.1" |
17 | 18 | ||
18 | tt = { path = "../tt" } | 19 | tt = { path = "../tt", version = "0.0.0" } |
diff --git a/crates/proc_macro_srv/Cargo.toml b/crates/proc_macro_srv/Cargo.toml index a468b5560..fb84e04ae 100644 --- a/crates/proc_macro_srv/Cargo.toml +++ b/crates/proc_macro_srv/Cargo.toml | |||
@@ -1,6 +1,7 @@ | |||
1 | [package] | 1 | [package] |
2 | name = "proc_macro_srv" | 2 | name = "proc_macro_srv" |
3 | version = "0.0.0" | 3 | version = "0.0.0" |
4 | description = "TBD" | ||
4 | license = "MIT OR Apache-2.0" | 5 | license = "MIT OR Apache-2.0" |
5 | authors = ["rust-analyzer developers"] | 6 | authors = ["rust-analyzer developers"] |
6 | edition = "2018" | 7 | edition = "2018" |
@@ -13,10 +14,10 @@ goblin = "0.2.1" | |||
13 | libloading = "0.6.0" | 14 | libloading = "0.6.0" |
14 | memmap = "0.7" | 15 | memmap = "0.7" |
15 | 16 | ||
16 | tt = { path = "../tt" } | 17 | tt = { path = "../tt", version = "0.0.0" } |
17 | mbe = { path = "../mbe" } | 18 | mbe = { path = "../mbe", version = "0.0.0" } |
18 | proc_macro_api = { path = "../proc_macro_api" } | 19 | proc_macro_api = { path = "../proc_macro_api", version = "0.0.0" } |
19 | test_utils = { path = "../test_utils" } | 20 | test_utils = { path = "../test_utils", version = "0.0.0" } |
20 | 21 | ||
21 | [dev-dependencies] | 22 | [dev-dependencies] |
22 | cargo_metadata = "0.11.1" | 23 | cargo_metadata = "0.11.1" |
diff --git a/crates/proc_macro_test/Cargo.toml b/crates/proc_macro_test/Cargo.toml index 7b0f64f31..753443be2 100644 --- a/crates/proc_macro_test/Cargo.toml +++ b/crates/proc_macro_test/Cargo.toml | |||
@@ -4,6 +4,7 @@ version = "0.0.0" | |||
4 | license = "MIT OR Apache-2.0" | 4 | license = "MIT OR Apache-2.0" |
5 | authors = ["rust-analyzer developers"] | 5 | authors = ["rust-analyzer developers"] |
6 | edition = "2018" | 6 | edition = "2018" |
7 | publish = false | ||
7 | 8 | ||
8 | [lib] | 9 | [lib] |
9 | doctest = false | 10 | doctest = false |
diff --git a/crates/profile/Cargo.toml b/crates/profile/Cargo.toml index e271e3a56..261172d61 100644 --- a/crates/profile/Cargo.toml +++ b/crates/profile/Cargo.toml | |||
@@ -1,6 +1,7 @@ | |||
1 | [package] | 1 | [package] |
2 | name = "profile" | 2 | name = "profile" |
3 | version = "0.0.0" | 3 | version = "0.0.0" |
4 | description = "TBD" | ||
4 | license = "MIT OR Apache-2.0" | 5 | license = "MIT OR Apache-2.0" |
5 | authors = ["rust-analyzer developers"] | 6 | authors = ["rust-analyzer developers"] |
6 | edition = "2018" | 7 | edition = "2018" |
@@ -14,7 +15,7 @@ cfg-if = "0.1.10" | |||
14 | libc = "0.2.73" | 15 | libc = "0.2.73" |
15 | backtrace = { version = "0.3.44", optional = true } | 16 | backtrace = { version = "0.3.44", optional = true } |
16 | 17 | ||
17 | arena = { path = "../arena" } | 18 | arena = { path = "../arena", version = "0.0.0" } |
18 | 19 | ||
19 | [target.'cfg(target_os = "linux")'.dependencies] | 20 | [target.'cfg(target_os = "linux")'.dependencies] |
20 | perf-event = "0.4" | 21 | perf-event = "0.4" |
diff --git a/crates/project_model/Cargo.toml b/crates/project_model/Cargo.toml index 386f72f41..8bee398d9 100644 --- a/crates/project_model/Cargo.toml +++ b/crates/project_model/Cargo.toml | |||
@@ -1,6 +1,7 @@ | |||
1 | [package] | 1 | [package] |
2 | name = "project_model" | 2 | name = "project_model" |
3 | version = "0.0.0" | 3 | version = "0.0.0" |
4 | description = "TBD" | ||
4 | license = "MIT OR Apache-2.0" | 5 | license = "MIT OR Apache-2.0" |
5 | authors = ["rust-analyzer developers"] | 6 | authors = ["rust-analyzer developers"] |
6 | edition = "2018" | 7 | edition = "2018" |
@@ -16,10 +17,10 @@ serde = { version = "1.0.106", features = ["derive"] } | |||
16 | serde_json = "1.0.48" | 17 | serde_json = "1.0.48" |
17 | anyhow = "1.0.26" | 18 | anyhow = "1.0.26" |
18 | 19 | ||
19 | arena = { path = "../arena" } | 20 | arena = { path = "../arena", version = "0.0.0" } |
20 | cfg = { path = "../cfg" } | 21 | cfg = { path = "../cfg", version = "0.0.0" } |
21 | base_db = { path = "../base_db" } | 22 | base_db = { path = "../base_db", version = "0.0.0" } |
22 | toolchain = { path = "../toolchain" } | 23 | toolchain = { path = "../toolchain", version = "0.0.0" } |
23 | proc_macro_api = { path = "../proc_macro_api" } | 24 | proc_macro_api = { path = "../proc_macro_api", version = "0.0.0" } |
24 | paths = { path = "../paths" } | 25 | paths = { path = "../paths", version = "0.0.0" } |
25 | stdx = { path = "../stdx" } | 26 | stdx = { path = "../stdx", version = "0.0.0" } |
diff --git a/crates/rust-analyzer/Cargo.toml b/crates/rust-analyzer/Cargo.toml index 068a961dc..7e280b1f7 100644 --- a/crates/rust-analyzer/Cargo.toml +++ b/crates/rust-analyzer/Cargo.toml | |||
@@ -5,6 +5,7 @@ license = "MIT OR Apache-2.0" | |||
5 | authors = ["rust-analyzer developers"] | 5 | authors = ["rust-analyzer developers"] |
6 | autobins = false | 6 | autobins = false |
7 | edition = "2018" | 7 | edition = "2018" |
8 | publish = false | ||
8 | 9 | ||
9 | [lib] | 10 | [lib] |
10 | doctest = false | 11 | doctest = false |
diff --git a/crates/ssr/Cargo.toml b/crates/ssr/Cargo.toml index 22b6af0fa..6f0f53d70 100644 --- a/crates/ssr/Cargo.toml +++ b/crates/ssr/Cargo.toml | |||
@@ -14,12 +14,12 @@ doctest = false | |||
14 | rustc-hash = "1.1.0" | 14 | rustc-hash = "1.1.0" |
15 | itertools = "0.9.0" | 15 | itertools = "0.9.0" |
16 | 16 | ||
17 | text_edit = { path = "../text_edit" } | 17 | text_edit = { path = "../text_edit", version = "0.0.0" } |
18 | syntax = { path = "../syntax" } | 18 | syntax = { path = "../syntax", version = "0.0.0" } |
19 | base_db = { path = "../base_db" } | 19 | base_db = { path = "../base_db", version = "0.0.0" } |
20 | ide_db = { path = "../ide_db" } | 20 | ide_db = { path = "../ide_db", version = "0.0.0" } |
21 | hir = { path = "../hir" } | 21 | hir = { path = "../hir", version = "0.0.0" } |
22 | test_utils = { path = "../test_utils" } | 22 | test_utils = { path = "../test_utils", version = "0.0.0" } |
23 | 23 | ||
24 | [dev-dependencies] | 24 | [dev-dependencies] |
25 | expect-test = "0.1" | 25 | expect-test = "0.1" |
diff --git a/crates/stdx/Cargo.toml b/crates/stdx/Cargo.toml index b186b46f2..8d7a51156 100644 --- a/crates/stdx/Cargo.toml +++ b/crates/stdx/Cargo.toml | |||
@@ -1,6 +1,7 @@ | |||
1 | [package] | 1 | [package] |
2 | name = "stdx" | 2 | name = "stdx" |
3 | version = "0.0.0" | 3 | version = "0.0.0" |
4 | description = "TBD" | ||
4 | license = "MIT OR Apache-2.0" | 5 | license = "MIT OR Apache-2.0" |
5 | authors = ["rust-analyzer developers"] | 6 | authors = ["rust-analyzer developers"] |
6 | edition = "2018" | 7 | edition = "2018" |
diff --git a/crates/syntax/Cargo.toml b/crates/syntax/Cargo.toml index 6818f3ad8..2c1bdb295 100644 --- a/crates/syntax/Cargo.toml +++ b/crates/syntax/Cargo.toml | |||
@@ -23,9 +23,9 @@ once_cell = "1.3.1" | |||
23 | smol_str = { version = "0.1.15", features = ["serde"] } | 23 | smol_str = { version = "0.1.15", features = ["serde"] } |
24 | serde = { version = "1.0.106", features = ["derive"] } | 24 | serde = { version = "1.0.106", features = ["derive"] } |
25 | 25 | ||
26 | stdx = { path = "../stdx" } | 26 | stdx = { path = "../stdx", version = "0.0.0" } |
27 | text_edit = { path = "../text_edit" } | 27 | text_edit = { path = "../text_edit", version = "0.0.0" } |
28 | parser = { path = "../parser" } | 28 | parser = { path = "../parser", version = "0.0.0" } |
29 | 29 | ||
30 | [dev-dependencies] | 30 | [dev-dependencies] |
31 | walkdir = "2.3.1" | 31 | walkdir = "2.3.1" |
diff --git a/crates/test_utils/Cargo.toml b/crates/test_utils/Cargo.toml index 45e5fb97f..93eecc678 100644 --- a/crates/test_utils/Cargo.toml +++ b/crates/test_utils/Cargo.toml | |||
@@ -1,6 +1,7 @@ | |||
1 | [package] | 1 | [package] |
2 | name = "test_utils" | 2 | name = "test_utils" |
3 | version = "0.0.0" | 3 | version = "0.0.0" |
4 | description = "TBD" | ||
4 | license = "MIT OR Apache-2.0" | 5 | license = "MIT OR Apache-2.0" |
5 | authors = ["rust-analyzer developers"] | 6 | authors = ["rust-analyzer developers"] |
6 | edition = "2018" | 7 | edition = "2018" |
@@ -15,4 +16,4 @@ text-size = "1.0.0" | |||
15 | serde_json = "1.0.48" | 16 | serde_json = "1.0.48" |
16 | rustc-hash = "1.1.0" | 17 | rustc-hash = "1.1.0" |
17 | 18 | ||
18 | stdx = { path = "../stdx" } | 19 | stdx = { path = "../stdx", version = "0.0.0" } |
diff --git a/crates/text_edit/Cargo.toml b/crates/text_edit/Cargo.toml index a69b1ef2b..8aadc1875 100644 --- a/crates/text_edit/Cargo.toml +++ b/crates/text_edit/Cargo.toml | |||
@@ -1,6 +1,7 @@ | |||
1 | [package] | 1 | [package] |
2 | name = "text_edit" | 2 | name = "text_edit" |
3 | version = "0.0.0" | 3 | version = "0.0.0" |
4 | description = "TBD" | ||
4 | license = "MIT OR Apache-2.0" | 5 | license = "MIT OR Apache-2.0" |
5 | authors = ["rust-analyzer developers"] | 6 | authors = ["rust-analyzer developers"] |
6 | edition = "2018" | 7 | edition = "2018" |
diff --git a/crates/toolchain/Cargo.toml b/crates/toolchain/Cargo.toml index 4856668f8..dcf0bfca0 100644 --- a/crates/toolchain/Cargo.toml +++ b/crates/toolchain/Cargo.toml | |||
@@ -1,6 +1,7 @@ | |||
1 | [package] | 1 | [package] |
2 | name = "toolchain" | 2 | name = "toolchain" |
3 | version = "0.0.0" | 3 | version = "0.0.0" |
4 | description = "TBD" | ||
4 | license = "MIT OR Apache-2.0" | 5 | license = "MIT OR Apache-2.0" |
5 | authors = ["rust-analyzer developers"] | 6 | authors = ["rust-analyzer developers"] |
6 | edition = "2018" | 7 | edition = "2018" |
diff --git a/crates/tt/Cargo.toml b/crates/tt/Cargo.toml index dfcdcf03e..5b8972ea3 100644 --- a/crates/tt/Cargo.toml +++ b/crates/tt/Cargo.toml | |||
@@ -1,6 +1,7 @@ | |||
1 | [package] | 1 | [package] |
2 | name = "tt" | 2 | name = "tt" |
3 | version = "0.0.0" | 3 | version = "0.0.0" |
4 | description = "TBD" | ||
4 | license = "MIT OR Apache-2.0" | 5 | license = "MIT OR Apache-2.0" |
5 | authors = ["rust-analyzer developers"] | 6 | authors = ["rust-analyzer developers"] |
6 | edition = "2018" | 7 | edition = "2018" |
@@ -13,4 +14,4 @@ doctest = false | |||
13 | # to reduce number of compilations | 14 | # to reduce number of compilations |
14 | smol_str = { version = "0.1.15", features = ["serde"] } | 15 | smol_str = { version = "0.1.15", features = ["serde"] } |
15 | 16 | ||
16 | stdx = { path = "../stdx" } | 17 | stdx = { path = "../stdx", version = "0.0.0" } |
diff --git a/crates/vfs-notify/Cargo.toml b/crates/vfs-notify/Cargo.toml index c1e53f4b1..54b51faab 100644 --- a/crates/vfs-notify/Cargo.toml +++ b/crates/vfs-notify/Cargo.toml | |||
@@ -1,6 +1,7 @@ | |||
1 | [package] | 1 | [package] |
2 | name = "vfs-notify" | 2 | name = "vfs-notify" |
3 | version = "0.0.0" | 3 | version = "0.0.0" |
4 | description = "TBD" | ||
4 | license = "MIT OR Apache-2.0" | 5 | license = "MIT OR Apache-2.0" |
5 | authors = ["rust-analyzer developers"] | 6 | authors = ["rust-analyzer developers"] |
6 | edition = "2018" | 7 | edition = "2018" |
@@ -16,5 +17,5 @@ walkdir = "2.3.1" | |||
16 | crossbeam-channel = "0.4.0" | 17 | crossbeam-channel = "0.4.0" |
17 | notify = "5.0.0-pre.3" | 18 | notify = "5.0.0-pre.3" |
18 | 19 | ||
19 | vfs = { path = "../vfs" } | 20 | vfs = { path = "../vfs", version = "0.0.0" } |
20 | paths = { path = "../paths" } | 21 | paths = { path = "../paths", version = "0.0.0" } |
diff --git a/crates/vfs/Cargo.toml b/crates/vfs/Cargo.toml index 9ae8f19b6..c318a68f7 100644 --- a/crates/vfs/Cargo.toml +++ b/crates/vfs/Cargo.toml | |||
@@ -1,6 +1,7 @@ | |||
1 | [package] | 1 | [package] |
2 | name = "vfs" | 2 | name = "vfs" |
3 | version = "0.0.0" | 3 | version = "0.0.0" |
4 | description = "TBD" | ||
4 | license = "MIT OR Apache-2.0" | 5 | license = "MIT OR Apache-2.0" |
5 | authors = ["rust-analyzer developers"] | 6 | authors = ["rust-analyzer developers"] |
6 | edition = "2018" | 7 | edition = "2018" |
@@ -12,4 +13,4 @@ doctest = false | |||
12 | rustc-hash = "1.0" | 13 | rustc-hash = "1.0" |
13 | fst = "0.4" | 14 | fst = "0.4" |
14 | 15 | ||
15 | paths = { path = "../paths" } | 16 | paths = { path = "../paths", version = "0.0.0" } |