Skip to content

Consolidate windows-sys versions #1705

Description

@fujiapple852

There are currently 5x different versions of windows-sys being used in trippy:

windows-sys@0.48.0
windows-sys@0.52.0
windows-sys@0.59.0
windows-sys@0.60.2
windows-sys@0.61.2

0.48.0

Version 0.48.0 is used by ipconfig from an outdated hickory-resolver:

windows-sys v0.48.0
├── ipconfig v0.3.2
│   └── hickory-resolver v0.24.4

Removing this is blocked on divesting the hickory-resolver crate.

0.52.0

Version 0.52.0 is the version used directly by Trippy and can be updated.

0.59.0

Version 0.59.0 is used by an outdated version of etcetera:

windows-sys v0.59.0
├── etcetera v0.10.0
├── home v0.5.11
│   └── etcetera v0.10.0 (*)

It is also used by an outdated version of mio / crossterm / ratatui:

windows-sys v0.59.0
├── mio v1.0.4
│   ├── crossterm v0.28.1
│   │   ├── ratatui v0.29.0

It is also used by an outdated version of rustix used by crossterm:

windows-sys v0.59.0
└── rustix v0.38.44
    └── crossterm v0.28.1 (*)

0.60.2

Version 0.60.2 is being used by several crates:

windows-sys v0.60.2
├── dns-lookup v3.0.1
windows-sys v0.60.2
├── socket2 v0.6.1
│   ├── dns-lookup v3.0.1 (*)
│   ├── tokio v1.48.0
│   │   ├── hickory-proto v0.24.4
│   │   │   └── hickory-resolver v0.24.4
windows-sys v0.60.2
── terminal_size v0.4.3
    └── clap_builder v4.5.53
        └── clap v4.5.53
            ├── clap-cargo v0.15.2

0.61.2

Version 0.61.2 is being used by several crates:

windows-sys v0.61.2
├── anstyle-query v1.1.5
│   └── anstream v0.6.21
│       └── clap_builder v4.5.53
│           └── clap v4.5.53
│               ├── clap-cargo v0.15.2
windows-sys v0.61.2
├── anstyle-wincon v3.0.11
│   └── anstream v0.6.21 (*)
windows-sys v0.61.2
├── errno v0.3.14
│   ├── rustix v0.38.44
│   │   └── crossterm v0.28.1
│   │       ├── ratatui v0.29.0
windows-sys v0.61.2
├── nu-ansi-term v0.50.3
│   └── tracing-subscriber v0.3.22
│       ├── tracing-chrome v0.7.2
windows-sys v0.61.2
├── rustix v1.1.2
windows-sys v0.61.2
└── tokio v1.48.0
    ├── hickory-proto v0.24.4
    │   └── hickory-resolver v0.24.4
    └── hickory-resolver v0.24.4

It is unclear what the target version should be or how feasible it will be to consolidate given the dependents. At a minimum, this is blocked on divesting hickory-resolver and upgrading ratatui and crossterm.

An more realistic interim goal is to reduce the distinct number of version from 5 to 3 by removing 0.48.0 and 0.52.0.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions