Skip to content

Depends on old winapi: "the following packages contain code that will be rejected by a future version of rust" #110

@Christoph-AK

Description

@Christoph-AK

Hey there, thanks for the great library!

On compiling with ftp 3.0.1 I get the following error:


❯ cargo b -r --future-incompat-report
    Finished release [optimized] target(s) in 0.13s
warning: the following packages contain code that will be rejected by a future version of Rust: winapi v0.2.8
note: 
To solve this problem, you can try the following approaches:


- Some affected dependencies have newer versions available.
You may want to consider updating them to a newer version to see if the issue has been fixed.

winapi v0.2.8 has the following newer versions available: 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.3.6, 0.3.7, 0.3.8, 0.3.9


- If the issue is not solved by updating the dependencies, a fix has to be
implemented by those dependencies. You can help with that by notifying the
maintainers of this problem (e.g. by creating a bug report) or by proposing a
fix to the maintainers (e.g. by creating a pull request):

  - winapi@0.2.8
  - Repository: https://github.com/retep998/winapi-rs
  - Detailed warning command: `cargo report future-incompatibilities --id 14 --package winapi@0.2.8`

- If waiting for an upstream fix is not an option, you can use the `[patch]`
section in `Cargo.toml` to use your own version of the dependency. For more
information, see:
https://doc.rust-lang.org/cargo/reference/overriding-dependencies.html#the-patch-section

note: this report can be shown with `cargo report future-incompatibilities --id 14`

It seems like winapi is required by the following sequence:

ftp v3.0.1
└── regex v0.1.80
    └── thread_local v0.2.7
        └── thread-id v2.0.0
            └── kernel32-sys v0.2.2
                └── winapi v0.2.8

Is there any chance to update these? Maybe a regex update might already suffice, or we might need to pass it down.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions