Skip to content

[Bug]: Compiling with recent versions of Rust result in warnings about code that will be rejected in the future #17

@rcook

Description

@rcook

What happened?

Building this package with recent versions of Rust (e.g. rustc 1.80.1) reports the following warning:

warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint v0.1.44, num-complex v0.1.43, num-rational v0.1.42

This turns out to be caused by the package's dependency on an outdated version of unrar (link), i.e. version 0.4.4.

Upgrading to a more recent version such as unrar@0.5.6 should fix this warning.

What type of Operating System?

macOS, Linux, Windows, Other

Steps to produce this issue.

Check out and clone this package's repository:

$ rustup show
Default host: x86_64-pc-windows-msvc
rustup home:  [REDACTED]

stable-x86_64-pc-windows-msvc (default)
rustc 1.80.1 (3f5fd8dd4 2024-08-06)
$ git clone https://github.com/rusty-ferris-club/decompress.git
$ cd decompress
$ cargo build

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions