servo / rust-url

URL parser for Rust
https://docs.rs/url/
Apache License 2.0
1.27k stars 317 forks source link

Upgrading url downgrades idna #947

Closed westy92 closed 2 weeks ago

westy92 commented 2 weeks ago

When running cargo update, I see:

% cargo update                            
    Updating crates.io index
     Locking 4 packages to latest compatible versions
 Downgrading idna v1.0.0 -> v0.5.0 (latest: v1.0.1)
      Adding unicode-bidi v0.3.15
      Adding unicode-normalization v0.1.23
    Updating url v2.5.1 -> v2.5.2
note: pass `--verbose` to see 48 unchanged dependencies behind latest

Instead, I would expect idna to update to 1.0.1.

% cargo tree --invert --package idna@0.5.0
idna v0.5.0
└── url v2.5.2
    ├── actix-web v4.7.0
    │   ├── actix-files v0.6.6
    │   │   └── hello-world v1.0.0 (/Users/user/Source/hello-world)
    │   ├── actix-web-httpauth v0.8.2
    │   │   └── hello-world v1.0.0 (/Users/user/Source/hello-world)
    │   └── hello-world v1.0.0 (/Users/user/Source/hello-world)
    ├── hello-world v1.0.0 (/Users/user/Source/hello-world)
    └── mysql_async v0.34.1
        └── hello-world v1.0.0 (/Users/user/Source/hello-world)
westy92 commented 2 weeks ago

This is working as expected per https://github.com/servo/rust-url/issues/937#issuecomment-2173237705.