Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Result<(), E> from the API #16

Merged
merged 4 commits into from
May 9, 2024
Merged

Remove Result<(), E> from the API #16

merged 4 commits into from
May 9, 2024

Conversation

SolarLiner
Copy link
Owner

@SolarLiner SolarLiner commented May 6, 2024

Closes #11.

Description

Upgrading Kira to 0.9 meant that most of the fallible methods disappeared, which in turn automatically solved the issue.

Breaking changes

AudioFileHandle methods no longer return Results, error handling is therefore not required anymore.

@SolarLiner SolarLiner added Upstream Changes relate to upstream `kira` Breaking This issue or PR will introduce breaking changes in the API, and should trigger a new version. Refactor Changes in the internal code that does not have an effect from a user's perspective labels May 6, 2024
Copy link
Collaborator

@GitGhillie GitGhillie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some minor things, looking good otherwise

Cargo.toml Outdated Show resolved Hide resolved
src/backend.rs Outdated Show resolved Hide resolved
src/backend.rs Outdated Show resolved Hide resolved
src/sources/audio_file/mod.rs Outdated Show resolved Hide resolved
Copy link
Collaborator

@GitGhillie GitGhillie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not familiar with the NixOS stuff but otherwise lgtm

@SolarLiner
Copy link
Owner Author

Yeah I wanted to add the flake in another PR but ended up needing it for my laptop, so it's here. I'll merge it with it, but I also don't know the NixOS stuff, so I'm sure it's not optimal 😆

@SolarLiner SolarLiner merged commit 93e56f1 into main May 9, 2024
4 checks passed
@SolarLiner SolarLiner deleted the fix/06 branch May 9, 2024 07:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Breaking This issue or PR will introduce breaking changes in the API, and should trigger a new version. Refactor Changes in the internal code that does not have an effect from a user's perspective Upstream Changes relate to upstream `kira`
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Align error handling conventions on Bevy
2 participants