bczhc / bzip3-rs

Rust wrapper for bzip3 compression library
GNU Lesser General Public License v3.0
1 stars 1 forks source link

Make the build script run in stable Rust - use option methods #7

Closed marcospb19 closed 1 year ago

marcospb19 commented 1 year ago

@freijon found a new blocker in https://github.com/ouch-org/ouch/pull/522: the build script now requires nightly.

I believe it is impossible to use version "0.8.1" from any project that uses the stable toolchain, which can be easily solvable by replacing the use of the try block with some Option methods.

Alternate version of #6.

bczhc commented 1 year ago

Ah yes, I chose another version because it seems to be more neat and direct to me, and it's closer to try_blocks pattern.