Skip to content

fix(workflows): add -W clippy::pedantic#8

Closed
cwtchan wants to merge 37 commits intopac-work:rust-bindingsfrom
cwtchan:rust-bindings
Closed

fix(workflows): add -W clippy::pedantic#8
cwtchan wants to merge 37 commits intopac-work:rust-bindingsfrom
cwtchan:rust-bindings

Conversation

@cwtchan
Copy link

@cwtchan cwtchan commented Sep 25, 2025

No description provided.

pac-work and others added 30 commits August 1, 2025 16:42
- The crate is supposed to serve as lower level bindings which higher
  level abstractions can be built upon.

Signed-off-by: Pavel Cernohorsky <pavel.cernohorsky@appear.net>
- This layer is supposed to more or less reflect the structure of the
  MXL library itself and should not yet use async.

Signed-off-by: Pavel Cernohorsky <pavel.cernohorsky@appear.net>
Signed-off-by: Pavel Cernohorsky <pavel.cernohorsky@appear.net>
Signed-off-by: Pavel Cernohorsky <pavel.cernohorsky@appear.net>
- Our unsafe code was way too unsafe :)

Signed-off-by: Pavel Cernohorsky <pavel.cernohorsky@appear.net>
- Need to free up the name GrainWriter for future chages - there will be
  a GrainWriter and a SamplesWriter, analogically to how MXL
  distinguishes access to "discrete" and "continuous" flows.

Signed-off-by: Pavel Cernohorsky <pavel.cernohorsky@appear.net>
- Added grain writer and a skeleton for samples writer.

Signed-off-by: Pavel Cernohorsky <pavel.cernohorsky@appear.net>
Signed-off-by: Pavel Cernohorsky <pavel.cernohorsky@appear.net>
- Added grain reader and a skeleton for samples reader.

Signed-off-by: Pavel Cernohorsky <pavel.cernohorsky@appear.net>
Signed-off-by: Pavel Cernohorsky <pavel.cernohorsky@appear.net>
Signed-off-by: Pavel Cernohorsky <pavel.cernohorsky@appear.net>
- Currently MXL library generates a header file with it's version during
  the build process. This header file is not strictly needed for the
  Rust bindings at the moment, as it contains just constants
  representing the library version.
- Adding a feature flag, which allows skipping this file and thus
  referencing MXL Rust bindings from other projects just directly from
  GitHub, without the need to locally build the MXL repo or even "worse"
  building the MXL repo fully together with bindings.

Signed-off-by: Pavel Cernohorsky <pavel.cernohorsky@appear.net>
pac-work and others added 7 commits August 1, 2025 16:46
- This is useful when one wants to construct different readers and
  writers from different threads.

Signed-off-by: Pavel Cernohorsky <pavel.cernohorsky@appear.net>
- Will simplify use of those in async contexts, especially as long as we
  do not have proper async interface.

Signed-off-by: Pavel Cernohorsky <pavel.cernohorsky@appear.net>
Signed-off-by: Chris Chan <chris.chan@techex.co.uk>
Signed-off-by: Chris Chan <chris.chan@techex.co.uk>
Signed-off-by: Chris Chan <chris.chan@techex.co.uk>
@cwtchan cwtchan closed this Sep 25, 2025
@cwtchan cwtchan deleted the rust-bindings branch September 25, 2025 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants