Skip to content

Commit 4f61c92

Browse files
committed
1 parent 1c8570b commit 4f61c92

File tree

5 files changed

+8
-2
lines changed

5 files changed

+8
-2
lines changed

Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,6 @@ members = [
44
"ndk",
55
"ndk-sys",
66
]
7+
8+
[patch.crates-io]
9+
jni = { git = "https://github.com/jni-rs/jni-rs" }

ndk-sys/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
- **Breaking:** Regenerate against NDK `25.2.9519653` with `rust-bindgen 0.66.0`. (#324, #370)
66
- Add `font`, `font_matcher`, `system_fonts` bindings. (#397)
77
- Add `sync` feature for linking against `libsync.so`. (#423)
8+
- **Breaking:** Bump `jni-sys` dependency to 0.4. (#433)
89

910
# 0.4.1 (2022-11-23)
1011

ndk-sys/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ repository = "https://github.com/rust-mobile/ndk"
1313
rust-version = "1.60"
1414

1515
[dependencies]
16-
jni-sys = "0.3.0"
16+
jni-sys = "0.4.0"
1717

1818
[features]
1919
test = []

ndk/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
- Add bindings for `ASharedMemory`. (#427)
3434
- hardware_buffer: Add `id()` to retrieve a system-wide unique identifier for a `HardwareBuffer`. (#428)
3535
- **Breaking:** bitmap: Strip `Android` prefix from structs and enums, and `Bitmap` from `Result`. (#430)
36+
- **Breaking:** Bump `jni-sys` dependency to `0.4` and `jni` to `0.22`. (#433)
3637
- **Breaking:** `raw-window-handle 0.5` support is now behind an _optional_ `rwh_05` crate feature and `raw-window-handle` `0.4` and `0.6` support is provided via the new `rwh_04` and (default-enabled) `rwh_06` crate features. (#434)
3738
- **Breaking:** looper: Provide `event` value to file descriptor poll callback. (#435)
3839
- **Breaking:** `HardwareBufferFormat` is no longer exported from `hardware_buffer` and `native_window`, and can only be reached through the `hardware_buffer_format` module. (#436)

ndk/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ test = ["ffi/test", "jni", "all"]
3535

3636
[dependencies]
3737
bitflags = "2.2"
38-
jni-sys = "0.3"
38+
jni-sys = "0.4"
3939
log = "0.4.6"
4040
num_enum = "0.7"
4141
rwh_04 = { package = "raw-window-handle", version = "0.4", optional = true }
@@ -44,6 +44,7 @@ rwh_06 = { package = "raw-window-handle", version = "0.6", optional = true }
4444
thiserror = "1.0.23"
4545

4646
[dependencies.jni]
47+
# version = "0.22"
4748
version = "0.21"
4849
optional = true
4950

0 commit comments

Comments
 (0)