Repository navigation
Open
Description
There's a fair amount in flight right now, so here is the plan for what goes in which release.
I'll keep this updated as things land.
0.28
Released on 2026-11-28.
Kept small, no breaking changes apart from deinitialize.
-
AudioClient::new_default_device_client, a client that follows the default device (Add auto-routed default device clients #90) - More derives on
DisconnectReason(deriveHash#92) - Missing derives on the plain data types,
CloneforDevice,Debugfor the callback
structs (Add missing derives to plain data types #93) -
deinitializebecomesunsafe, first step of COM initialization maintenance is currently unsound #96 (Makedeinitializeunsafe #97) - Small additions (Add Display impls, session iterator and error source #99):
DisplayforTimingMode,DisconnectReason,StreamCategory,StreamOptionandWaveFormat- An iterator for
AudioSessionEnumerator DeviceCollectionIterwithout theunwrap, plusExactSizeIterator#[source]onWasapiError::RegisterNotifications
0.29
The big one, built on windows-core 0.101.
Everything is collected in #74, which goes into master once the list is done.
Ticked items are merged into that branch.
- Drop the
windowscrate forwindows-coreand generated bindings (Drop the windows crate, use windows-core and generated bindings #74, closes Consider moving away from the umbrella windows crates #73).
Nowindowstypes in the public API after this.
The publicFrom/TryFromimpls against Windows types go away,
andHandle::as_handle()is replaced byimpl AsRawHandle.
The MSRV stays at 1.85. -
SendandSyncfor the wrappers around agile COM objects (Make the wrappers around agile COM objectsSendandSync#103, closes Make the wrappers around agile COM objectsSendandSync#95).
DeviceandDeviceCollectionstay!Send.
The agility requirement is in the safety contracts of thefrom_rawconstructors. -
AudioClient::from_device_path, a client from a WinRT device id (Add AudioClient::from_device_path #94, closes Add support for WinRT #69) - Deprecate
initialize_mta,initialize_staanddeinitialize
in favour ofwindows_core::init_mta()andinit_sta(), second step of COM initialization maintenance is currently unsound #96.
After 0.29
- Remove the deprecated COM init helpers
Open
- Should activation (Add AudioClient::from_device_path #94) also return something that can be awaited?
The blocking call stays either way.
Activation takes well under a millisecond for a desktop app, so this is mostly for callers that
aren't allowed to block, like UI threads. - If so, should it be an
async fn, or a plain function that returns a Future?
Anasync fndoes nothing until it's first polled.
The activation call would then run on whichever executor thread polls it,
and that thread may not have COM initialised.
A plain function can start the activation right away on the calling thread
and return early errors as a normalResult.
The Future it hands back only waits for the result, and it can have a blockingwait()too.
Neither can cancel the activation, since Windows has no way to do that.
Dropping the Future just discards the result.
Metadata
Metadata
Assignees
Labels
No labels
Activity