Update Rust crate ndk to 0.9 #228
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
major version
merge when passing
minor version
patch version
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Templates/Rust-Multi-Platform-Project!228
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "renovate/ndk-0.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
0.7->0.9Release Notes
rust-mobile/ndk (ndk)
v0.9.0: ndk v0.9.0Compare Source
MediaFormatfrommedia::media_codecto its ownmedia::media_formatmodule. (#442)MediaFormat::copy()andMediaFormat::clear()from API level 29. (#449)fn set_*()andfn str()as takingselfby&mut. (#452)dyn Fn*types to implementSendwhen the FFI implementation invokes them on a separate thread: (#455)audio::AudioStreamDataCallback;audio::AudioStreamErrorCallback;media::image_reader::BufferRemovedListener;media::image_reader::ImageListener;media::media_codec::ErrorCallback;media::media_codec::FormatChangedCallback;media::media_codec::InputAvailableCallback;media::media_codec::OutputAvailableCallback.Boxed callbacks after registering new ones, instead of before. (#455)from_java()constructor, available since API level 33. (#456)from_java()constructors toKeyEventandMotionEvent, available since API level 31. (#456)Image-acquire functions. (#457)ImageReader::acquire_latest_image_async()unsafeto match the safety requirements onImageReader::acquire_next_image_async(). (#457)SourceClassbitflagand provideSource::class()getter. (#458)bitflagsimplementations consider all (including unknown) bits in negation andall(). (#458)non_exhaustiveand fixreprtypes. (#459)TRANSFORM_prefix fromNativeWindowTransformvariants. (#460)HardwareBufferUsagetobitflags. (#461)BitmapCompressErrorbehind missingapi-level-30feature. (#462)libnativewindowfor most API >= 26 functions. (#465)AudioResultvariant enum intoAudioError. (#467)DataSpaceRange::Unspecifiedvariant. (#468)Sendmarker when adding fd event callbacks onForeignLooper. (#469)ndk-sys 0.6.0. (#472)v0.8.0: ndk v0.8.0Compare Source
tool_typegetter forPointer. (#323)pre_dispatch()again, as per documentation. (#325)raw-window-handle 0.5.1,num_enum'scatch_allwith arbitrary enum discriminants. (#388, #431)jnidependency for doctest example from0.19to0.21. (#390)ndk-sys 0.5.0. (#370)bitflagscrate from1to2. (#394)try_format()toAndroidBitmapInfoto handle unexpected formats without panicking. (#395)Fontbindings. (#397)num_enumcrate from0.5.1to0.7. (#398, #419)media" error types and helpers to a newmedia_errormodule. (#399, #432)MaybeUninitbytes inbuffer_mut(). (#403)lock()to blit raw pixel data. (#404)YCbCr_P010andR8_UNORMvariants. (#405)is_allocated()andopen_file_descriptor()methods. (#409)remove_fd()to unregister events/callbacks for a file descriptor. (#416)BorrowedFdandOwnedFdto clarify possible ownership transitions. (#417)ndk-sys 0.5.0. (#420)sync.h. (#423)AndroidBitmapInfoFlags. (#424)set_buffers_transform(),try_allocate_buffers()andset_frame_rate*(). (#425)ASharedMemory. (#427)id()to retrieve a system-wide unique identifier for aHardwareBuffer. (#428)Androidprefix from structs and enums, andBitmapfromResult. (#430)raw-window-handle 0.5support is now behind an optionalrwh_05crate feature andraw-window-handle0.4and0.6support is provided via the newrwh_04and (default-enabled)rwh_06crate features. (#434)eventvalue to file descriptor poll callback. (#435)HardwareBufferFormatis no longer exported fromhardware_bufferandnative_window, and can only be reached through thehardware_buffer_formatmodule. (#436)get_prefixes have been removed from all public functions in light of the C-GETTER convention. (#437)DataSpacetype and relevant functions onBitmapandNativeWindow. (#438)Bitmap::compress()andBitmap::compress_raw()functions. (#440)BitmapErrorinto anon_exhaustiveenum. (#440)AudioErrorResulttoAudioResultand turn into anon_exhaustiveenum. (#441)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.
Update Rust crate ndk to 0.9to fix(deps): update rust crate ndk to 0.9fix(deps): update rust crate ndk to 0.9to Update Rust crate ndk to 0.9