-
Notifications
You must be signed in to change notification settings - Fork 654
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
lewton: handle OggError(NoCapturePatternFound) #123
Conversation
Yup, not possible without ogg package, tried earlier. Thanks for sorting this |
@est31 could you expose NoCapturePattern in lewton, so that we do not need to add ogg to handle it |
@awiouy great idea, will do! |
@awiouy see the 0.8.0 update of lewton, it includes a commit to expose the |
@est31 doesn't it need to be |
@sashahilton00 I've done a reexport here, not sure what you mean: https://docs.rs/lewton/0.8.0/src/lewton/lib.rs.html#97 |
@est31 apologies, should have phrased it better; it was intended as a question as opposed to correction, the reason for which is that I had a look at Anton's code then the ogg docs here: https://docs.rs/ogg/0.5.0/ogg/ and noticed that in Anton's code it was |
The ogg crate already reexports |
Got it, thanks for clarifying. Was just me being thick and not interpreting the docs correctly. |
Yes, there is a two layered export. Sadly it doesn't really show up as reexport in the lewton docs, but like a native enum of the lewton crate: https://docs.rs/lewton/0.8.0/lewton/ I've pushed a commit to fix this. The next version of lewton will display it as pub use. |
I would also rather update to 1.20.0 instead of pulling in more dependencies, though I have no idea how many people are on 1.18. Should ask in gitter. Anyone, please weigh in if you have a view. |
I'm going to leave this here for a day or so, so that anyone concerned about the version bump has the chance to weigh in. Also note to self: remember to update wiki if necessary. |
I'm fine with 1.20.0. That's 3 version behind latest stable, which is enough IMO. |
This fixes #88
I could not find a way to distinguish
NoCapturePatternFound
without addingogg