Skip to content

Commit 5378a5c

Browse files
authored
add cargo-dist (#1)
1 parent e6846da commit 5378a5c

File tree

3 files changed

+27
-5
lines changed

3 files changed

+27
-5
lines changed

.github/workflows/release.yml

+4
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,10 @@ jobs:
115115
- uses: actions/checkout@v4
116116
with:
117117
submodules: recursive
118+
- uses: swatinem/rust-cache@v2
119+
with:
120+
key: ${{ join(matrix.targets, '-') }}
121+
cache-provider: ${{ matrix.cache_provider }}
118122
- name: Install cargo-dist
119123
run: ${{ matrix.install_dist }}
120124
# Get the dist-manifest

Cargo.lock

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

Cargo.toml

+2-3
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,8 @@ license = false
1212
eula = false
1313
[dependencies]
1414
clap = { version = "4.5.8", features = ["cargo", "string"] }
15-
native-tls = "0.2.12"
16-
openssl = "0.10.64"
1715
tokio = { version = "1.38.0", features = ["full"] }
16+
tokio-native-tls = { version = "0.3.1", features = ["vendored"] }
1817

1918
# The profile that 'cargo dist' will build with
2019
[profile.dist]
@@ -32,6 +31,6 @@ targets = ["aarch64-apple-darwin", "x86_64-apple-darwin", "x86_64-unknown-linux-
3231
# CI backends to support
3332
ci = "github"
3433
# Publish jobs to run in CI
35-
pr-run-mode = "plan"
34+
pr-run-mode = "upload"
3635
# Whether to install an updater program
3736
install-updater = false

0 commit comments

Comments
 (0)