Skip to content

Commit 42039c1

Browse files
committed
Bump version and add binstall compat
1 parent 288fc39 commit 42039c1

3 files changed

Lines changed: 38 additions & 18 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
## Changelog
22

3-
### v4.0.0-beta.1 - 2025-07-28
3+
### v4.0.0-beta.2 - 2025-07-30
44

55
This version of `cargo-ndk` is much closer to a thin passthrough to `cargo` than previous versions. Please take note of the breaking changes.
66

77
It also introduces a new command, `cargo ndk-test`. This will push your tests to a device via adb and run them on-device. It currently has
88
a limitation that doctests can still only be run on the host.
99

10-
**New MSRV: 1.86**
10+
> [!IMPORTANT]
11+
> New MSRV: **1.86**
1112
1213
- **Breaking change**: Replaced gumdrop CLI parsing with clap. This is functionally equivalent but may cause some minor behavioral differences in edge cases
1314
- **Breaking change**: No longer strips build output by default, and `--no-strip` option is removed

Cargo.lock

Lines changed: 22 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cargo-ndk"
3-
version = "4.0.0-beta.1"
3+
version = "4.0.0-beta.2"
44
authors = ["Brendan Molloy <brendan@bbqsrc.net>"]
55
repository = "https://github.com/bbqsrc/cargo-ndk"
66
documentation = "https://docs.rs/cargo-ndk"
@@ -62,3 +62,15 @@ features = [
6262
"Win32_System_Threading",
6363
"Win32_System_JobObjects",
6464
]
65+
66+
[package.metadata.binstall]
67+
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-{ target }-v{ version }{ archive-suffix }"
68+
bin-dir = "{ name }-{ target }-v{ version }/{ bin }{ binary-ext }"
69+
pkg-fmt = "tgz"
70+
disabled-strategies = ["quick-install", "compile"]
71+
72+
[package.metadata.binstall.overrides.x86_64-pc-windows-msvc]
73+
pkg-fmt = "zip"
74+
75+
[package.metadata.binstall.overrides.aarch64-pc-windows-msvc]
76+
pkg-fmt = "zip"

0 commit comments

Comments
 (0)