Skip to content

Commit 6543d0f

Browse files
Merge pull request #3 from malusev998/feat/check-and-download-command
Implementing check rust-analyzer version and download it
2 parents 2982242 + c71a5fb commit 6543d0f

22 files changed

+626
-234
lines changed

.github/workflows/miri.yaml

Lines changed: 0 additions & 29 deletions
This file was deleted.

.github/workflows/test.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,12 @@ jobs:
1717
steps:
1818
- name: Checkout
1919
uses: actions/checkout@v1
20-
20+
- name: 'Download rust-analyzer nightly'
21+
run: |
22+
wget -c -O /tmp/rust-analyzer.gz https://github.com/rust-lang/rust-analyzer/releases/download/nightly/rust-analyzer-x86_64-unknown-linux-gnu.gz
23+
gunzip /tmp/rust-analyzer.gz
24+
sudo mv /tmp/rust-analyzer /bin/rust-analyzer
25+
chmod +x /bin/rust-analyzer
2126
- name: Install Rust
2227
uses: actions-rs/toolchain@v1
2328
with:

Cargo.lock

Lines changed: 33 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
[package]
22
name = "rust-analyzer-downloader"
3-
version = "1.0.0"
3+
version = "2.0.0"
44
edition = "2021"
5-
5+
readme = "README.md"
6+
license = "Apache-2.0"
7+
keywords = ["rust-analyzer", "downloader", "cli-app"]
8+
authors = ["Dusan Malusev <dusan@dusanmalusev.dev>"]
9+
rust-version = "1.63"
610
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
711

812
[dependencies]
@@ -20,3 +24,16 @@ tracing-subscriber = { version = "0.3.15", features = ["parking_lot", "serde", "
2024
serde = { version = "1.0.143", features = ["derive"] }
2125
time = "0.3"
2226
async-trait = "0.1"
27+
futures = "0.3"
28+
29+
[profile.release]
30+
opt-level = 3
31+
debug = false
32+
strip = true
33+
debug-assertions = false
34+
overflow-checks = false
35+
lto = true
36+
panic = 'unwind'
37+
incremental = false
38+
codegen-units = 16
39+
rpath = true

src/cmd/command.rs

Lines changed: 0 additions & 18 deletions
This file was deleted.

src/cmd/get_versions.rs

Lines changed: 0 additions & 73 deletions
This file was deleted.

src/cmd/mod.rs

Lines changed: 0 additions & 64 deletions
This file was deleted.

0 commit comments

Comments
 (0)